@getflip/swirl-components-angular 0.32.2 → 0.33.1

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.
@@ -189,9 +189,13 @@ export declare class SwirlCard {
189
189
  protected el: HTMLElement;
190
190
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
191
191
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlCard, never>;
192
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlCard, "swirl-card", never, { "as": "as"; "borderRadius": "borderRadius"; "elevated": "elevated"; "height": "height"; "highlighted": "highlighted"; "href": "href"; "imageAspectRatio": "imageAspectRatio"; "interactive": "interactive"; "justifyContent": "justifyContent"; "linkTarget": "linkTarget"; "swirlAriaLabel": "swirlAriaLabel"; }, {}, never, ["*"], false>;
192
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlCard, "swirl-card", never, { "as": "as"; "borderRadius": "borderRadius"; "elevated": "elevated"; "height": "height"; "highlighted": "highlighted"; "href": "href"; "imageAspectRatio": "imageAspectRatio"; "interactive": "interactive"; "isBorderless": "isBorderless"; "justifyContent": "justifyContent"; "linkTarget": "linkTarget"; "swirlAriaLabel": "swirlAriaLabel"; }, {}, never, ["*"], false>;
193
193
  }
194
194
  export declare interface SwirlCarousel extends Components.SwirlCarousel {
195
+ /**
196
+ *
197
+ */
198
+ activeSlidesChange: EventEmitter<CustomEvent<HTMLSwirlCarouselSlideElement[]>>;
195
199
  }
196
200
  export declare class SwirlCarousel {
197
201
  protected z: NgZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.32.2",
3
+ "version": "0.33.1",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "build": "ng build"
@@ -14,7 +14,7 @@
14
14
  "@angular/platform-browser": "^14.1.0",
15
15
  "@angular/platform-browser-dynamic": "^14.1.0",
16
16
  "@angular/router": "^14.1.0",
17
- "@getflip/swirl-components": "^0.33.2",
17
+ "@getflip/swirl-components": "^0.34.1",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -380,13 +380,13 @@ export declare interface SwirlCard extends Components.SwirlCard {}
380
380
 
381
381
  @ProxyCmp({
382
382
  defineCustomElementFn: undefined,
383
- inputs: ['as', 'borderRadius', 'elevated', 'height', 'highlighted', 'href', 'imageAspectRatio', 'interactive', 'justifyContent', 'linkTarget', 'swirlAriaLabel']
383
+ inputs: ['as', 'borderRadius', 'elevated', 'height', 'highlighted', 'href', 'imageAspectRatio', 'interactive', 'isBorderless', 'justifyContent', 'linkTarget', 'swirlAriaLabel']
384
384
  })
385
385
  @Component({
386
386
  selector: 'swirl-card',
387
387
  changeDetection: ChangeDetectionStrategy.OnPush,
388
388
  template: '<ng-content></ng-content>',
389
- inputs: ['as', 'borderRadius', 'elevated', 'height', 'highlighted', 'href', 'imageAspectRatio', 'interactive', 'justifyContent', 'linkTarget', 'swirlAriaLabel']
389
+ inputs: ['as', 'borderRadius', 'elevated', 'height', 'highlighted', 'href', 'imageAspectRatio', 'interactive', 'isBorderless', 'justifyContent', 'linkTarget', 'swirlAriaLabel']
390
390
  })
391
391
  export class SwirlCard {
392
392
  protected el: HTMLElement;
@@ -397,7 +397,13 @@ export class SwirlCard {
397
397
  }
398
398
 
399
399
 
400
- export declare interface SwirlCarousel extends Components.SwirlCarousel {}
400
+ export declare interface SwirlCarousel extends Components.SwirlCarousel {
401
+ /**
402
+ *
403
+ */
404
+ activeSlidesChange: EventEmitter<CustomEvent<HTMLSwirlCarouselSlideElement[]>>;
405
+
406
+ }
401
407
 
402
408
  @ProxyCmp({
403
409
  defineCustomElementFn: undefined,
@@ -415,6 +421,7 @@ export class SwirlCarousel {
415
421
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
416
422
  c.detach();
417
423
  this.el = r.nativeElement;
424
+ proxyOutputs(this, this.el, ['activeSlidesChange']);
418
425
  }
419
426
  }
420
427