@the-portland-company/shell 0.97.1 → 0.99.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 +18 -0
- 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 +4 -4
- package/dist/brand-favicon.cjs.map +1 -1
- package/dist/brand-favicon.js +1 -1
- package/dist/{chunk-XPTC47TY.js → chunk-PQQLCUNO.js} +255 -3
- package/dist/chunk-PQQLCUNO.js.map +1 -0
- package/dist/{chunk-BMR5WAWH.js → chunk-Q5DTPY5N.js} +26 -3
- package/dist/chunk-Q5DTPY5N.js.map +1 -0
- package/dist/{chunk-5IRZD6GF.js → chunk-YMCWLO2L.js} +3 -3
- package/dist/{chunk-5IRZD6GF.js.map → chunk-YMCWLO2L.js.map} +1 -1
- package/dist/{index-SHcw15A4.d.cts → index-DhrhpBVm.d.cts} +49 -1
- package/dist/{index-smsLP_tM.d.ts → index-Di9AyVsU.d.ts} +49 -1
- package/dist/index.cjs +301 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/native.cjs +313 -30
- 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 +3 -3
- package/package.json +1 -1
- package/dist/chunk-BMR5WAWH.js.map +0 -1
- package/dist/chunk-XPTC47TY.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 0.99.0
|
|
2
|
+
|
|
3
|
+
VRM Verified badge and the Contact Card slide-in (Ben 2026-11-06, typed in the UI debugging box; specs Contacts §4.2, §8.6A and VRM-Verified §2 updated with his go).
|
|
4
|
+
|
|
5
|
+
- **Verified in a pill is a green dot.** `VrmVerifiedBadge` (pill, the default) draws Verified like the other tiers: a dot (`--vrm-tier-verified`, fallback `#00A651`) and the words "VRM Verified". Ben: "where it is in a pill… it should just be a green dot and remain in the pill".
|
|
6
|
+
- **New `variant="icon"`** for a contact view's name line: the Brand `verifiedIcon` alone (no words, no pill, `role="img"`, label "VRM Verified", the VRM Verified tooltip), placed before the first letter of the first name. It renders nothing for any other tier.
|
|
7
|
+
- **New `ContactSlideIn` + `useContactSlideIn`** (on `.` and `./native`): the Contact Card slides in from the right over the current page, matching Contacts' own drawer (40% overlay, right panel up to 672px, "Contact Card" header, close button, Esc and overlay click close), with an "Open in Contacts" link. It frames Contacts' chrome-less card view `/contacts/embed/<uvp id>?org=<org>`. Helpers `contactEmbedUrl`, `contactPageUrl`, `CONTACTS_ORIGIN`. Contacts §8: the Card opens as a slide-in "anywhere a contact reference appears".
|
|
8
|
+
- Tests: `__tests__/vrmVerifiedBadge.test.tsx` (pill dot, icon variant), `__tests__/contactSlideIn.test.tsx` (new).
|
|
9
|
+
|
|
10
|
+
## 0.98.0
|
|
11
|
+
|
|
12
|
+
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).
|
|
13
|
+
|
|
14
|
+
- **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`.
|
|
15
|
+
- **New `useBrandAsset(kind)`** and `BrandAssetKind` gains `'verified-icon'`.
|
|
16
|
+
- 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>`).
|
|
17
|
+
- Tests: `__tests__/vrmVerifiedBadge.test.tsx` (new).
|
|
18
|
+
|
|
1
19
|
## 0.97.1
|
|
2
20
|
|
|
3
21
|
Two left-bar and top-bar fixes (Ben 2026-11-05, typed in the UI debugging box; specs updated with his go).
|