Skip to content

Releases: rpearce/react-medium-image-zoom

v5.0.0

03 Aug 03:35
df06121
Compare
Choose a tag to compare

[5.0.0] - 2022-08-03

Closes #164, #166, #213, #227, #259, #265, #281, #282

Added

Changed

  • Sets "type": "module" in package.json for ESModule usage
  • Renamed closeText to a11yNameButtonUnzoom
  • Renamed openText to a11yNameButtonZoom
  • Images must meet these querySelector criteria to be found:
    ':is(img, svg, [role="img"], [data-zoom]):not([aria-hidden="true"])'

Removed

  • Removed focus-options-polyfill dependency
  • Removed tslib dependency
  • Removed overlayBgColorStart (now specified via CSS: [data-rmiz-modal-overlay="hidden"])
  • Removed overlayBgColorEnd (now specified via CSS: [data-rmiz-modal-overlay="visible"])
  • Removed portalEl
  • Removed transitionDuration (now specified via CSS: [data-rmiz-modal-overlay] and [data-rmiz-modal-img])
  • Removed wrapElement
  • Removed wrapStyle
  • Removed zoomZIndex

v4.4.3

24 May 01:38
11f2543
Compare
Choose a tag to compare

[4.4.3] - 2022-05-23

Fixed

  • Reverts setting "type": "module" in package.json (issue: #322)

v4.4.2

23 May 03:19
0b4b418
Compare
Choose a tag to compare

[4.4.2] - 2022-05-22

Fixed

  • Fixes some docs badges

v4.4.1

23 May 03:07
8c535a1
Compare
Choose a tag to compare

[4.4.1] - 2022-05-22

Changed

  • Switched project name back to react-medium-image-zoom and fixed links
  • I'm not even sure it was working, but turned off sourceMaps: true in the
    tsconfig
  • Moved AUTHORS file into contributors key in package.json
  • Added funding info to package.json

v4.4.0

13 May 13:58
d6fc78c
Compare
Choose a tag to compare

[4.4.0] - 2022-05-13

Changed

  • Bumped minor version of tslib and made sure to actually use it (#306)
  • Adds an aria-label to the modal to satisfy axe-core; note that this is
    still not an accessible component. It will be eventually! (#306)

Removed

  • Removed dependency on react-use (#306)

v4.3.7

10 Apr 03:01
50e83e9
Compare
Choose a tag to compare

[4.3.7] - 2022-04-09

Fixed

  • Fix Incompatible types with types/react v18 (#302)

[4.3.6] - 2022-04-04

Fixed

  • Allow React 18 (#300)

v4.3.5

26 Aug 02:21
d4319f2
Compare
Choose a tag to compare

[4.3.5] - 2021-08-25

Fixed

  • Fix not exporting component props (#287)

v4.3.3

28 Mar 02:38
47dd849
Compare
Choose a tag to compare

[4.3.3] - 2021-03-27

Fixed

  • fixed old links to /react-medium-image-zoom/ to /image-zoom/

v4.3.2

28 Mar 02:17
037db85
Compare
Choose a tag to compare

[4.3.2] - 2021-03-27

Changed

  • react and react-dom peerDependencies moved from >= 16.8.0 to ^16.8.0 || ^17.0.0
  • upgraded react-use

Fixed

  • set all dependencies to use compatibility ^ selectors

v4.3.0

11 Mar 17:50
0d656b2
Compare
Choose a tag to compare

[4.3.0] - 2020-03-11

Added

  • support for passing a wrapElement (defaults to div)

Fixed

  • adding wrapElement support resolves div vs span issue #236 (thanks to
    @sunknudsen)