@the-portland-company/shell 0.97.1 → 0.98.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 CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.98.0
2
+
3
+ The one VRM Verified badge (Contacts v59 §4, decided 2026-11-05, Ben: "Every badge is the brand `verifiedIcon`, drawn by one shared shell component"; Data-System/VRM-Verified v7 §2, §2.6).
4
+
5
+ - **New `VrmVerifiedBadge`** (on `.` and `./native`): `tier` (`verified | identified | anonymous | stale | inactive | null`), `size`, `showLabel`. Verified draws the Brand `assets.verifiedIcon` read at runtime from the token sheet (`--asset-verified-icon`), never a bundled copy; until the sheet loads its box is reserved and nothing stands in. Other tiers draw a dot (colour from `--vrm-tier-<tier>`, defaults as the apps draw them today per Contacts §4.1) and the tier name. The Verified tooltip is the spec's sentence, "Politogy has confirmed this is a real, registered voter."; no tooltip suggests permission to text or email. Also exports `VRM_VERIFIED_TOOLTIP`, `VRM_TIER_LABELS`, types `VrmVerifiedTier`, `VrmVerifiedBadgeProps`.
6
+ - **New `useBrandAsset(kind)`** and `BrandAssetKind` gains `'verified-icon'`.
7
+ - Tier dot colours per VRM-Verified v8 (decided 2026-11-05, Ben): Identified purple, Anonymous black, Stale yellow, Inactive gray; Verified is the brand badge. They are CSS variables (`--vrm-tier-<tier>`).
8
+ - Tests: `__tests__/vrmVerifiedBadge.test.tsx` (new).
9
+
1
10
  ## 0.97.1
2
11
 
3
12
  Two left-bar and top-bar fixes (Ben 2026-11-05, typed in the UI debugging box; specs updated with his go).