Components release
Installable registry source under registry/tfl/. This is not a docs-site tag — see web-v0.6.0 for the web app.
Requires tfl-ts ^2.9.0 (the registry now pins it). Bare tfl-ts resolved 2.6.2 and failed typecheck.
Summary
Cycle Hire, a MapLibre geographic map, colour tokens, and arrivals that follow how TfL shares platforms and track. A consumer install from the registry now typechecks and includes every helper the boards import.
What's new
- Cycle Hire Docks — map + detail surfaces over normalised dock data
tfl-geographic-map— MapLibre default. Passdata, or serve unique-track GeoJSON at/data/geography/{mode}-geometry.json(not inlined in the registry JSON; copy from this repo’spublic/data/geography/)tfl-colourstokensplatform-chipandbus-number-chip- Bus stop disruptions on the bus arrivals board
- Shared-platform grouping, Circle / H&C / Metropolitan shared-track identity, destination text that keeps
currentLocationwhen TfL sends a placeholder, bound-group compass order, and pagination so every serving line stays on the board
Install
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/tube-status-board.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/rail-arrivals-board.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/bus-arrivals-board.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/cycle-hire-docks.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/line-strip.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/tfl-roundel.json
pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/tfl-geographic-map.jsonFixes in this tag
- Registry payloads include
lib/tfl/arrivals-destination-text.ts - Bus disruption prep renamed to
prepare-bus-stop-disruptions.tsso the shadcn CLI does not collide it with the component of the same basename tfl-geographic-mapdeclares@types/geojson- Arrivals pager clamps the page index without an impure
setStateupdater
Google Maps and Mapbox adapters are optional and not part of the default geographic-map install.