Pure helpers and a hook for page / all-matching selection with hidden-row accounting, plus snapshot-based undo.
pnpm dlx shadcn@latest add "https://keyline-ui.dev/r/selection.json"