@getflip/swirl-components-angular 0.98.0 → 0.99.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.
@@ -34,7 +34,7 @@ export declare class SwirlAccordionItem {
34
34
  protected el: HTMLElement;
35
35
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlAccordionItem, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAccordionItem, "swirl-accordion-item", never, { "description": "description"; "disabled": "disabled"; "heading": "heading"; "headingLevel": "headingLevel"; "initiallyOpen": "initiallyOpen"; }, {}, never, ["*"], false>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAccordionItem, "swirl-accordion-item", never, { "description": "description"; "disabled": "disabled"; "heading": "heading"; "headingLevel": "headingLevel"; "initiallyOpen": "initiallyOpen"; "itemId": "itemId"; }, {}, never, ["*"], false>;
38
38
  }
39
39
  export declare interface SwirlActionList extends Components.SwirlActionList {
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.98.0",
3
+ "version": "0.99.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.98.0",
17
+ "@getflip/swirl-components": "^0.99.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -30,7 +30,8 @@ export class FileManager {
30
30
  export declare interface SwirlAccordion extends Components.SwirlAccordion {}
31
31
 
32
32
  @ProxyCmp({
33
- defineCustomElementFn: undefined
33
+ defineCustomElementFn: undefined,
34
+ methods: ['collapseItem', 'expandItem']
34
35
  })
35
36
  @Component({
36
37
  selector: 'swirl-accordion',
@@ -56,14 +57,14 @@ export declare interface SwirlAccordionItem extends Components.SwirlAccordionIte
56
57
 
57
58
  @ProxyCmp({
58
59
  defineCustomElementFn: undefined,
59
- inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen'],
60
+ inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen', 'itemId'],
60
61
  methods: ['collapse', 'expand', 'toggle']
61
62
  })
62
63
  @Component({
63
64
  selector: 'swirl-accordion-item',
64
65
  changeDetection: ChangeDetectionStrategy.OnPush,
65
66
  template: '<ng-content></ng-content>',
66
- inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen']
67
+ inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen', 'itemId']
67
68
  })
68
69
  export class SwirlAccordionItem {
69
70
  protected el: HTMLElement;