@the-portland-company/shell 0.102.0 → 0.102.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/CHANGELOG.md +8 -0
- package/dist/app-chrome.cjs +1 -1
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.js +3 -3
- package/dist/{chunk-XF6OL7DT.js → chunk-HR2TBHHH.js} +3 -3
- package/dist/{chunk-XF6OL7DT.js.map → chunk-HR2TBHHH.js.map} +1 -1
- package/dist/{chunk-NL56CK4X.js → chunk-PR5QBA7S.js} +3 -3
- package/dist/{chunk-NL56CK4X.js.map → chunk-PR5QBA7S.js.map} +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/native.cjs +1 -1
- package/dist/native.cjs.map +1 -1
- package/dist/native.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.102.1
|
|
2
|
+
|
|
3
|
+
The Credits tooltip's gauges stay inside the tooltip (bug seen live 2026-11-15, Ben: "the credits tooltip has gauges extending past the container").
|
|
4
|
+
|
|
5
|
+
- **Cause.** The shared top-bar tooltip is at most `max-w-56` (224px) with `px-3` padding, so it has 200px for content. The Credits tooltip's content was a fixed `w-56` (224px), so its gauges ran 24px past the content edge and 12px past the tooltip's own edge.
|
|
6
|
+
- **Fix.** The Credits tooltip content is `w-full min-w-48`: it fills the 200px content box, and short lines no longer shrink the gauges. Checked in a browser: the gauges are 200px wide (192px when every line is short) and stay inside the padding.
|
|
7
|
+
- Tests: `__tests__/chromeActions.test.tsx` checks the content has no fixed width wider than the tooltip.
|
|
8
|
+
|
|
1
9
|
## 0.102.0
|
|
2
10
|
|
|
3
11
|
Linked Accounts in the chrome (live test 2026-11-15 of county party ↔ campaign links; Organization Settings §8.8, Parent workspace plan row 9).
|
package/dist/app-chrome.cjs
CHANGED
|
@@ -1167,7 +1167,7 @@ function CreditRow({
|
|
|
1167
1167
|
] });
|
|
1168
1168
|
}
|
|
1169
1169
|
function CreditsTooltip({ fuel }) {
|
|
1170
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex w-
|
|
1170
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex w-full min-w-48 flex-col gap-1.5", "data-testid": "credits-tooltip", children: CREDIT_TYPE_ORDER.map((type) => {
|
|
1171
1171
|
const channel = fuel ? fuel[type] ?? null : null;
|
|
1172
1172
|
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-col gap-0.5", children: [
|
|
1173
1173
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: creditTooltipLine(type, channel) }),
|