Skip to content

Releases: img-mapper/react-img-mapper

New Alpha Release

23 Dec 17:58
Compare
Choose a tag to compare
New Alpha Release Pre-release
Pre-release
  1. Wrote a library from scratch
  2. Converted non-controllable manner to a controllable manner
  3. Typescript Reformatted

Breaking Changes

  • 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-alpha.0

Fully Compatible with Next.js

13 Feb 20:16
Compare
Choose a tag to compare
  1. Fully Compatible with Next.js

  2. Added class names for highlighted areas

    • The highlighted area will have img-mapper-area-highlighted class name in their area tag.
  3. Removed the previously highlighted area when you click on the new highlighted area when stayHighlighted is applied. (#53)

  4. Area JSON preFillColor will not remove when the toggleHighlighted property is applied.

  5. Fixed infinity coords issue. (#42)

  6. Fixed canvas height and width issue. (#43)

  7. Upgrade to React V18 Peer Dep.

Partially Compatible with Next.js

05 Mar 22:32
Compare
Choose a tag to compare
V1.4

next.js onLoad problem fixed

Compatible with CommonJS

12 Jul 17:57
Compare
Choose a tag to compare
V1.2

Compatible with Next.js

Added Some Properties

28 Mar 22:07
Compare
Choose a tag to compare
  1. Added Disabled Property in Area
  2. Added Disabled and Active Properties In JSON Area

Built in Typescript

20 Mar 19:37
Compare
Choose a tag to compare
  1. Convert Project in Typescript

Shifted to Organization

13 Feb 08:44
Compare
Choose a tag to compare
  1. Shifted to organization
  2. Removed Documentation from the package and shifted to another repo
  3. Added every property & method example with the code in documentation

Storybook Documentation added

22 Jan 23:43
Compare
Choose a tag to compare
  1. Documentation added
  2. Bugs fixed

Responsive Image Mapper

21 Jan 21:34
Compare
Choose a tag to compare
  1. Added highlighted map after clicking on the image.
  2. Added a responsive image mapper.
  3. Added Image Reference in Width, Height, and onLoad function to access image properties.
  4. Added rerenderProps prop.

Babel and Natural Prop

09 Jan 20:09
Compare
Choose a tag to compare
  1. Added Natural Dimensions options ( For Network Image )
  2. Added Babel & ESLint in the example folder, for better formatting and creating compiled files