· v0.2.0
ZoomImage and event API consistency
Introduced ZoomImage and aligned callback names with React conventions.
Added
Introduced the initial ZoomImage component for opening images in an enlarged view. The component keeps the source image in context while the enlarged presentation is open, so users can inspect media without leaving the current page.
Fixed
Switch forwards inputAttributes.onChange when an explicit onChange prop is not provided. ZoomImage guards against invalid image dimensions.
Breaking changes
Public event callbacks now use on* names instead of handle*, matching React conventions and making event props easier to discover in TypeScript. Update affected component props when upgrading.
Before → after
<Switch handleChange={onChange} />
<Switch onChange={onChange} />