Skip to content

V2.0.0

Latest
Compare
Choose a tag to compare
@NishargShah NishargShah released this 25 Jan 20:05
  1. Wrote a library from scratch
  2. React 19 upgrade added
  3. Converted non-controllable manner to a controllable manner
  4. Typescript Reformatted
  5. New Utilities files added
  6. Removed yarn and added pnpm

Breaking Changes

  • map.name prop changed to name.
  • map.areas prop changed to areas.
  • containerRef prop removed, you can directly use ref instead.
  • stayHighlighted prop changed to isMulti: false.
  • stayMultiHighlighted prop changed to isMulti: true.
  • toggleHighlighted prop changed to toggle: true.
  • rerenderProps prop removed.
  • clearHighlightedArea method removed.
  • Typescript types are changed
    • MapAreas changed to MapArea
    • CustomArea changed to Area

Fixed Issues

Full Changelog: V1.5...v2.0.0