@getflip/swirl-components-angular 0.75.0 → 0.77.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.
@@ -228,13 +228,17 @@ export declare class SwirlCheckbox {
228
228
  static ɵcmp: i0.ɵɵComponentDeclaration<SwirlCheckbox, "swirl-checkbox", never, { "checked": "checked"; "description": "description"; "disabled": "disabled"; "inputId": "inputId"; "inputName": "inputName"; "invalid": "invalid"; "label": "label"; "labelWeight": "labelWeight"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "swirlAriaLabel": "swirlAriaLabel"; "value": "value"; }, {}, never, ["*"], false>;
229
229
  }
230
230
  export declare interface SwirlChip extends Components.SwirlChip {
231
+ /**
232
+ *
233
+ */
234
+ remove: EventEmitter<CustomEvent<MouseEvent>>;
231
235
  }
232
236
  export declare class SwirlChip {
233
237
  protected z: NgZone;
234
238
  protected el: HTMLElement;
235
239
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
236
240
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlChip, never>;
237
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlChip, "swirl-chip", never, { "icon": "icon"; "intent": "intent"; "interactive": "interactive"; "label": "label"; "variant": "variant"; }, {}, never, ["*"], false>;
241
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlChip, "swirl-chip", never, { "borderRadius": "borderRadius"; "icon": "icon"; "intent": "intent"; "interactive": "interactive"; "label": "label"; "removable": "removable"; "removeButtonLabel": "removeButtonLabel"; "variant": "variant"; }, {}, never, ["*"], false>;
238
242
  }
239
243
  export declare interface SwirlColumns extends Components.SwirlColumns {
240
244
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.75.0",
3
+ "version": "0.77.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.76.0",
17
+ "@getflip/swirl-components": "^0.78.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -475,23 +475,30 @@ export class SwirlCheckbox {
475
475
  }
476
476
 
477
477
 
478
- export declare interface SwirlChip extends Components.SwirlChip {}
478
+ export declare interface SwirlChip extends Components.SwirlChip {
479
+ /**
480
+ *
481
+ */
482
+ remove: EventEmitter<CustomEvent<MouseEvent>>;
483
+
484
+ }
479
485
 
480
486
  @ProxyCmp({
481
487
  defineCustomElementFn: undefined,
482
- inputs: ['icon', 'intent', 'interactive', 'label', 'variant']
488
+ inputs: ['borderRadius', 'icon', 'intent', 'interactive', 'label', 'removable', 'removeButtonLabel', 'variant']
483
489
  })
484
490
  @Component({
485
491
  selector: 'swirl-chip',
486
492
  changeDetection: ChangeDetectionStrategy.OnPush,
487
493
  template: '<ng-content></ng-content>',
488
- inputs: ['icon', 'intent', 'interactive', 'label', 'variant']
494
+ inputs: ['borderRadius', 'icon', 'intent', 'interactive', 'label', 'removable', 'removeButtonLabel', 'variant']
489
495
  })
490
496
  export class SwirlChip {
491
497
  protected el: HTMLElement;
492
498
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
493
499
  c.detach();
494
500
  this.el = r.nativeElement;
501
+ proxyOutputs(this, this.el, ['remove']);
495
502
  }
496
503
  }
497
504