@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.js
CHANGED
|
@@ -3360,7 +3360,11 @@ function OcAccountMenu(props) {
|
|
|
3360
3360
|
// context (oc-www) can opt in incrementally.
|
|
3361
3361
|
roster: session.roster,
|
|
3362
3362
|
switchAccount: session.switchAccount,
|
|
3363
|
-
addAccountUrl: session.addAccountUrl
|
|
3363
|
+
addAccountUrl: session.addAccountUrl,
|
|
3364
|
+
// Structural read keeps the auth-client peer floor at
|
|
3365
|
+
// ^2.17.0 — `tabPinned` ships in 2.18.0 and is simply
|
|
3366
|
+
// undefined (no hint) on older providers.
|
|
3367
|
+
tabPinned: session.tabPinned
|
|
3364
3368
|
}
|
|
3365
3369
|
}
|
|
3366
3370
|
);
|
|
@@ -3389,7 +3393,8 @@ function OcAccountMenuView({
|
|
|
3389
3393
|
setDisplayIdentity,
|
|
3390
3394
|
roster,
|
|
3391
3395
|
switchAccount,
|
|
3392
|
-
addAccountUrl
|
|
3396
|
+
addAccountUrl,
|
|
3397
|
+
tabPinned
|
|
3393
3398
|
} = session;
|
|
3394
3399
|
const [hydrated, setHydrated] = React2.useState(false);
|
|
3395
3400
|
const [open, setOpen] = React2.useState(false);
|
|
@@ -3498,7 +3503,19 @@ function OcAccountMenuView({
|
|
|
3498
3503
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-3", children: [
|
|
3499
3504
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-primary mb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
3500
3505
|
"\xA7 signed in \xB7 ",
|
|
3501
|
-
hostname
|
|
3506
|
+
hostname,
|
|
3507
|
+
tabPinned ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3508
|
+
"span",
|
|
3509
|
+
{
|
|
3510
|
+
className: "text-muted-foreground/70 normal-case",
|
|
3511
|
+
"data-oc-account-menu-tab-pin": "",
|
|
3512
|
+
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
3513
|
+
children: [
|
|
3514
|
+
" ",
|
|
3515
|
+
"\xB7 this tab"
|
|
3516
|
+
]
|
|
3517
|
+
}
|
|
3518
|
+
) : null
|
|
3502
3519
|
] }),
|
|
3503
3520
|
/* @__PURE__ */ jsxRuntime.jsx(CopyableDid, { did: account.didOc }),
|
|
3504
3521
|
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground/80 mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|