@getflip/swirl-components-angular 0.239.0 → 0.240.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.
@@ -2187,9 +2187,11 @@ export declare class SwirlImageGridItem {
2187
2187
  protected el: HTMLElement;
2188
2188
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
2189
2189
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlImageGridItem, never>;
2190
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlImageGridItem, "swirl-image-grid-item", never, { "alt": { "alias": "alt"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], false, never>;
2190
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlImageGridItem, "swirl-image-grid-item", never, { "alt": { "alias": "alt"; "required": false; }; "gifPauseLabel": { "alias": "gifPauseLabel"; "required": false; }; "gifPlayLabel": { "alias": "gifPlayLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "showGifControls": { "alias": "showGifControls"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, ["*"], false, never>;
2191
2191
  }
2192
2192
  export declare interface SwirlImageGridItem extends Components.SwirlImageGridItem {
2193
+ gifStarted: EventEmitter<CustomEvent<void>>;
2194
+ gifStopped: EventEmitter<CustomEvent<void>>;
2193
2195
  imageError: EventEmitter<CustomEvent<void>>;
2194
2196
  imageLoad: EventEmitter<CustomEvent<void>>;
2195
2197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.239.0",
3
+ "version": "0.240.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build"
@@ -14,7 +14,7 @@
14
14
  "@angular/platform-browser": "^16.2.12",
15
15
  "@angular/platform-browser-dynamic": "^16.2.12",
16
16
  "@angular/router": "^16.2.12",
17
- "@getflip/swirl-components": "^0.239.0",
17
+ "@getflip/swirl-components": "^0.240.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.13.3"
@@ -5368,27 +5368,32 @@ export declare interface SwirlImageGrid extends Components.SwirlImageGrid {}
5368
5368
 
5369
5369
 
5370
5370
  @ProxyCmp({
5371
- inputs: ['alt', 'icon', 'interactive', 'loading', 'overlay', 'src']
5371
+ inputs: ['alt', 'gifPauseLabel', 'gifPlayLabel', 'icon', 'interactive', 'loading', 'overlay', 'showGifControls', 'src'],
5372
+ methods: ['play', 'pause']
5372
5373
  })
5373
5374
  @Component({
5374
5375
  selector: 'swirl-image-grid-item',
5375
5376
  changeDetection: ChangeDetectionStrategy.OnPush,
5376
5377
  template: '<ng-content></ng-content>',
5377
5378
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
5378
- inputs: ['alt', 'icon', 'interactive', 'loading', 'overlay', 'src'],
5379
+ inputs: ['alt', 'gifPauseLabel', 'gifPlayLabel', 'icon', 'interactive', 'loading', 'overlay', 'showGifControls', 'src'],
5379
5380
  })
5380
5381
  export class SwirlImageGridItem {
5381
5382
  protected el: HTMLElement;
5382
5383
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
5383
5384
  c.detach();
5384
5385
  this.el = r.nativeElement;
5385
- proxyOutputs(this, this.el, ['imageError', 'imageLoad']);
5386
+ proxyOutputs(this, this.el, ['gifStarted', 'gifStopped', 'imageError', 'imageLoad']);
5386
5387
  }
5387
5388
  }
5388
5389
 
5389
5390
 
5390
5391
  export declare interface SwirlImageGridItem extends Components.SwirlImageGridItem {
5391
5392
 
5393
+ gifStarted: EventEmitter<CustomEvent<void>>;
5394
+
5395
+ gifStopped: EventEmitter<CustomEvent<void>>;
5396
+
5392
5397
  imageError: EventEmitter<CustomEvent<void>>;
5393
5398
 
5394
5399
  imageLoad: EventEmitter<CustomEvent<void>>;