Skip to content

Update dependency react-grid-layout to v1

Administrator requested to merge renovate/react-grid-layout-1.x into main

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
react-grid-layout dependencies major ^1.1.1 source code search for "react-grid-layout"
@types/react-grid-layout devDependencies major 1.1.1 source code search for "@types/react-grid-layout"

Release Notes

STRML/react-grid-layout

v1.1.1

Compare Source

Republish to add dist/ folder for unpkg use.

v1.1.0

Compare Source

New Features
  • You can now place resizable handles on all corners. Use the resizeHandles prop, which is default ['se'] (for 'southeast').
    • Allowable values are:
      • 's' - South handle (bottom-center)
      • 'w' - West handle (left-center)
      • 'e' - East handle (right-center)
      • 'n' - North handle (top-center)
      • 'sw' - Southwest handle (bottom-left)
      • 'nw' - Northwest handle (top-left)
      • 'se' - Southeast handle (bottom-right)
      • 'ne' - Northeast handle (top-right)
    • These values may be combined, e.g. ['s', 'se', 'e'], to place three handles on the bottom side, bottom-right corner, and right side.
Bugfixes
  • Revert containerPadding change in #​1138. This change was meant to be types-only, but it caused a behavioral change where the default value of containerPadding became [0, 0], not margin, which is default [10, 10].
  • Add a few more files to npmignore to improve package size.

v1.0.0

Compare Source

React-Grid-Layout has been in 0.x status for far too long. With the addition of some new features in this version and a breaking change, I thought it was time to move to a stable semver.

Breaking Changes
  • onDrop callback now has a form more consistent with other callbacks.
    • Previous type: (elemParams: { x: number, y: number, w: number, h: number, e: Event }) => void
    • New type: (layout: Layout, item: ?LayoutItem, e: Event) => void
    • Thanks @​ceberhar #​1169
  • Dropping Node 8 compatibility and testing due to devDep incompatibilities
New Features
Bugfixes
  • Fix grid items stuck using percentages on first render. Thanks @​rhbg #​1246

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 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 these updates again.


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

This PR has been generated by WhiteSource Renovate. View repository job log here.

Merge request reports

Loading