Pure helpers and a hook for page / all-matching selection with hidden-row accounting, plus snapshot-based undo.
npx shadcn@latest add @keyline-ui/selection
selection