Release 1.2.4
Fixed pointer events on the active tab for the auto-switching component.
View full changelog
Fixed
elements-components-items-auto-switching: Fixed pointer events on active tab
Project releases
Fixed pointer events on the active tab for the auto-switching component.
elements-components-items-auto-switching: Fixed pointer events on active tabAdded a wrapper element with data-af-view to templates to fix lazy loading detection for scripts when the parent block is below the fold.
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 foldFixed race conditions by ensuring slider scripts depend on the base script
elements-partials-continuous-slider and elements-partials-generic-slider scripts depend on elements-partials-slider-base script, preventing race conditionsDowngraded Swiper to v11 to fix a conflict with ACF's preg_replace() in InnerBlocks.
Added Embla carousel support and refactored code to use a strategy pattern for Swiper and Embla libraries.
.afp-slider-generic__slider)Added more comprehensive responsive styling and CSS variable customization options.
elements-components-items-auto-switching: Added more comprehensive responsive styling and CSS variable customization optionsSwitched to a framework plugin dependency and updated development tooling.
swiper to ^12.0.3Requires Plugins metadata field)@airfleet/wordpress-dev to ^4.0.0airfleet/wordpress-dev to ^4.0.0Adds an auto-switching component and timer events, and updates framework dependencies.
elements-components-items-auto-switching component for auto-switch feature between elements/tabs.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 eventsairfleet/elements/items-auto-switching/breakpoint filter to change the auto-switch breakpoint dynamically.airfleet/wordpress-dev to 3.8.1airfleet/wordpress-framework to ^1.19.1Added forced preview feature with slider disablement and informative message
airfleet/elements/exclude_non_editor_scripts to exclude non-editor scripts when force previews are enabledAdded events for handling slider freezing and resuming, and fixed pauseOnMouseEnter functionality.
airfleet-slider-freeze event to handle slider freezingairfleet-slider-resume event to handle slider resumingpauseOnMouseEnter not working by adding custom functionality to handle slider freezing and resumingRenamed a JavaScript event to better reflect its purpose.
airfleet-continuous-slider-init to airfleet-slider-init to more actually reflect nature of eventAdded four new elements and an event for sliders: generic, continious, base, and init.
elements-partial-generic-slider to display a slider that is used as generic sliderelements-partial-continious-slider to display a slider that is used as continious sliderelements-partial-slider-base to enable swiperjs for both generic and continuous slidersairfleet-continuous-slider-init