Skip to content

Commit

Permalink
chore: release 9.1.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ks89 committed Apr 22, 2022
1 parent 135c2ab commit ba0e402
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 11 deletions.
33 changes: 23 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 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).

### Bugfixes

- clicking the right image arrow always shifts the displayed previews, even in cases where it shouldn't, for instance for n>=3 and current=0 (root cause of 'clipping' effects when navigating away from first/last preview)
- the number of displayed previews sometimes oscillate between n (number of requested previews in config) and n-1/n+1 while navigating (for example for n=4 or n=5)
- when opening the modal and navigating to the last preview by clicking on the right preview arrow, it's impossible to then click on the left preview arrow (same from last to first and clicking on the right preview arrow)
- In infinite sliding, the left and right preview arrows should be always visible (except if nbPreviews < nbImages)


# 9.1.0-beta.1

### Features
Expand All @@ -13,7 +26,7 @@


# 9.0.0

**Migrate from 8.0.0 to 9.0.0 - Check the official guide [HERE](https://ks89.github.io/angular-modal-gallery-2021-v9.github.io/)**

### Features
Expand Down Expand Up @@ -95,7 +108,7 @@
background: #000 !important;;
opacity: 0.85 !important;;
}
.ks-modal-gallery-panel {
z-index: 90000 !important;
}
Expand All @@ -108,7 +121,7 @@
- add Github Actions Ci
- add Github CodeQL
- remove npm's codeclimate coverage reporter to use the new version
- add Security Policy in SECURITY.MD
- add Security Policy in SECURITY.MD

### Tests
- update tests to the new APIs and components
Expand Down Expand Up @@ -176,28 +189,28 @@
# 8.0.0-beta.4
### Features
- new modal-gallery CSS classes used to set the backdrop **(BREAKING CHANGES)**

To upgrade from all previous 8.0.0 beta releases, change your global styles.scss from:

```
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing.dark-backdrop {
background: #000;
opacity: 0.85 !important;
}
.cdk-overlay-container {
z-index: 90000 !important;
}
```

to :

```
.ks-modal-gallery-backdrop {
background: #000 !important;;
opacity: 0.85 !important;;
}
.ks-modal-gallery-panel {
z-index: 90000 !important;
}
Expand Down Expand Up @@ -233,7 +246,7 @@
disableSsrWorkaround: true
}
```

### Demos
- update all LibConfigs in SystemJS demo to prevent crashes. Because, now disableSsrWorkaround must be passed manually in every LibConfig. This is a
breaking change (see above).
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ You can use all default features without font-awesome. For more info, check offi

**More than 100 releases in two years**, and more to come... :)

- 04/23/2022 - 9.1.0-beta.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
- 04/14/2022 - 9.1.0-beta.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
- 11/15/2021 - 9.0.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
- 11/06/2021 - 9.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
Expand Down
2 changes: 1 addition & 1 deletion projects/ks89/angular-modal-gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ks89/angular-modal-gallery",
"version": "9.1.0-beta.1",
"version": "9.1.0-beta.2",
"description": "Image gallery for Angular",
"license": "MIT",
"author": "Stefano Cappa",
Expand Down

0 comments on commit ba0e402

Please sign in to comment.