All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Breaking Upgrading Swiper to
11.x
. - Renaming the component from
stimulus-carousel
to@stimulus-components/carousel
- Upgrading dependencies
- Exporting Typescript Types
- Updating demo UI
- Add Stimulus LSP compatibility
- Fixing
module
extension inpackage.json
.
- Adding
name
in library export to use the package with CDN, Sprockets andimport-maps
.
- Breaking Upgrading Swiper to
8.x
. - Upgrading Vite to
4.x
. - Updating example UI.
- Upgrading Node to
18
.
- Breaking Upgrading Stimulus to 3.x and change namespace from
stimulus
to@hotwired/stimulus
. - Upgrading dependencies
- Upgrading Node to
16.13.1
.
- Upgrade Swiper to version 7.x.
- Moving from Snowpack to Vite.
- Using stimulus as external library reducing bundle size from
172.31kb
to0.63kb
. - Moving to TypeScript
- Upgrading Node to 14.17.6
- Support for Stimulus 2.0
- Breaking Using the new
values
static property
- <div data-controller="carousel" class="swiper-container" data-carousel-options="{'direction': 'vertical'}">
+ <div data-controller="carousel" class="swiper-container" data-carousel-options-value='{"direction": "vertical"}'>
- Don't import css in the js file.
- Destroy the
swiper
instance on disconnect.
- Adding controller