Rev 3 matchup chips: TeamChip primitive + board-row team context

Design Rev 3 anchors every matchup/context abbr with a 10-12px team tile. New
reusable TeamChip renders the real TeamLogo (licensed ESPN logo where it
resolves, team-colored monogram otherwise — the resolver is already built) at
that size + the abbr, sitting inside the row so it inherits the ranked opacity
ramp. First placement: StatStrip's player/team context (name → team-chip →
archetype). ROW-GRAMMAR identity-run test updated to the chip marker.

Remaining Rev 3 placements to thread TeamChip into (reusable, mechanical):
parlay legs, grade-shift header, pitcher "vs", /u recent-settled, other
matchup context lines. Game-card headers already carry TeamLogo (TeamLink).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Kev
2026-07-16 21:27:47 -04:00
parent 771d8b0ba4
commit f24f9412f1
4 changed files with 42 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ describe('ROW-GRAMMAR §2 — canonical prop-row slot order (snapshot mode)', ()
expect(base).toBeGreaterThan(-1);
assertOrder(strip, [
'<PlayerName',
'{team}</span>',
'<TeamChip team={team}', // Rev 3 — team chip anchors the abbr
'<ArchetypeBadge archetype={archetype.primary}',
'<ViabilityChips lineup={lineup} injury={injury} />',
], base);