shadcn.io is not affiliated with official shadcn/ui
Release Range Comparison Changelog Block for Solid
A split with two release selects, a count of what changed between them as New, Improved, Fixed and Breaking, and the releases in the range as an ordered list.
Installation
Overview
A release range for Solid with Ark UI, written for Rangewise, a fictional release-notes tool. A split behind a divider that runs from the spine's top rule. At the start a header whose title names the range ("What changed between v3.6.0 and v4.0.0"), two selects (From and To) and under them four counts on shared hairlines (New, Improved, Fixed, Breaking), each an icon, a word and a number added up from the releases in the range. At the end the releases themselves as an ordered list, newest first, each with its version, its day and a chip for every kind of change it holds. Choosing a release recomputes everything. It's built from Select, Badge and Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For upgrade guides and release pages. The releases are example data.
FAQ
How do I change the releases?
Edit RELEASES at the top of the file, newest first: a version, a day and how many changes of each kind it holds. The range, the four counts, the list and the selects' options are all computed from it.
Which releases does a range include?
Everything after the From release, up to and including the To release. Going from v3.6.0 to v4.0.0 adds up v3.6.1 and every release since, but not v3.6.0 itself, because you already have it.
What if I choose a To that comes before From?
The other select moves to keep the range in order, and a polite line under the selects says which one moved and to what. From never offers the newest release and To never offers the oldest, so a range always holds at least one release.
Does the block change size when the range changes?
No. The list sits over an unseen copy of the longest range, so the block keeps its height whatever you choose.