Component libraryChangelog block
Changelog block
ProA grouped product changelog with native dates, typed change records, controlled version filters, and controlled release details.
npx shadcn@latest add @tidal-pro/changelog-blockInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/changelog-block.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
title and consumer-owned releases are required. Each release has a stable id, version, title, native publishedAt/dateLabel, typed added|improved|fixed|removed changes, and optional summary, details, details-button props/ref, and native release link. Each change has a stable id, kind, title, optional description, and optional native href/link props/ref; an explicit empty href remains an anchor. Optional filters accept stable ids, ReactNode labels/counts, native button props/refs, activeFilter and onFilterChange. Without the callback, filter labels render statically. expandedReleaseIds and onExpandedChange form a controlled disclosure contract; without the callback, supplied details stay visible without a false control. Optional localized labels, heading levels, eyebrow, description, headerAction, emptyMessage and motionKey remain consumer-owned. The section forwards native attributes/ref. Native handlers run before higher callbacks and preventDefault suppresses the higher action. Controls are44px, long content wraps, logical layout supports RTL, entrance/detail motion is finite, and reduced motion is static. Consumers own filtering, expansion, navigation, data, effects and replay state. The component performs no request, storage, timer, routing, analytics or release mutation.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.