airfleet/airfleet-elements-buttons-plugin

Project releases

airfleet-elements-buttons-plugin

Release 3.0.1

Added default fallback values to button alignment CSS variables

GitHub
View full changelog

Fixed

  • Fixed button alignment CSS variables to include default fallback values (center) for text-align, justify-content, and align-items
airfleet-elements-buttons-plugin

Release 3.0.0

Requires PHP 8.2 and the Airfleet Framework plugin.

GitHub
View full changelog

Changed

  • Breaking: Increased PHP version requirement to >=8.2
  • 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-buttons-plugin

Release 2.4.0

Added new button styles, variations, and mixins while updating the template structure and CSS variables for icon handling.

GitHub
View full changelog

Added

  • Added six new button styles: Primary Dark, Primary Light, Secondary Dark, Secondary Light, Link Dark, and Link Light
  • Added three new button variations: Icon Chevron, Icon Position Left, and Icon Rotate 180
  • Added new partial view elements-partials-button-icon-chevron-right for chevron icon
  • Added button mixins file (assets/styles/frontend/mixins/_button.scss) with reusable button style mixins
  • Added support for button icon wrapper (.afc-button__icon) with flexible CSS variables
  • Added CSS variables for button gap, flex-direction, and flex-wrap properties

Changed

  • Updated button template structure to support icon variations with separate content and icon wrappers
  • Updated button styles to use new CSS custom properties for layout control
  • Enhanced button component to dynamically render icons based on selected variations
airfleet-elements-buttons-plugin

Release 2.3.0

Added Background option and container wrapping to Buttons block

GitHub
View full changelog
  • Added Background option for Buttons block
  • Wrapped Buttons block's content around container
airfleet-elements-buttons-plugin

Release 2.2.0

Updated components to support airfleet/elements/empty/$slug filter

GitHub
View full changelog

Changed

  • Updated components to add support for airfleet/elements/empty/$slug filter
airfleet-elements-buttons-plugin

Release 2.1.0

Updated labels for button elements.

GitHub
View full changelog

Changed

  • Changed label for elements-components-button-link (Button with external link)
  • Changed label for elements-components-button-relationship (Button with internal link)
airfleet-elements-buttons-plugin

Release 2.0.0

Added new tabs and renamed some in the button components.

GitHub
View full changelog

Changed

  • elements-blocks-buttons: added Content tab
  • Added Content, Style, and Settings tabs to button components
  • Renamed labels "Style" => "Button style" and "Variations" => "Button variations"
airfleet-elements-buttons-plugin

Release 1.1.0

Updated button components to show placeholders in the editor and added preview controls.

GitHub
View full changelog

Changed

  • Updated button components and partial to show placeholder in editor when empty
  • Updated button components and partial with new properties show_preview and preview_text to control placeholder
airfleet-elements-buttons-plugin

Release 1.0.0

Added dynamic padding to exclude border size from paddings

GitHub
View full changelog

Added

  • Added an additional padding x and y CSS properties to dynamically exclude the border size from the paddings

Changed

  • Updated buttons border, padding, and box-shadow custom CSS properties

Removed

  • Removed default style modifier CSS
  • Removed default variations
airfleet-elements-buttons-plugin

Release 0.5.2

Added CSS custom properties for border hover and default cursor.

GitHub
View full changelog

Added

  • Add border hover CSS custom property
  • Add default cursor property
airfleet-elements-buttons-plugin

Release 0.4.0

Added two new filters for button components: style and advanced.

GitHub
View full changelog

Added

  • Added filter airfleet/elements/button/style/components (set list of button components with Style options)
  • Added filter airfleet/elements/button/advanced/components (set list of button components with Advanced options)
airfleet-elements-buttons-plugin

Release 0.3.0

Replaced $content property with $_slot in elements-partials-button

GitHub
View full changelog

Changed

  • elements-partials-button: replaced $content property with $_slot
airfleet-elements-buttons-plugin

Release 0.2.1

Set composer autoloader suffix based on plugin name

GitHub
View full changelog

Changed

  • Set composer vendor-scoped autoloader-suffix based on plugin name
airfleet-elements-buttons-plugin

Release 0.2.0

Updated button components to accept custom class/attributes/data-attributes

GitHub
View full changelog

Changed

  • Updated all button components to accept custom class/attributes/data-attributes
airfleet-elements-buttons-plugin

Release 0.1.0

Added views, filters, and components for customizing buttons.

GitHub
View full changelog

Added

  • Added view elements-partials-button (partial used by all button components)
  • Added view elements-components-button-link (button link component)
  • Added view elements-components-button-relationship (button link component linked to a post/page)
  • Added filter airfleet/elements/button/style (customize style options for buttons)
  • Added filter airfleet/elements/button/variations (customize variations options for buttons)
  • Added flexible component elements-buttons
  • Added type-switch elements-button-switch
  • Added block "Buttons"