v2.21.0
What's Changed
- Redesign/carousel Rail by @jasperf in #23
- Fix rail-mode carousel bugs and gate Slick assets by engine by @jasperf in #24
Added
- Carousel (
aludra/carousel) gained anengineattribute (slickdefault /rail).railrenders a zero-JS CSS scroll-snap track instead of Slick's JS-driven slider. Carousel block bumped to 1.1.0.
Changed
patterns/page-homepage.php— the "Our Clients" carousel now uses therailengine.- Slick assets (
slick.min.js,slick.css,slick-theme.css) are no longer enqueued on pages where every carousel block uses therailengine, so a rail-only page loads no jQuery/Slick at all.
Fixed
- Carousel's frontend
view.jsno longer throws (and aborts initializing other carousels on the page) when it encounters a rail-mode carousel with nodata-slickattribute.
Note: this tag was moved from
bd88e8fto13eb047. The original tag pointed at the PR #23 merge, where the plugin still declaredVersion: 2.20.0— the 2.21.0 version bump lived in PR #24. The attachedaludra.ziphas been rebuilt from the corrected commit.
Full Changelog: v2.20.0...v2.21.0