@getflip/swirl-components-angular 0.30.2 → 0.32.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.
@@ -1637,7 +1637,7 @@ export declare class SwirlShellLayout {
1637
1637
  protected el: HTMLElement;
1638
1638
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
1639
1639
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlShellLayout, never>;
1640
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlShellLayout, "swirl-shell-layout", never, { "mainNavigationLabel": "mainNavigationLabel"; "sidebarToggleLabel": "sidebarToggleLabel"; }, {}, never, ["*"], false>;
1640
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlShellLayout, "swirl-shell-layout", never, { "hideSidebar": "hideSidebar"; "mainNavigationLabel": "mainNavigationLabel"; "sidebarToggleLabel": "sidebarToggleLabel"; }, {}, never, ["*"], false>;
1641
1641
  }
1642
1642
  export declare interface SwirlShellNavigationItem extends Components.SwirlShellNavigationItem {
1643
1643
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.30.2",
3
+ "version": "0.32.0",
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.31.2",
17
+ "@getflip/swirl-components": "^0.33.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -401,7 +401,8 @@ export declare interface SwirlCarousel extends Components.SwirlCarousel {}
401
401
 
402
402
  @ProxyCmp({
403
403
  defineCustomElementFn: undefined,
404
- inputs: ['label', 'loopAround', 'nextSlideButtonLabel', 'previousSlideButtonLabel']
404
+ inputs: ['label', 'loopAround', 'nextSlideButtonLabel', 'previousSlideButtonLabel'],
405
+ methods: ['scrollToSlide']
405
406
  })
406
407
  @Component({
407
408
  selector: 'swirl-carousel',
@@ -3641,14 +3642,14 @@ export declare interface SwirlShellLayout extends Components.SwirlShellLayout {}
3641
3642
 
3642
3643
  @ProxyCmp({
3643
3644
  defineCustomElementFn: undefined,
3644
- inputs: ['mainNavigationLabel', 'sidebarToggleLabel'],
3645
+ inputs: ['hideSidebar', 'mainNavigationLabel', 'sidebarToggleLabel'],
3645
3646
  methods: ['collapseSidebar', 'extendSidebar']
3646
3647
  })
3647
3648
  @Component({
3648
3649
  selector: 'swirl-shell-layout',
3649
3650
  changeDetection: ChangeDetectionStrategy.OnPush,
3650
3651
  template: '<ng-content></ng-content>',
3651
- inputs: ['mainNavigationLabel', 'sidebarToggleLabel']
3652
+ inputs: ['hideSidebar', 'mainNavigationLabel', 'sidebarToggleLabel']
3652
3653
  })
3653
3654
  export class SwirlShellLayout {
3654
3655
  protected el: HTMLElement;