This repository was archived by the owner on Oct 26, 2024. It is now read-only.
Releases: stimulus-components/stimulus-lightbox
Releases · stimulus-components/stimulus-lightbox
4.0.0
Chore
- Renaming the component from
stimulus-lightboxto@stimulus-components/lightbox - Upgrading dependencies
- Exporting Typescript Types
- Updating demo UI
- Add Stimulus LSP compatibility
3.2.0
Added
- Adding
namein library export to use the package with CDN, Sprockets andimport-maps.
Chore
- Bump dependencies.
- Upgrading to Vite
4.x. - Docs new UI.
3.1.0
Chore
- Adding
lightGalleryinstance variable - Destroy instance on
disconnect - Using TypeScript types
- Upgrading dependencies
- Upgrading Node to
18.
3.0.0
Chore
- Breaking Upgrading Stimulus to 3.x and change namespace from
stimulusto@hotwired/stimulus. - Breaking Upgrading from
lightgallery.js(v1) tolightgallery(v2). - Moving from
SnowpacktoVite. - Using stimulus as external library reducing bundle size from
18.44KiBto0.46kb. - Moving to TypeScript
- Upgrading dependencies
- Upgrading Node to
16.13.1.
v2.0.0
[2.0.0] - 2020-12-05
Added
- Support for Stimulus 2.0
- Adding getter to retrieve the lightGallery instance
Changed
- Breaking Using the new
valuesstatic property
- <div data-controller="lightbox" data-lightbox-options="{'index': 2}">
+ <div data-controller="lightbox" data-lightbox-options-value='{"index": 2}'>v1.0.0
- Adding controller