@the-portland-company/shell 0.18.0 → 0.18.1
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.css +15 -0
- package/dist/native.cjs +23 -12
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +8 -3
- package/dist/native.d.ts +8 -3
- package/dist/native.js +23 -12
- package/dist/native.js.map +1 -1
- package/package.json +1 -1
package/dist/chrome.css
CHANGED
|
@@ -393,3 +393,18 @@
|
|
|
393
393
|
.topbar-widget-slot > div > button:first-of-type > span {
|
|
394
394
|
position: static;
|
|
395
395
|
}
|
|
396
|
+
|
|
397
|
+
/* The dark-theme text remap above targets the widget POPOVER content; the
|
|
398
|
+
LAUNCHER glyph must keep the universal icon color (it was picking up the
|
|
399
|
+
foreground remap and rendering white/full-opacity vs its siblings). More
|
|
400
|
+
specific than the [class*=] remaps, declared after them. */
|
|
401
|
+
.dark .topbar-widget-slot > button,
|
|
402
|
+
.dark .topbar-widget-slot > div > button:first-of-type,
|
|
403
|
+
.dark .topbar-widget-slot > span > button:first-of-type {
|
|
404
|
+
color: var(--topbar-icon-color, var(--muted));
|
|
405
|
+
}
|
|
406
|
+
.dark .topbar-widget-slot > button:hover,
|
|
407
|
+
.dark .topbar-widget-slot > div > button:first-of-type:hover,
|
|
408
|
+
.dark .topbar-widget-slot > span > button:first-of-type:hover {
|
|
409
|
+
color: var(--topbar-icon-hover-color, var(--foreground));
|
|
410
|
+
}
|
package/dist/native.cjs
CHANGED
|
@@ -970,7 +970,14 @@ function NavSidebar({
|
|
|
970
970
|
children: org.logoUrl ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: org.logoUrl, alt: "", className: "h-full w-full object-cover" }) : (org.name ?? "Org").slice(0, 2).toUpperCase()
|
|
971
971
|
}
|
|
972
972
|
),
|
|
973
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
973
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
974
|
+
"span",
|
|
975
|
+
{
|
|
976
|
+
title: org.name ?? void 0,
|
|
977
|
+
className: "truncate text-sm font-semibold",
|
|
978
|
+
children: org.name ?? "No organizations"
|
|
979
|
+
}
|
|
980
|
+
)
|
|
974
981
|
] }),
|
|
975
982
|
/* @__PURE__ */ jsxRuntime.jsx(ChevronDown, {})
|
|
976
983
|
] }),
|
|
@@ -998,7 +1005,7 @@ function NavSidebar({
|
|
|
998
1005
|
children: o.logoUrl ? /* @__PURE__ */ jsxRuntime.jsx("img", { src: o.logoUrl, alt: "", className: "h-full w-full object-cover" }) : (o.name ?? "Org").slice(0, 2).toUpperCase()
|
|
999
1006
|
}
|
|
1000
1007
|
),
|
|
1001
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: o.name ?? o.id.slice(0, 8) })
|
|
1008
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { title: o.name ?? o.id, className: "truncate", children: o.name ?? o.id.slice(0, 8) })
|
|
1002
1009
|
]
|
|
1003
1010
|
},
|
|
1004
1011
|
o.id
|
|
@@ -1082,12 +1089,12 @@ function NavSidebar({
|
|
|
1082
1089
|
"a",
|
|
1083
1090
|
{
|
|
1084
1091
|
href: safeHref(l.href),
|
|
1085
|
-
className: "font-medium text-[color:var(--
|
|
1092
|
+
className: "font-medium text-[color:var(--foreground)] opacity-80 hover:opacity-100 hover:underline",
|
|
1086
1093
|
children: l.label
|
|
1087
1094
|
}
|
|
1088
1095
|
)
|
|
1089
1096
|
] }, l.label)) }) : null,
|
|
1090
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1.5 flex flex-col items-center gap-0.5 font-[family-name:var(--font-plex-mono)] text-[10px] text-[color:var(--muted)]", children: [
|
|
1097
|
+
footer.envLabel ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-1.5 flex flex-col items-center gap-0.5 font-[family-name:var(--font-plex-mono)] text-[10px] text-[color:var(--muted)]", children: [
|
|
1091
1098
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1092
1099
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1093
1100
|
"span",
|
|
@@ -1099,13 +1106,17 @@ function NavSidebar({
|
|
|
1099
1106
|
children: footer.envLabel
|
|
1100
1107
|
}
|
|
1101
1108
|
),
|
|
1102
|
-
/* @__PURE__ */ jsxRuntime.
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
+
footer.commit ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1110
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
|
|
1111
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commit.slice(-4) })
|
|
1112
|
+
] }) : null,
|
|
1113
|
+
footer.version ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1114
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }),
|
|
1115
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { children: [
|
|
1116
|
+
"v",
|
|
1117
|
+
footer.version
|
|
1118
|
+
] })
|
|
1119
|
+
] }) : null
|
|
1109
1120
|
] }),
|
|
1110
1121
|
footer.commitDate || footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
1111
1122
|
footer.commitDate ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: new Date(footer.commitDate).toLocaleDateString(void 0, {
|
|
@@ -1115,7 +1126,7 @@ function NavSidebar({
|
|
|
1115
1126
|
footer.commitDate && footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-[color:var(--muted)]", children: "|" }) : null,
|
|
1116
1127
|
footer.commitAuthor ? /* @__PURE__ */ jsxRuntime.jsx("span", { children: footer.commitAuthor.split(/\s+/)[0] }) : null
|
|
1117
1128
|
] }) : null
|
|
1118
|
-
] })
|
|
1129
|
+
] }) : null
|
|
1119
1130
|
] }) : null
|
|
1120
1131
|
] });
|
|
1121
1132
|
}
|