Releases: trvswgnr/bs5-lightbox
Releases · trvswgnr/bs5-lightbox
Vimeo Fix
Bugfixes
- Fixes slide issue on Bootstrap ^5.2
- Constrain images to original dimensions by default, with option to disable
- Updated options and types
- Added support for YouTube parameters in URL
- Fixes a bug where using a forced image type with a caption would break the URL
Vanilla JS & Build Process Rework
- Reworked entire build process, no longer packages any existing Bootstrap 5 components, resulting is drastically reduced file sizes
- Ditched TypeScript for now to increase accessibility and pure-javascript clarity
- Added feature to allow custom HTML in
data-src
withdata-type="html"
- Added "module" to package.json for ES modules, allowing Tree Shaking
- Bugfixes and general improvements
data-type galleries fix
- Fixed a bug where data-type="image" wasn't being handled correctly on galleries
- Automatic checking for image types is now case insensitive
- Fixed a bug where galleries weren't opening on the selected media
Fix onload bug
Fixes an issue with some outlying code causing an error.
Fix data-type implementation
Resolved an issue where data-type="image" was being ignored.
Bugfixes
Add captions feature
Captions can now be added via data-caption="Some caption"
or data-footer="Some caption"
.
Use TypeScript, Simplify Build
Now using TypeScript for the main module. Drastically simplified the build process. Fixed bugs, and compatibility issues.
Bugfixes, General Improvements
Fixed quite a few small bugs and made general improvements.