This repository has been 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-lightbox
to@stimulus-components/lightbox
- Upgrading dependencies
- Exporting Typescript Types
- Updating demo UI
- Add Stimulus LSP compatibility
3.2.0
Added
- Adding
name
in 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
lightGallery
instance 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
stimulus
to@hotwired/stimulus
. - Breaking Upgrading from
lightgallery.js
(v1) tolightgallery
(v2). - Moving from
Snowpack
toVite
. - Using stimulus as external library reducing bundle size from
18.44KiB
to0.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
values
static 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