Change8

interaction@0.3.0

Breaking Changes
📦 remixView on GitHub →
1 breaking🐛 3 fixes🔧 2 symbols

Summary

This release introduces a breaking change by removing Tab key interactions and includes several fixes for event handling, specifically regarding TypedEventTarget exports and SVG type inference.

⚠️ Breaking Changes

  • Removed the `Tab` key interaction. Keyboard navigation or focus management relying on this specific key binding will no longer function.

Migration Steps

  1. Update codebases relying on the `Tab` key interaction to use alternative focus management or custom key listeners.
  2. Ensure imports of `TypedEventTarget` are updated if they previously relied on it being a type-only export.

🐛 Bug Fixes

  • Key interactions are now scoped to only apply to their own specific key.
  • Exported `TypedEventTarget` as a value/class instead of just a type interface.
  • Improved event type inference for SVG elements.

🔧 Affected Symbols

TypedEventTargetSVGElement