airfleet/airfleet-elements-spacing-plugin

Project releases

airfleet-elements-spacing-plugin

Release 1.1.0

Adds support for injecting spacing CSS variables and classes into the block editor iframe.

GitHub
View full changelog

Added

  • Added enqueue_block_assets support to inject spacing CSS variables and classes into the block editor iframe
airfleet-elements-spacing-plugin

Release 1.0.0

Added Airfleet Framework plugin dependency and switched package manager to Bun.

GitHub
View full changelog

Changed

  • Breaking: Added new dependency - Airfleet Framework plugin - and removed scoped framework composer package
  • Added plugin dependencies in main plugin file (Requires Plugins metadata field)
  • Internal: Increased Node.js version requirement to >=24
  • Internal: Bump npm dependency @airfleet/wordpress-dev to ^4.0.0
  • Internal: Bump composer dependency airfleet/wordpress-dev to ^4.0.0
  • Internal: Switched package manager to Bun
  • Internal: Updated linters and development tools
  • Internal: Updated configuration for development tools
  • Internal: Moved configuration sections from package.json to dedicated config files
  • Internal: Updated browserslist configuration
  • Internal: Updated package.json scripts to use Airfleet CLI
  • Internal: Updated README.md to remove Getting Started and Documentation sections
  • Internal: Updated Plugin URI metadata field in main plugin file
  • Internal: Updated GitHub workflows
  • Internal: Added .airfleet-license and .airfleet-visible
airfleet-elements-spacing-plugin

Release 0.2.0

Adds container components, Blade directives, and customization filters while updating spacing defaults.

GitHub
View full changelog

Added

  • Added elements-components-container component to render a container
  • Added helper / Blade directive $_container() / @container() to render a container
  • Added helpers / Blade directives $_container_start() / @container_start() and $_container_end() / @container_end() to wrap HTML in a container
  • Added global variables for spacing (--afs-container-padding-x, --afs-container-max-width)
  • Added container options to all blocks
  • Added filter airfleet/elements/containers to set the container options
  • Added filter airfleet/elements/containers/defaults/max_width to set the default max width for containers
  • Added filter airfleet/elements/containers/defaults/padding to set the default padding for containers
  • Added filter airfleet/elements/containers/blocks/exclude to exclude specific blocks from Container width field

Changed

  • Updated spacing defaults
airfleet-elements-spacing-plugin

Release 0.1.0

Added features for generating CSS variables and classes, and spacing options to blocks.

GitHub
View full changelog

Added

  • Added feature to generate CSS variables for spacing (--afs-padding-xxs, etc.)
  • Added feature to generate CSS classes for spacing (.afu-padding--top-xxs, .afu-padding--bottom-xxs, .afu-padding--block-xxs, etc.)
  • Added spacing options to blocks
  • Added component elements-components-spacing (apply spacing options)
  • Added filter airfleet/elements/spacing (set spacing options)
  • Added filter airfleet/elements/spacing/blocks/exclude (exclude specific blocks from having spacing options)