Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency react-resizable to v3 #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 7, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
react-resizable ^1.7.5 -> ^3.0.0 age adoption passing confidence

Release Notes

react-grid-layout/react-resizable (react-resizable)

v3.0.5

Compare Source

  • 🐛 Bugfix: Make width and height conditionally required if an axis is set. See #​196
  • ✏ Chore: Minor dependency upgrades.
  • ✏ Chore: Fix documentation of onResize callback arity.

v3.0.4

Compare Source

  • 🐛 Bugfix: Fix incorrect fix for handleAxis on DOM elements. #​175
  • ✏ Chore:Upgrade dependencies.

v3.0.3

Compare Source

  • 🐛 Bugfix: Remove unknown prop handleAxis making it to DOM elements, causing a warning in dev.
  • ✏ Chore: Rewrote lockAspectRatio logic to be more accurate and shorter.

v3.0.2

Compare Source

  • ✏ Chore: Add documentation for resize handles and fix a mistake where the handleAxis prop was not being passed to custom components.

v3.0.1

Compare Source

  • ✏ Chore: Reduce package size through .npmignore.

v3.0.0

Compare Source

Breaking
  • 🐛 Bugfix: Fixed handling of the nodeRef that needs to be passed to <DraggableCore> to avoid use of ReactDOM. This means that vanilla usage of react-resizable no longer requires ReactDOM. No code changes are needed in the usual case, except:
    • React >= 16.3 is required due to use of React.createRef(), and
    • The handle prop now sends a ReactRef<HTMLElement> as its second argument and expects it to be used on your returned component.
      • If you do not attach the ref, you will receive the following error: "<DraggableCore> not mounted on DragStart!" This is due to the ref being present but not attached to any node.

v2.0.0

Compare Source

v1.11.1

Compare Source

  • ✏ Chore: Added React 17 to peerDependencies.

v1.11.0

Compare Source

  • ⚠ Important Notice!
    • React-Resizable 2.0.0 was published due to a breaking change in props handling. This change ended up actually completely breaking certain workflows, for the dubious benefit of making the code slightly simpler to add to. The breaking change has been reverted, 2.0.0 is now deprecated, and we will continue on the 1.x branch. Future breaking changes to react-resizable will upgrade the major version to 3.
  • ➕ Feature: <ResizableBox> now takes a style prop which will be applied on the wrapping <div>. width and height in this prop are ignored.
  • 🐛 Bugfix: remove unknown Prop handle from div children in Resizable React.cloneElement. #​124
  • 🐛 Bugfix: Fix top and left resizing jerkiness. Thanks @​conor-kelleher. #​136
  • ✏ Chore: Improved test suite. Please contribute tests for your use cases if you have the time, I would really appreciate it! Thanks very much, @​Danielecina
  • ✏ Chore: Minor internal refactors and additional tests.
  • ✏ Chore: Additional examples.

v1.10.1

Compare Source

Note: 1.10.0 was a mis-publish.

  • ➕ Feature: Add transformScale prop #​115
  • 🐛 Bugfix: Resolve getDerivedStateFromProps dev warning #​117

v1.9.0

Compare Source

v1.8.0

Compare Source

  • ➕ Feature: Added support for custom resize handles #​79
  • ➕ Feature: Added support for resize handles on all corners #​191

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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.

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