Repository navigation
v0.14.0
Minor Changes
-
#200
cc38ebdThanks @silveltman! - Restore the Embla-powered Carousel and shadcn-style composition, responsive slide widths andoptsAPI. Use the vanillaembla-carousel8.6.0 package without React. Other interactive components continue to use Data Slot directly.This replaces the single-slide Carousel introduced in 0.13.0. Reinstall the registry component. Replace
defaultIndex,dragandloopwithopts={{ startIndex, watchDrag, loop }}; dragging is enabled by default. RestoreCarouselApi,CarouselOptionsandCarouselPlugintypes andcarousel:init/carousel:selectevents. Listen to theirdetail.apifor programmatic navigation instead ofcarousel:set.CarouselContentclasses apply to the inner track again; use matching negative track margins and slide padding for spacing.Visible slide links stay interactive, and Embla handles focus scrolling, resizing and slide positions. Instances and event handlers are cleaned up before Astro page swaps. No observers override another library's accessibility state.