airfleet/airfleet-elements-sliders-plugin

Project releases

airfleet-elements-sliders-plugin

Release 1.2.4

Fixed pointer events on the active tab for the auto-switching component.

GitHub
View full changelog

Fixed

  • elements-components-items-auto-switching: Fixed pointer events on active tab
airfleet-elements-sliders-plugin

Release 1.2.3

Added a wrapper element with data-af-view to templates to fix lazy loading detection for scripts when the parent block is below the fold.

GitHub
View full changelog

Fixed

  • Added wrapper element with data-af-view to slider-base and embla-base view templates, fixing viewport-based lazy loading detection for slider scripts when the parent block is below the fold
airfleet-elements-sliders-plugin

Release 1.2.2

Fixed race conditions by ensuring slider scripts depend on the base script

GitHub
View full changelog

Fixed

  • Ensure elements-partials-continuous-slider and elements-partials-generic-slider scripts depend on elements-partials-slider-base script, preventing race conditions
airfleet-elements-sliders-plugin

Release 1.2.1

Downgraded Swiper to v11 to fix a conflict with ACF's preg_replace() in InnerBlocks.

GitHub
View full changelog

Fixed

  • Downgraded Swiper from v12 to v11, due to bug/conflict with ACF's preg_replace() when placed in InnerBlocks
airfleet-elements-sliders-plugin

Release 1.2.0

Added Embla carousel support and refactored code to use a strategy pattern for Swiper and Embla libraries.

GitHub
View full changelog

Added

  • Added Embla carousel support with library-agnostic architecture

Changed

  • Updated generic slider selector to library-agnostic naming (.afp-slider-generic__slider)
  • Refactored code to use strategy pattern implementation for Swiper and Embla libraries
airfleet-elements-sliders-plugin

Release 1.1.0

Added more comprehensive responsive styling and CSS variable customization options.

GitHub
View full changelog

Changed

  • elements-components-items-auto-switching: Added more comprehensive responsive styling and CSS variable customization options
airfleet-elements-sliders-plugin

Release 1.0.0

Switched to a framework plugin dependency and updated development tooling.

GitHub
View full changelog

Changed

  • Breaking: Added new dependency - Airfleet Framework plugin - and removed scoped framework composer package
  • Bump npm dependency swiper to ^12.0.3
  • 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-sliders-plugin

Release 0.4.0

Adds an auto-switching component and timer events, and updates framework dependencies.

GitHub
View full changelog

Added

  • Added elements-components-items-auto-switching component for auto-switch feature between elements/tabs.
  • Added JS airfleet-timer-start, airfleet-timer-cycle, airfleet-timer-progress, airfleet-timer-end, airfleet-timer-pause, airfleet-timer-stop, airfleet-timer-restart and airfleet-timer-change events
  • Added airfleet/elements/items-auto-switching/breakpoint filter to change the auto-switch breakpoint dynamically.

Changed

  • Bump airfleet/wordpress-dev to 3.8.1
  • Bump composer dependency airfleet/wordpress-framework to ^1.19.1
airfleet-elements-sliders-plugin

Release 0.3.0

Added forced preview feature with slider disablement and informative message

GitHub
View full changelog

Changed

  • Added support for forced previews by disabling the sliders and displaying an informative message in the block editor
  • Used filter airfleet/elements/exclude_non_editor_scripts to exclude non-editor scripts when force previews are enabled
airfleet-elements-sliders-plugin

Release 0.2.0

Added events for handling slider freezing and resuming, and fixed pauseOnMouseEnter functionality.

GitHub
View full changelog

Added

  • Added airfleet-slider-freeze event to handle slider freezing
  • Added airfleet-slider-resume event to handle slider resuming

Fixed

  • Fixed pauseOnMouseEnter not working by adding custom functionality to handle slider freezing and resuming
airfleet-elements-sliders-plugin

Release 0.1.2

Renamed a JavaScript event to better reflect its purpose.

GitHub
View full changelog

Fixed

  • Renamed JS event from airfleet-continuous-slider-init to airfleet-slider-init to more actually reflect nature of event
airfleet-elements-sliders-plugin

Release 0.1.1

Improved mobile breakpoint detection

GitHub
View full changelog

Fixed

  • Improved handling of determination of mobile breakpoint when it might not be available
airfleet-elements-sliders-plugin

Release 0.1.0

Added four new elements and an event for sliders: generic, continious, base, and init.

GitHub
View full changelog

Added

  • Added partial elements-partial-generic-slider to display a slider that is used as generic slider
  • Added partial elements-partial-continious-slider to display a slider that is used as continious slider
  • Added partial elements-partial-slider-base to enable swiperjs for both generic and continuous sliders
  • Added JS event airfleet-continuous-slider-init