@ks89/angular-modal-gallery
Advanced tools
Changelog
9.1.0
A special thanks to @locinus for PRs #254 and #257
Changelog
9.1.0-beta.2
Pull request #257 by @locinus Simplifies and uniformizes the calculation of previews indexes, in the different navigation cases (changes of current images, uses of previews arrows).
Changelog
9.1.0-beta.1
Changelog
9.0.0
Migrate from 8.0.0 to 9.0.0 - Check the official guide HERE
[showGallery]
input from plain-gallery component, because it's unused #239 (BREAKING CHANGE)(showImage)
output into (clickImage)
for plain-gallery #240 (BREAKING CHANGE)(showImage)
output into (changeImage)
for carousel #240 (BREAKING CHANGE)Migrate from 8.0.0 to 9.0.0 - Check the official guide HERE
Changelog
8.0.1
config.service.ts
adding providedIn: 'root'
to the service (fixes #244) reported by @dreiquevadaChangelog
8.0.0
Migrate to angular/cdk to fix all issues with angular/material (Breaking Change) (fixes #137, #111, #95)
Split plain-gallery and modal-gallery decoupling those components. Instead, define new APIs to open modal-gallery as a service (Breaking Change)
upgrade to Angular 12 and angular-cli 12
Force Angular >= 12 as minimum supported version. (Breaking Change).
remove support to both Angular 6, 7, 8, 9, 10 and 11 (Breaking Change)
remove Module.forRoot() (Breaking Change)
move keyboard configuration into libconfig (permits different configuration for every instance of the library). (Breaking Change)
use IVY as recommended by Angular team ('partial' in tsconfig)
Add ability to set fallback image #194 (Breaking Change)
Add a way to disable titles if requested by the user #179 (Breaking Change)
remove size from plainGallery Image interface #206 (Breaking Change) - reported by @studiocuboweb
add new param to previewConfig to display previews on small screens #213 (pull request #214 by vlafranca)
Change the background color of modal gallery #225 (requested by @danurasenan here)
Carousel has a new input "[disableSsrWorkaround]="true"" to use modals in carousels with SystemJS (Breaking Change). Also, every time you need to open modal gallery, you must pass to LibConfig this code:
keyboardServiceConfig: {
shortcuts: ['ctrl+s', 'meta+s'],
disableSsrWorkaround: true
}
new modal-gallery CSS classes used to set the backdrop (BREAKING CHANGES)
.ks-modal-gallery-backdrop {
background: #000 !important;;
opacity: 0.85 !important;;
}
.ks-modal-gallery-panel {
z-index: 90000 !important;
}
Attention! Angular support for Microsoft's Internet Explorer 11 (IE11) is deprecated and will be removed in Angular v13. For the same reason, from angular-modal-gallery 8.0.0, IE11 has been deprecated. At the moment it's still working, but it will be removed in angular-modal-gallery 9.0.0.
Changelog
8.0.0-rc.1
document.body.style.overflow = ...
to prevent weird behaviour. @angular/cdk is enough to block window scrolling.Attention! Angular support for Microsoft's Internet Explorer 11 (IE11) is deprecated and will be removed in Angular v13. For the same reason, from angular-modal-gallery 8.0.0, IE11 has been deprecated. At the moment it's still working, but it will be removed in angular-modal-gallery 9.0.0.
<br>This is a beta version without a documentation
Changelog
7.2.7
Changelog
8.0.0-beta.5
add new param to previewConfig to display previews on small screens #213 (pull request #214 by vlafranca)
remove the useless nested 'config' object in ModalGalleryConfig interface.
To upgrade from all previous 8.0.0 beta releases, change all .open(...) methods passing an object without the nested 'config' object
This is a beta version without a documentation If you want to try it, check examples/angular-cli-10 to get tons of working examples