Skip to content

v0.7.0

Choose a tag to compare

@ghcpuman902 ghcpuman902 released this 23 Aug 23:06
· 8 commits to main since this release

Components release

Installable registry source under registry/tfl/. This is not a docs-site tag — see web-v0.8.0 for the web app.

Requires tfl-ts ^2.11.0.

Summary

A fresh shadcn install of the Get started board now typechecks in Next.js and Vite. Arrivals leftover tiles only paint status that affects this stop.

What's new

  • Rail leftover tiles and empty-row chips for stop-relevant status
  • Successful empty arrivals resolve to ended / no service instead of “no information”
  • Registry payloads include the helpers boards actually import
  • Roundel env reads work without @types/node
  • Tube status header links no longer import next/link

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/river-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/tfl-bus-geo-map.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

Verified in a Vercel Sandbox: Next.js (Server Action snippet) and Vite (React tab snippet) both installed rail-arrivals-board, typechecked, and built. Live Oxford Circus arrivals returned rows with the repo TfL key.