@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.mjs
CHANGED
|
@@ -992,7 +992,11 @@ function OcAccountMenu(props) {
|
|
|
992
992
|
// context (oc-www) can opt in incrementally.
|
|
993
993
|
roster: session.roster,
|
|
994
994
|
switchAccount: session.switchAccount,
|
|
995
|
-
addAccountUrl: session.addAccountUrl
|
|
995
|
+
addAccountUrl: session.addAccountUrl,
|
|
996
|
+
// Structural read keeps the auth-client peer floor at
|
|
997
|
+
// ^2.17.0 — `tabPinned` ships in 2.18.0 and is simply
|
|
998
|
+
// undefined (no hint) on older providers.
|
|
999
|
+
tabPinned: session.tabPinned
|
|
996
1000
|
}
|
|
997
1001
|
}
|
|
998
1002
|
);
|
|
@@ -1021,7 +1025,8 @@ function OcAccountMenuView({
|
|
|
1021
1025
|
setDisplayIdentity,
|
|
1022
1026
|
roster,
|
|
1023
1027
|
switchAccount,
|
|
1024
|
-
addAccountUrl
|
|
1028
|
+
addAccountUrl,
|
|
1029
|
+
tabPinned
|
|
1025
1030
|
} = session;
|
|
1026
1031
|
const [hydrated, setHydrated] = useState(false);
|
|
1027
1032
|
const [open, setOpen] = useState(false);
|
|
@@ -1130,7 +1135,19 @@ function OcAccountMenuView({
|
|
|
1130
1135
|
/* @__PURE__ */ jsxs("div", { className: "border-border border-b p-3", children: [
|
|
1131
1136
|
/* @__PURE__ */ jsxs("div", { className: "text-primary mb-1 font-mono text-[10px] tracking-widest uppercase", children: [
|
|
1132
1137
|
"\xA7 signed in \xB7 ",
|
|
1133
|
-
hostname
|
|
1138
|
+
hostname,
|
|
1139
|
+
tabPinned ? /* @__PURE__ */ jsxs(
|
|
1140
|
+
"span",
|
|
1141
|
+
{
|
|
1142
|
+
className: "text-muted-foreground/70 normal-case",
|
|
1143
|
+
"data-oc-account-menu-tab-pin": "",
|
|
1144
|
+
title: "This tab keeps this account even if you switch accounts in another tab",
|
|
1145
|
+
children: [
|
|
1146
|
+
" ",
|
|
1147
|
+
"\xB7 this tab"
|
|
1148
|
+
]
|
|
1149
|
+
}
|
|
1150
|
+
) : null
|
|
1134
1151
|
] }),
|
|
1135
1152
|
/* @__PURE__ */ jsx(CopyableDid, { did: account.didOc }),
|
|
1136
1153
|
displayName ? /* @__PURE__ */ jsx("div", { className: "text-muted-foreground/80 mt-1 font-mono text-[10px] tracking-wide", children: displayName }) : null
|