Skip to content

fix(deps): update dependency react-medium-image-zoom to v5 - #268

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-medium-image-zoom-5.x
Open

fix(deps): update dependency react-medium-image-zoom to v5#268
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/react-medium-image-zoom-5.x

Conversation

@renovate

@renovate renovate Bot commented Aug 3, 2022

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
react-medium-image-zoom 4.4.35.4.9 age confidence

Release Notes

rpearce/react-medium-image-zoom (react-medium-image-zoom)

v5.4.9

Compare Source

Patch Changes
  • a05d79d: build with TypeScript 7
  • a05d79d: replace Dependabot with Renovate for dependency updates
  • a05d79d: upgrade dev dependencies, including storybook 10.5.5 and react 19.2.8
  • a05d79d: stop publishing test files in dist/ — the build's exclude pattern only matched .ts, so controlled.test.tsx was compiled into the published package
  • a05d79d: replace eslint and prettier with oxlint and oxfmt

v5.4.8

Compare Source

Patch Changes
  • e5503b2: remove invalid aria-owns usage

v5.4.7

Compare Source

Patch Changes
  • bf0424c: fix: opening or closing a zoom no longer shifts the page's scroll position, so scroll-driven UI (sticky/condensing headers, scroll-spies, scroll-triggered animations) no longer fires as though the user scrolled #​1085

v5.4.6

Compare Source

Patch Changes
  • 56789a4: fix: restore scroll position instantly on unzoom so pages with scroll-behavior: smooth no longer animate from the top of the document back to the previous position #​1085

v5.4.5

Compare Source

Patch Changes
  • baed043: fix: "Zoom/pan becomes erratic when page height exceeds viewport (Safari iOS)" #​1060

v5.4.4

Compare Source

Patch Changes
  • 7a50f4a: Update contributing documentation
  • ae3ed4d: change internal ModalState from enum to union type
  • 8b02794: add VSCode settings and recommendations
  • 400dba3: fix "Using Controlled zoom & ZoomContent at the same time breaks" (#​448)
  • 7edc384: move icons into the controlled component (only usage)
  • d63fcc7: Remove old and incorrect Dockerfile in favor of pnpm and nvm
  • 296fa58: rename source/ directory to src/
  • 1da6a9f: use snakecase filenames over CamelCase
  • 33de39f: set project node version to 24 (latest LTS)
  • cfc2a2c: refactor and test utils for efficiency and clarity
  • e90ecdb: set pnpm cooldown for (dev) dependencies and leverage pnpm-workspace.yaml
  • 7f30732: Fix "Mirror effect on zoomed image - transform: scaleX(-100%) doesn't work" (#​363)
  • af59874: Remove nix dev setup
  • 1da6a9f: add component tests

v5.4.3

Compare Source

Patch Changes

v5.4.2

Compare Source

Patch Changes
  • c9e1560: fix "An empty string was passed to the src attribute" (#​925)
  • d698488: add more TS strictness via eslint-config-love

v5.4.1

Compare Source

Patch Changes
  • b8a6851: switch from Rollup to plain tsc output

v5.4.0

Compare Source

Minor Changes
  • 8d950e4: Add support for onZoomChange reporting to Uncontrolled components and include additional argument housing the fired event
Patch Changes
  • 855bc02: ensure open modal has pointer-events to fix 3rd party probs

v5.3.0

Compare Source

Minor Changes
  • b54ea57: Added isDisabled prop; provided isZoomImgLoaded for ZoomContent

v5.2.14

Compare Source

Patch Changes
  • d59b9f1: fix crossorigin images not loading when copied

v5.2.13

Compare Source

Patch Changes
  • 330cd40: fix zooming inside a parent dialog that has a close handler

v5.2.12

Compare Source

Patch Changes
  • 63388a8: support react@​19 and credit edlerd

v5.2.11

Compare Source

Patch Changes
  • b647071: fixes zooming inside a dialog with click outside behavior

v5.2.10

Compare Source

Patch Changes
  • 44473b3: include 'use client' directive in esm output

v5.2.9

Compare Source

Patch Changes
  • 868d0e1: fix unzooming getting stuck in Safari

v5.2.8

Compare Source

Fixed
  • Safari: Zoomable images make the body extend beyond the content (#​627)

v5.2.7

Compare Source

Fixed
  • flickering after unzooming (#​631)

v5.2.6

Compare Source

Fixed
  • img SVGs with no dimensions not scaling (#​629)

v5.2.5

Compare Source

Fixed
  • Zooming effect breaks when images is clicked while scrolling (#​439)

v5.2.4

Compare Source

Fixed
  • SVG arrows with text disappeared on Zoom (#​438, continued again)
    • Note: This is a vexing issue due to all the possible things that can go
      wrong with cloning an SVG element that has HTML IDs inside of it. Hopefully,
      this is the last fix for this issue.

v5.2.3

Compare Source

Fixed
  • SVG arrows with text disappeared on Zoom (#​438, continued)

v5.2.2

Compare Source

Fixed
  • Accidental non-dev dependency on @storybook/test when this lib should have
    zero non-dev dependencies (PR: #​563)

v5.2.1

Compare Source

Patch Changes
  • d59b9f1: fix crossorigin images not loading when copied

v5.2.0

Compare Source

Added
  • canSwipeToUnzoom and swipeToUnzoomThreshold props
    (#​472, #​510)

v5.1.11

Compare Source

Fixed
  • Improve iOS pinch-to-zoom experience (#​436)

v5.1.10

Compare Source

Fixed
  • When I deploy to Vercel / Next 13 and I change routes to a page I get
    "DOMException: Failed to execute 'showModal' on 'HTMLDialogElement': The
    element is not in a Document." (#​429)

v5.1.9

Compare Source

Fixed
  • SVG arrows with text disappeared on Zoom (#​438)

v5.1.8

Compare Source

Fixed
  • Fixes for the zoom behaviour and overlay height in iOS Safari (#​434)

v5.1.7

Compare Source

Fixed
  • Esc to exit zoom doesn't work on Safari (#​430)

v5.1.6

Compare Source

Fixed
  • Pressing back button in browser after zooming an image breaks body scroll (#​421)

v5.1.5

Compare Source

Fixed
  • Possibly broke zooming divs where role="img" (#​412)

v5.1.4

Compare Source

Fixed
  • Older browser versions querySelector error (#​391)
  • Cannot read properties of undefined (reading 'left') with Zoom Component and
    React SVG Component in Docusaurus (#​406)
  • Warning: NaN is an invalid value for the width css style property. (#​375)

v5.1.3

Compare Source

Fixed
  • Image has already been loaded (#​389)

v5.1.2

Compare Source

Fixed
  • Image is hidden when pressing escape during hiding animation (issue #​378)

v5.1.1

Compare Source

Fixed
  • Improve iOS pinch-to-zoom experience (#​436)

v5.1.0

Compare Source

Added
  • Ability to customize the zoom modal content via <ZoomContent> (issue #​332)
  • Re-added wrapElement prop to API; only supports 'div' | 'span' (issue #​356)
  • Added a11y support for prefers-reduced-motion: reduce (issue #​359)
  • Added classDialog string prop to account for the loss of granular styling
    control over different modals resulting from moving the <dialog> rendering
    to a portal
Changed
  • Now rendering <dialog> in a portal because of #​356
    • For the folx using .my-class [data-rmiz-modal] {} to change the <dialog>
      styles, please use the classDialog prop to pass my-class to the
      <dialog>. I wish I didn't have to do this, but this is something that
      needs fixing, and I can't justify a new major version just because of this
      new style requirement. The classDialog addition (mentioned above) should
      solve this nicely.
Fixed
  • Now using the wheel event instead of scroll to detect trying to leave the
    modal (issue #​350)
  • Fixed mobile scrolling experience (related to issue #​350)
Removed
  • Removed the broken scrollableEl that has arguably not ever worked (issue #​350)

v5.0.3

Compare Source

Fixed
  • Missing class properties transform (#​337) (potential issue versions of node
    older than LTS)

v5.0.2

Compare Source

Fixed
  • Not working with gatsby image plugin (StaticImage) (#​347)

v5.0.1

Compare Source

Fixed

v5.0.0

Compare Source

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

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Aug 3, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
giuem-com Error Error Aug 12, 2026 3:34am

@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from daba0ac to 9f9e374 Compare August 3, 2022 17:06
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 9f9e374 to 1b6f453 Compare August 3, 2022 17:13
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 1b6f453 to fb20e4b Compare August 3, 2022 17:24
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from fb20e4b to e1dcae0 Compare August 5, 2022 05:42
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from e1dcae0 to 6d3d7b3 Compare August 7, 2022 13:23
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 6d3d7b3 to 342f7a5 Compare August 8, 2022 15:59
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 342f7a5 to c2db83e Compare August 8, 2022 21:50
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from c2db83e to a9a2520 Compare August 10, 2022 00:15
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from a9a2520 to 536aeb0 Compare August 12, 2022 12:36
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 536aeb0 to 0e1ad09 Compare August 14, 2022 05:25
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 0e1ad09 to eb6c11b Compare August 15, 2022 21:14
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from eb6c11b to a50cc57 Compare August 15, 2022 21:24
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from a50cc57 to 30280a1 Compare August 19, 2022 22:43
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 30280a1 to d380c80 Compare August 20, 2022 03:02
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 3efd215 to 21cdfda Compare August 30, 2022 12:21
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 21cdfda to 31b4710 Compare August 30, 2022 12:31
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 31b4710 to d2d031a Compare August 30, 2022 12:51
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from d2d031a to 8299a8f Compare August 30, 2022 12:59
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 8299a8f to 3f64df7 Compare August 30, 2022 13:10
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 3f64df7 to b6cb14d Compare August 30, 2022 13:20
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from b6cb14d to 7e17197 Compare August 30, 2022 13:29
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 7e17197 to b7cc887 Compare August 30, 2022 15:05
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from b7cc887 to 0eadead Compare August 30, 2022 15:13
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 0eadead to d7ecfda Compare August 30, 2022 18:45
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from d7ecfda to ad1aa43 Compare August 30, 2022 18:54
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from ad1aa43 to d0b9cfc Compare September 1, 2022 20:35
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from d0b9cfc to c8ce953 Compare September 3, 2022 01:50
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from c8ce953 to 830ed88 Compare September 5, 2022 20:40
@renovate
renovate Bot force-pushed the renovate/react-medium-image-zoom-5.x branch from 830ed88 to fb1c356 Compare September 5, 2022 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants