Files
CarmenDou 1ea817f8f8 fix(ui): scroll on a moved row, test Calendar, drop the lockfile noise
The scroll effect keyed on `selected` alone, so options arriving late or
reordered left the selected row offscreen — the selection had not
changed, only its position. It keys on the row's index too. Not on
`options`: that array's identity changes every render for any caller
building the list inline, which would bring back the repeated scrolling
the effect was introduced to stop.

Calendar gains the tests it shipped without. They pin the contract this
wrapper actually owns and that a react-day-picker bump could break
quietly: the month renders, a day click reports the right date, the
`selected` classNames land on the gridcell our `[&>button]` reaches
through, and the nav still drives the month, which keeps the Chevron
override wired up.

The lockfile also carried 25 stripped `"peer": true` entries across the
optional @rollup/rollup-* platform packages — noise from regenerating it
under npm 11.11 when the repo pins npm@11.3.0. Regenerated with the
pinned version; the diff is now only the two intended dependencies and
what they pull in.
2026-08-17 22:43:33 -07:00
..