@getflip/swirl-components-angular 0.98.1 → 0.100.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.
@@ -15,6 +15,10 @@ export declare class FileManager {
15
15
  static ɵcmp: i0.ɵɵComponentDeclaration<FileManager, "file-manager", never, {}, {}, never, ["*"], false>;
16
16
  }
17
17
  export declare interface SwirlAccordion extends Components.SwirlAccordion {
18
+ /**
19
+ *
20
+ */
21
+ expandedItemChange: EventEmitter<CustomEvent<string>>;
18
22
  }
19
23
  export declare class SwirlAccordion {
20
24
  protected z: NgZone;
@@ -34,7 +38,7 @@ export declare class SwirlAccordionItem {
34
38
  protected el: HTMLElement;
35
39
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
36
40
  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>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAccordionItem, "swirl-accordion-item", never, { "description": "description"; "disabled": "disabled"; "heading": "heading"; "headingLevel": "headingLevel"; "initiallyOpen": "initiallyOpen"; "itemId": "itemId"; }, {}, never, ["*"], false>;
38
42
  }
39
43
  export declare interface SwirlActionList extends Components.SwirlActionList {
40
44
  }
@@ -282,7 +286,7 @@ export declare class SwirlColorInput {
282
286
  protected el: HTMLElement;
283
287
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
284
288
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlColorInput, never>;
285
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlColorInput, "swirl-color-input", never, { "autoFocus": "autoFocus"; "autoSelect": "autoSelect"; "disabled": "disabled"; "inline": "inline"; "invalid": "invalid"; "placeholder": "placeholder"; "required": "required"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "value": "value"; }, {}, never, ["*"], false>;
289
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlColorInput, "swirl-color-input", never, { "autoFocus": "autoFocus"; "autoSelect": "autoSelect"; "disabled": "disabled"; "inline": "inline"; "invalid": "invalid"; "pickerButtonLabel": "pickerButtonLabel"; "pickerLabel": "pickerLabel"; "placeholder": "placeholder"; "required": "required"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "value": "value"; }, {}, never, ["*"], false>;
286
290
  }
287
291
  export declare interface SwirlColumns extends Components.SwirlColumns {
288
292
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.98.1",
3
+ "version": "0.100.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.1",
17
+ "@getflip/swirl-components": "^0.100.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -27,10 +27,17 @@ export class FileManager {
27
27
  }
28
28
 
29
29
 
30
- export declare interface SwirlAccordion extends Components.SwirlAccordion {}
30
+ export declare interface SwirlAccordion extends Components.SwirlAccordion {
31
+ /**
32
+ *
33
+ */
34
+ expandedItemChange: EventEmitter<CustomEvent<string>>;
35
+
36
+ }
31
37
 
32
38
  @ProxyCmp({
33
- defineCustomElementFn: undefined
39
+ defineCustomElementFn: undefined,
40
+ methods: ['collapseItem', 'expandItem']
34
41
  })
35
42
  @Component({
36
43
  selector: 'swirl-accordion',
@@ -42,6 +49,7 @@ export class SwirlAccordion {
42
49
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
43
50
  c.detach();
44
51
  this.el = r.nativeElement;
52
+ proxyOutputs(this, this.el, ['expandedItemChange']);
45
53
  }
46
54
  }
47
55
 
@@ -56,14 +64,14 @@ export declare interface SwirlAccordionItem extends Components.SwirlAccordionIte
56
64
 
57
65
  @ProxyCmp({
58
66
  defineCustomElementFn: undefined,
59
- inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen'],
67
+ inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen', 'itemId'],
60
68
  methods: ['collapse', 'expand', 'toggle']
61
69
  })
62
70
  @Component({
63
71
  selector: 'swirl-accordion-item',
64
72
  changeDetection: ChangeDetectionStrategy.OnPush,
65
73
  template: '<ng-content></ng-content>',
66
- inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen']
74
+ inputs: ['description', 'disabled', 'heading', 'headingLevel', 'initiallyOpen', 'itemId']
67
75
  })
68
76
  export class SwirlAccordionItem {
69
77
  protected el: HTMLElement;
@@ -569,13 +577,13 @@ export declare interface SwirlColorInput extends Components.SwirlColorInput {
569
577
 
570
578
  @ProxyCmp({
571
579
  defineCustomElementFn: undefined,
572
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
580
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
573
581
  })
574
582
  @Component({
575
583
  selector: 'swirl-color-input',
576
584
  changeDetection: ChangeDetectionStrategy.OnPush,
577
585
  template: '<ng-content></ng-content>',
578
- inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
586
+ inputs: ['autoFocus', 'autoSelect', 'disabled', 'inline', 'invalid', 'pickerButtonLabel', 'pickerLabel', 'placeholder', 'required', 'swirlAriaDescribedby', 'value']
579
587
  })
580
588
  export class SwirlColorInput {
581
589
  protected el: HTMLElement;