Releases: websevendev/animations-for-blocks
Releases · websevendev/animations-for-blocks
1.2
- Front end scripts are now deferred.
- Lazyload assets option now defaults to true.
- Added new animation - "Scale", a subtle animation which starts from a slightly scaled up/down state with opacity 0 and transforms into its' initial size while fading in.
- Added new animation - "Default". Plugin settings now allow to configure an animation that will be used for any block that has selected the "Default" animation.
- Added new animation - "Inherit". The "Animation container" block now has an option to become an "Animation provider", in which case all the blocks nested inside of it that use the "Inherit" animation will use the animation of the provider block. The provider block can also stagger each subsequent animation by a specified amount.
- Bundled Lenis - a lightweight smooth scroll library - can be enabled in plugin settings.
- AOS is now exposed to window object on the front end (
window.AOS
). - Tested up to WordPress 6.7.1.
- Requires WordPress 6.6.
- Requires PHP 8.1.
- Update
@wordpress/*
packages.
1.1.6
- Tested up to WordPress 6.6.
- Update
@wordpress/*
packages. - Use
block.json
for Animation container block. - Move block styles to separate stylesheet.
- Fix label and value mix up in RangeControl.
- Remove some defunct code.
- Bundled
react-jsx-runtime
to keep the plugin working with WP < 6.6.
1.1.5
- Tested up to WordPress 6.5.
- Added option to choose where to display the animation controls – you can move them to the “Styles” tab or to “Advanced” inspector controls area.
- Update @wordpress/* packages.
1.1.3
- Fix for crash with latest Gutenberg plugin due to
__unstableElementContext
being removed. - Update
@wordpress/*
packages.
1.1.2
- Add option to disable automatic animation preview.
- Add option to lazyload assets when an animated block is preset on the current page.
- Update
@wordpress/*
packages. - Update screenshots.
1.1.1
- Use
WP_HTML_Tag_Processor
for adding HTML attributes. - Blocks that render multiple root elements are no longer wrapped automatically. Use Animation container block to do it.
- Move all PHP code to main file for simplicity.
1.1.0
- Animation preview works in iframe-d block editors.
- Rework controls.
- Add ability to copy-paste animation settings.
- Update Animation container block to API version 2.
- Use
render_block
filter to apply animation attributes instead of overriding block'srender_callback
. - Add
anfb_aos_attributes
filter that can modify attributes that are added to animated HTML elements. - Convert some code to typescript.
- Update
@wordpress/*
packages. - Test with WordPress 6.2-RC1.
1.0.6
- Fix
once
andmirror
options detection in dynamic blocks. - Update
@wordpress/*
packages. - Test with WordPress 6.1.1.
1.0.5
- Update
@wordpress/*
packages. - Test with WordPress 6.0.
- Add GitHub link.
- Remove
src
folder from plugin.
1.0.4
- Update block anchor selector.