@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/index.mjs
CHANGED
|
@@ -3325,7 +3325,11 @@ function OcAccountMenu(props) {
|
|
|
3325
3325
|
// context (oc-www) can opt in incrementally.
|
|
3326
3326
|
roster: session.roster,
|
|
3327
3327
|
switchAccount: session.switchAccount,
|
|
3328
|
-
addAccountUrl: session.addAccountUrl
|
|
3328
|
+
addAccountUrl: session.addAccountUrl,
|
|
3329
|
+
// Structural read keeps the auth-client peer floor at
|
|
3330
|
+
// ^2.17.0 — `tabPinned` ships in 2.18.0 and is simply
|
|
3331
|
+
// undefined (no hint) on older providers.
|
|
3332
|
+
tabPinned: session.tabPinned
|
|
3329
3333
|
}
|
|
3330
3334
|
}
|
|
3331
3335
|
);
|
|
@@ -3354,7 +3358,8 @@ function OcAccountMenuView({
|
|
|
3354
3358
|
setDisplayIdentity,
|
|
3355
3359
|
roster,
|
|
3356
3360
|
switchAccount,
|
|
3357
|
-
addAccountUrl
|
|
3361
|
+
addAccountUrl,
|
|
3362
|
+
tabPinned
|
|
3358
3363
|
} = session;
|
|
3359
3364
|
const [hydrated, setHydrated] = useState(false);
|
|
3360
3365
|
const [open, setOpen] = useState(false);
|
|
@@ -3463,7 +3468,19 @@ function OcAccountMenuView({
|
|
|
3463
3468
|
/* @__PURE__ */ jsxs("div", { className: "border-border border-b p-3", children: [
|
|
3464
3469
|
/* @__PURE__ */ jsxs("div", { className: "text-primary mb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
3465
3470
|
"\xA7 signed in \xB7 ",
|
|
3466
|
-
hostname
|
|
3471
|
+
hostname,
|
|
3472
|
+
tabPinned ? /* @__PURE__ */ jsxs(
|
|
3473
|
+
"span",
|
|
3474
|
+
{
|
|
3475
|
+
className: "text-muted-foreground/70 normal-case",
|
|
3476
|
+
"data-oc-account-menu-tab-pin": "",
|
|
3477
|
+
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
3478
|
+
children: [
|
|
3479
|
+
" ",
|
|
3480
|
+
"\xB7 this tab"
|
|
3481
|
+
]
|
|
3482
|
+
}
|
|
3483
|
+
) : null
|
|
3467
3484
|
] }),
|
|
3468
3485
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
3469
3486
|
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground/80 mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|