Update dependency animejs to v4.4.1#189
Merged
Merged
Conversation
✅ Deploy Preview for acend-website-new ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
4.3.6→4.4.1Release Notes
juliangarnier/anime (animejs)
v4.4.1Compare Source
Bug fix
4.4.0with timeline.call()not triggering properly in some cases.v4.4.0Compare Source
Breaking Changes
perspective>translate>rotate>scale>skew), regardless of the order they are defined in animation parameters:matrixandmatrix3dcan no longer be animated directly (they are still preserved when read from inline styles and can be set using transform: 'matrix(...)')total(Number) totargets(Array). To migrate, replacetotalwithtargets.length:prevTweenis now passed to function-based value callbacks, providing access to the previous sibling tween's computed end value for the same target and property.targetsarray instead of the total count:New Features
scrambleText()function-based value to animate text with a character-by-character scramble/reveal effect (learn more: https://animejs.com/documentation/text/scrambletext)grid: trueauto-grid mode that computes a 2D layout from element positions or JS object coordinates ({x, y}) instead of requiring explicit[columns, rows]dimensionsfromparameter now accepts[x, y]normalized coordinate arrays (0 to 1) for precise grid origin controlpriorityparameter to control execution order within the engine tick looptranslateX+translateY→translate(x, y)translateX+translateY+translateZ→translate3d(x, y, z)scaleX+scaleY→scale(x, y)scaleX+scaleY+scaleZ→scale3d(x, y, z)translate(x, y),scale3d(x, y, z)) and nestedcalc()expressionscreateLayout()now accepts anidparameterglobalsis now exported from the main module entry pointforEachChildren,addChild,removeChildhelpers are now exported fromutilsBug Fixes and improvements
revert()now restores object properties and DOM attributes to their original pre-animation values, in addition to CSS styles and transforms (previously only CSS styles and transforms were reverted, leaving animated object props and attributes at their last animated value). The publiccleanInlineStyles()utility keeps its original behavior and only clears inline styles and transforms.getOriginalAnimatableValuenot storing the original inline value for object properties and DOM attributes, preventing proper revertundefinedaddEffect()returningundefinedinstead ofthiswhen the effect argument is not a functiononCompleteandonPausecallbacks_startTimenot being preserved when reconstructing tracked animations, causing timing jumps on effect refreshChanges
AnimeJSDevTools) removedtick()andrender()extracted to module-scope functions to avoid allocation every frameto/from/duration/delayvalues, so the previous sibling tween is available to function-based value callbackssplitText()andTextSplittertarget parameter widened fromHTMLElementtoElementmorphToandscrambleTextto read the previous tween's end value when used in keyframe arrays or timelinesglobals.editorhook system allowing an external editor to interceptanimate()andcreateTimeline()callsConfiguration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.