@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/chrome.d.mts
CHANGED
package/dist/chrome.d.ts
CHANGED
package/dist/chrome.js
CHANGED
|
@@ -1017,7 +1017,11 @@ function OcAccountMenu(props) {
|
|
|
1017
1017
|
// context (oc-www) can opt in incrementally.
|
|
1018
1018
|
roster: session.roster,
|
|
1019
1019
|
switchAccount: session.switchAccount,
|
|
1020
|
-
addAccountUrl: session.addAccountUrl
|
|
1020
|
+
addAccountUrl: session.addAccountUrl,
|
|
1021
|
+
// Structural read keeps the auth-client peer floor at
|
|
1022
|
+
// ^2.17.0 — `tabPinned` ships in 2.18.0 and is simply
|
|
1023
|
+
// undefined (no hint) on older providers.
|
|
1024
|
+
tabPinned: session.tabPinned
|
|
1021
1025
|
}
|
|
1022
1026
|
}
|
|
1023
1027
|
);
|
|
@@ -1046,7 +1050,8 @@ function OcAccountMenuView({
|
|
|
1046
1050
|
setDisplayIdentity,
|
|
1047
1051
|
roster,
|
|
1048
1052
|
switchAccount,
|
|
1049
|
-
addAccountUrl
|
|
1053
|
+
addAccountUrl,
|
|
1054
|
+
tabPinned
|
|
1050
1055
|
} = session;
|
|
1051
1056
|
const [hydrated, setHydrated] = React.useState(false);
|
|
1052
1057
|
const [open, setOpen] = React.useState(false);
|
|
@@ -1155,7 +1160,19 @@ function OcAccountMenuView({
|
|
|
1155
1160
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border border-b p-3", children: [
|
|
1156
1161
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-primary mb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
1157
1162
|
"\xA7 signed in \xB7 ",
|
|
1158
|
-
hostname
|
|
1163
|
+
hostname,
|
|
1164
|
+
tabPinned ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1165
|
+
"span",
|
|
1166
|
+
{
|
|
1167
|
+
className: "text-muted-foreground/70 normal-case",
|
|
1168
|
+
"data-oc-account-menu-tab-pin": "",
|
|
1169
|
+
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
1170
|
+
children: [
|
|
1171
|
+
" ",
|
|
1172
|
+
"\xB7 this tab"
|
|
1173
|
+
]
|
|
1174
|
+
}
|
|
1175
|
+
) : null
|
|
1159
1176
|
] }),
|
|
1160
1177
|
/* @__PURE__ */ jsxRuntime.jsx(CopyableDid, { did: account.didOc }),
|
|
1161
1178
|
displayName ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground/80 mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|