The original AC required drag-to-select; the MVP shipped with click-only. This adds pointer-driven range selection while preserving keyboard access: - Pointer events (pointerdown / pointerenter / pointerup) drive the drag. Pointer capture on pointerdown so the cursor leaving the bar still produces drag-end events. Live preview class `in-drag-preview` highlights the spanning bars while dragging; the URL/list refetch only fires on pointerup (Felix R3). - Click handler kept for keyboard activation (Enter/Space on focused bar). A `suppressClick` flag prevents the synthesized click after a mouse pointerup from double-emitting. - Drag from later → earlier still emits ascending boundaries (drag direction doesn't matter). - Existing single-click keyboard selection unchanged. 4 new component tests cover the drag paths plus the live-preview class. Existing 13 tests (single click, year mode, clear, visibility) still green. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.