Skip to content

Releases: websevendev/animations-for-blocks

1.2

01 Feb 08:23
Compare
Choose a tag to compare
  • 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

29 Jul 00:05
Compare
Choose a tag to compare
  • 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

07 Apr 17:44
Compare
Choose a tag to compare
  • 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

12 Dec 10:47
Compare
Choose a tag to compare
  • Fix for crash with latest Gutenberg plugin due to __unstableElementContext being removed.
  • Update @wordpress/* packages.

1.1.2

16 Jul 07:05
Compare
Choose a tag to compare
  • 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

03 Jul 17:15
Compare
Choose a tag to compare
  • 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

13 Mar 11:36
Compare
Choose a tag to compare
  • 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's render_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

18 Nov 08:16
Compare
Choose a tag to compare
  • Fix once and mirror options detection in dynamic blocks.
  • Update @wordpress/* packages.
  • Test with WordPress 6.1.1.

1.0.5

08 Jul 09:56
Compare
Choose a tag to compare
  • Update @wordpress/* packages.
  • Test with WordPress 6.0.
  • Add GitHub link.
  • Remove src folder from plugin.

1.0.4

18 Jan 20:04
Compare
Choose a tag to compare
  • Update block anchor selector.