@ks89/angular-modal-gallery 11.1.0-rc.1 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,16 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
+ /**
4
+ * Directive to manage keyboard navigation.
5
+ */
3
6
  export declare class KeyboardNavigationDirective {
7
+ /**
8
+ * Boolean input to skip keyboard navigation.
9
+ */
4
10
  isOpen: boolean | undefined;
11
+ /**
12
+ * Output to emit keyboard `code` of the pressed key (keydown).
13
+ */
5
14
  keyboardNavigation: EventEmitter<string>;
6
15
  /**
7
16
  * Listener to catch keyboard's events and call the right method based on the key.
@@ -1,9 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * Directive to close the modal gallery clicking on the semi-transparent background.
5
- * In fact, it listens for a click on all elements that aren't 'inside' and it emits
6
- * an event using `@Output clickOutside`.
4
+ * Directive to manage swipe events on touch devices.
7
5
  */
8
6
  export declare class SwipeDirective {
9
7
  defaultTouch: {
@@ -12,15 +10,19 @@ export declare class SwipeDirective {
12
10
  time: number;
13
11
  };
14
12
  /**
13
+ * Output to emit swipe left event. Payload is empty.
15
14
  */
16
15
  swipeLeft: EventEmitter<void>;
17
16
  /**
17
+ * Output to emit swipe right event. Payload is empty.
18
18
  */
19
19
  swipeRight: EventEmitter<void>;
20
20
  /**
21
+ * Output to emit swipe up event. Payload is empty.
21
22
  */
22
23
  swipeUp: EventEmitter<void>;
23
24
  /**
25
+ * Output to emit swipe down event. Payload is empty.
24
26
  */
25
27
  swipeDown: EventEmitter<void>;
26
28
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ks89/angular-modal-gallery",
3
- "version": "11.1.0-rc.1",
3
+ "version": "11.1.0",
4
4
  "description": "Image gallery for Angular",
5
5
  "license": "MIT",
6
6
  "author": "Stefano Cappa",