fix(deps): update dependency muuri to v0.9.5 #33
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.8.0
->0.9.5
Release Notes
haltu/muuri
v0.9.5
Compare Source
Release PR with details: https://github.com/haltu/muuri/pull/487
v0.9.4
Compare Source
Fix https://github.com/haltu/muuri/issues/467
v0.9.3
Compare Source
Fixed a bug where
layoutEnd
event was not emitted in some cases (e.g. when an item was being dragged while the layout happened). This bug was introduced in v0.9.0 when the layout system was fully refactored to accept async layout process too.v0.9.2
Compare Source
Fixes #406 , #402 , #403 and some layout issues where items would be overlapping.
v0.9.1
Compare Source
Fix https://github.com/haltu/muuri/issues/397
v0.9.0
Compare Source
The milestone: https://github.com/haltu/muuri/milestone/7
A huge step forward for Muuri. There are so many breaking changes that you really should consider this as a new major version (Muuri still needs to get to 1.0.0 version to start bumping the major versions).
In a quick summary:
Unfortunately, there are also some breaking changes 😢 :
display
style is no longer set toblock
by Muuri automatically when item is shown. This means that you can use whatever display style in your CSS for the item elements. When item is hidden itsdisplay
property is still set tonone
by Muuri.layout.rounding
anymore (at least in most cases). This is whylayout.rounding
is now by default disabled. The previouslayout.rounding
rounded layout's width and height as well as all the item dimensions withMath.round()
. The newlayout.rounding
only rounds item dimensions and does it with a bit more involved algorithm:Math.floor(Math.round(widthOrHeight * 1000) / 10) / 100
.layout.onResize
option's default value changed from100
to150
.dragStartPredicate.handle
removed and replaced with a newdragHandle
option, which works a bit differently (but in a good way). Previously there was no way to set the drag related event listeners to another element, even if you defineddragStartPredicate.handle
. However, withdragHandle
the drag related event listeners are now bound to the drag handle element so it gets much easier to to e.g . disable drag by hiding the handle via CSS.dragAxis
option default value changed fromnull
to"xy"
. This actually should not break anything, but more of a "heads up" thing.dragReleaseDuration
->dragRelease.duration
.dragReleaseEasing
->dragRelease.easing
.dragPlaceholder.easing
anddragPlaceholder.duration
removed. Placeholder now uses thelayoutEasing
andlayoutDuration
options' values always, which covers probably most of the use cases.grid.refreshItems()
andgrid.refreshSortData()
now requires the first optional argument to be an array ofMuuri.Item
instances.grid.remove()
,grid.show()
andgrid.hide()
requires the first argument to be an array ofMuuri.Item
instances.Configuration
📅 Schedule: 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 becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.