@the-portland-company/shell 0.102.3 → 0.103.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/CHANGELOG.md +7 -0
- package/dist/app-chrome.cjs +2 -2
- package/dist/app-chrome.cjs.map +1 -1
- package/dist/app-chrome.d.cts +1 -1
- package/dist/app-chrome.d.ts +1 -1
- package/dist/app-chrome.js +2 -2
- package/dist/{chunk-PR5QBA7S.js → chunk-KI5P6QKQ.js} +4 -4
- package/dist/chunk-KI5P6QKQ.js.map +1 -0
- package/dist/{index-BTYiaHqq.d.ts → index-ND_BS0nl.d.ts} +0 -1
- package/dist/{index-DTFEH6Tk.d.cts → index-lk2Ad_Q0.d.cts} +0 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/native.cjs +2 -2
- package/dist/native.cjs.map +1 -1
- package/dist/native.d.cts +1 -1
- package/dist/native.d.ts +1 -1
- package/dist/native.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-PR5QBA7S.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## 0.103.0
|
|
2
|
+
|
|
3
|
+
There are no subscription levels (Pricing & Metering §4/§14; tiers removed everywhere 2026-11-17, Ben).
|
|
4
|
+
|
|
5
|
+
- **`NavUser.tier` removed.** The top bar and account menu no longer show "tier · role" under the user's name; they show the email, else the role, else "member", as before. Contacts' `/api/me` stopped returning `tier` (politogy-contacts#481) and the apps stopped passing it.
|
|
6
|
+
- **Breaking (type only):** an app that still passes `tier` in its `NavUser` object gets a TypeScript excess-property error on upgrade. Drop the key.
|
|
7
|
+
|
|
1
8
|
## 0.102.3
|
|
2
9
|
|
|
3
10
|
No app code change. Release lane fix only: the Publish workflow's last step ("Verify the published version resolves") now waits up to 10 minutes for npm to list the new version, instead of 2. npm has been taking 97-188 s to list a version since 2026-11-14, so releases 0.101.0-0.102.1 showed a false red although they were on npm. The step still fails, and prints npm's answer, when a version truly never appears.
|
package/dist/app-chrome.cjs
CHANGED
|
@@ -3027,7 +3027,7 @@ function NavTopBar({
|
|
|
3027
3027
|
const hasRealName = rawName.length > 0 && !rawName.includes("@");
|
|
3028
3028
|
const displayName = hasRealName ? formatFirstLast(rawName) : user?.email ?? "Signed in";
|
|
3029
3029
|
const initials = (hasRealName ? rawName : user?.email ?? "P").slice(0, 2).toUpperCase();
|
|
3030
|
-
const secondary = hasRealName ? user?.email ||
|
|
3030
|
+
const secondary = hasRealName ? user?.email || user?.role || "member" : user?.role || "member";
|
|
3031
3031
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-20", children: [
|
|
3032
3032
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: "flex min-w-0 h-[var(--topbar-height,60px)] items-center justify-between gap-[8px] md:gap-[14px] border-b border-[color:var(--line)] bg-[color:var(--panel)] px-[var(--topbar-padding-x,20px)]", children: [
|
|
3033
3033
|
onOpenNav ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3288,7 +3288,7 @@ function NavSidebarUserCard({
|
|
|
3288
3288
|
const hasRealName = rawName.length > 0 && !rawName.includes("@");
|
|
3289
3289
|
const displayName = hasRealName ? shortUserName(rawName) : user.email ?? "Signed in";
|
|
3290
3290
|
const initials = hasRealName ? rawName.split(/\s+/).filter(Boolean).slice(0, 2).map((w) => w[0]).join("").toUpperCase() : (user.email ?? "P").slice(0, 2).toUpperCase();
|
|
3291
|
-
const secondary = hasRealName ? user.email ||
|
|
3291
|
+
const secondary = hasRealName ? user.email || user.role || "member" : user.role || "member";
|
|
3292
3292
|
const rc = useRailCollapse();
|
|
3293
3293
|
return /* @__PURE__ */ jsxRuntime.jsxs("details", { "data-nav-details": true, className: "group/acct relative", children: [
|
|
3294
3294
|
/* @__PURE__ */ jsxRuntime.jsxs(
|