Skip to content

v1.3.0

Choose a tag to compare

@HeiCg HeiCg released this 05 Mar 03:00
· 11 commits to main since this release

DX Improvements, Visual Feedback & Robustness

Documentation

  • Add 3 missing props to README props table (copyOnKeyboard, projectRoot, showActiveIndicator)
  • Expand theming section with lightTheme + theme override semantics
  • JSDoc on all Props interfaces for IDE intellisense (hover to see docs)
  • Document secondaryModifier rationale and ThemeConfig override pattern
  • CLI help expanded with detailed descriptions, examples, and --version flag

DX Improvements

  • Crosshair cursor when selection mode is active (hold & toggle modes)
  • First-time hint toast on activation ("Alt+Click to grab | Alt+? for help"), once per session
  • Alt+? help overlay listing all SvelteGrab keyboard shortcuts
  • Actionable error messages — "no component found" now includes element tag and guidance
  • Expanded "disabled" message — lists possible causes (production build, Svelte 4, SSR-only)
  • Better dependency error messages (html-to-image, Claude Code SDK)

Features

  • CLI init supports Vite+Svelte projects (detects vite.config + src/App.svelte)
  • CLI init --dry-run flag to preview changes without writing
  • Auto-port selection for relay and MCP servers — if preferred port is in use, automatically tries next available

Robustness

  • Warn on multiple <SvelteGrab /> / <SvelteDevKit /> instances
  • Smarter detectProjectRoot() with /src/routes/ SvelteKit pattern and import.meta.env.BASE_URL fallback