@getflip/swirl-components-angular 0.162.0 → 0.164.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.
@@ -140,13 +140,21 @@ export declare class SwirlAutocomplete {
140
140
  static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAutocomplete, "swirl-autocomplete", never, { "autoSelect": "autoSelect"; "clearButtonLabel": "clearButtonLabel"; "clearable": "clearable"; "disabled": "disabled"; "generateSuggestions": "generateSuggestions"; "inline": "inline"; "invalid": "invalid"; "maxLength": "maxLength"; "menuLabel": "menuLabel"; "mode": "mode"; "multiSelect": "multiSelect"; "placeholder": "placeholder"; "required": "required"; "spellCheck": "spellCheck"; "swirlAriaDescribedby": "swirlAriaDescribedby"; "value": "value"; }, {}, never, ["*"], false>;
141
141
  }
142
142
  export declare interface SwirlAvatar extends Components.SwirlAvatar {
143
+ /**
144
+ *
145
+ */
146
+ imageError: EventEmitter<CustomEvent<void>>;
147
+ /**
148
+ *
149
+ */
150
+ imageLoad: EventEmitter<CustomEvent<void>>;
143
151
  }
144
152
  export declare class SwirlAvatar {
145
153
  protected z: NgZone;
146
154
  protected el: HTMLElement;
147
155
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
148
156
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlAvatar, never>;
149
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAvatar, "swirl-avatar", never, { "badge": "badge"; "badgePosition": "badgePosition"; "color": "color"; "icon": "icon"; "initials": "initials"; "interactive": "interactive"; "label": "label"; "showLabel": "showLabel"; "size": "size"; "src": "src"; "toolPosition": "toolPosition"; "variant": "variant"; }, {}, never, ["*"], false>;
157
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlAvatar, "swirl-avatar", never, { "badge": "badge"; "badgePosition": "badgePosition"; "color": "color"; "icon": "icon"; "initials": "initials"; "interactive": "interactive"; "label": "label"; "loading": "loading"; "showLabel": "showLabel"; "size": "size"; "src": "src"; "toolPosition": "toolPosition"; "variant": "variant"; }, {}, never, ["*"], false>;
150
158
  }
151
159
  export declare interface SwirlAvatarGroup extends Components.SwirlAvatarGroup {
152
160
  }
@@ -190,7 +198,7 @@ export declare class SwirlBox {
190
198
  protected el: HTMLElement;
191
199
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
192
200
  static ɵfac: i0.ɵɵFactoryDeclaration<SwirlBox, never>;
193
- static ɵcmp: i0.ɵɵComponentDeclaration<SwirlBox, "swirl-box", never, { "bordered": "bordered"; "borderedBlockEnd": "borderedBlockEnd"; "borderedBlockStart": "borderedBlockStart"; "borderedInlineEnd": "borderedInlineEnd"; "borderedInlineStart": "borderedInlineStart"; "bottom": "bottom"; "centerBlock": "centerBlock"; "centerInline": "centerInline"; "cover": "cover"; "height": "height"; "left": "left"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "overflow": "overflow"; "padding": "padding"; "paddingBlockEnd": "paddingBlockEnd"; "paddingBlockStart": "paddingBlockStart"; "paddingInlineEnd": "paddingInlineEnd"; "paddingInlineStart": "paddingInlineStart"; "position": "position"; "right": "right"; "shrink": "shrink"; "top": "top"; "width": "width"; "zIndex": "zIndex"; }, {}, never, ["*"], false>;
201
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwirlBox, "swirl-box", never, { "basis": "basis"; "bordered": "bordered"; "borderedBlockEnd": "borderedBlockEnd"; "borderedBlockStart": "borderedBlockStart"; "borderedInlineEnd": "borderedInlineEnd"; "borderedInlineStart": "borderedInlineStart"; "bottom": "bottom"; "centerBlock": "centerBlock"; "centerInline": "centerInline"; "cover": "cover"; "grow": "grow"; "height": "height"; "left": "left"; "maxHeight": "maxHeight"; "maxWidth": "maxWidth"; "minHeight": "minHeight"; "minWidth": "minWidth"; "overflow": "overflow"; "padding": "padding"; "paddingBlockEnd": "paddingBlockEnd"; "paddingBlockStart": "paddingBlockStart"; "paddingInlineEnd": "paddingInlineEnd"; "paddingInlineStart": "paddingInlineStart"; "position": "position"; "right": "right"; "shrink": "shrink"; "top": "top"; "width": "width"; "zIndex": "zIndex"; }, {}, never, ["*"], false>;
194
202
  }
195
203
  export declare interface SwirlButton extends Components.SwirlButton {
196
204
  }
@@ -1995,6 +2003,14 @@ export declare class SwirlImageGrid {
1995
2003
  static ɵcmp: i0.ɵɵComponentDeclaration<SwirlImageGrid, "swirl-image-grid", never, { "aspectRatio": "aspectRatio"; "label": "label"; }, {}, never, ["*"], false>;
1996
2004
  }
1997
2005
  export declare interface SwirlImageGridItem extends Components.SwirlImageGridItem {
2006
+ /**
2007
+ *
2008
+ */
2009
+ imageError: EventEmitter<CustomEvent<void>>;
2010
+ /**
2011
+ *
2012
+ */
2013
+ imageLoad: EventEmitter<CustomEvent<void>>;
1998
2014
  }
1999
2015
  export declare class SwirlImageGridItem {
2000
2016
  protected z: NgZone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getflip/swirl-components-angular",
3
- "version": "0.162.0",
3
+ "version": "0.164.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.162.0",
17
+ "@getflip/swirl-components": "^0.164.0",
18
18
  "rxjs": "~7.5.0",
19
19
  "tslib": "^2.3.0",
20
20
  "zone.js": "~0.11.4"
@@ -274,23 +274,34 @@ export class SwirlAutocomplete {
274
274
  }
275
275
 
276
276
 
277
- export declare interface SwirlAvatar extends Components.SwirlAvatar {}
277
+ export declare interface SwirlAvatar extends Components.SwirlAvatar {
278
+ /**
279
+ *
280
+ */
281
+ imageError: EventEmitter<CustomEvent<void>>;
282
+ /**
283
+ *
284
+ */
285
+ imageLoad: EventEmitter<CustomEvent<void>>;
286
+
287
+ }
278
288
 
279
289
  @ProxyCmp({
280
290
  defineCustomElementFn: undefined,
281
- inputs: ['badge', 'badgePosition', 'color', 'icon', 'initials', 'interactive', 'label', 'showLabel', 'size', 'src', 'toolPosition', 'variant']
291
+ inputs: ['badge', 'badgePosition', 'color', 'icon', 'initials', 'interactive', 'label', 'loading', 'showLabel', 'size', 'src', 'toolPosition', 'variant']
282
292
  })
283
293
  @Component({
284
294
  selector: 'swirl-avatar',
285
295
  changeDetection: ChangeDetectionStrategy.OnPush,
286
296
  template: '<ng-content></ng-content>',
287
- inputs: ['badge', 'badgePosition', 'color', 'icon', 'initials', 'interactive', 'label', 'showLabel', 'size', 'src', 'toolPosition', 'variant']
297
+ inputs: ['badge', 'badgePosition', 'color', 'icon', 'initials', 'interactive', 'label', 'loading', 'showLabel', 'size', 'src', 'toolPosition', 'variant']
288
298
  })
289
299
  export class SwirlAvatar {
290
300
  protected el: HTMLElement;
291
301
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
292
302
  c.detach();
293
303
  this.el = r.nativeElement;
304
+ proxyOutputs(this, this.el, ['imageError', 'imageLoad']);
294
305
  }
295
306
  }
296
307
 
@@ -373,13 +384,13 @@ export declare interface SwirlBox extends Components.SwirlBox {}
373
384
 
374
385
  @ProxyCmp({
375
386
  defineCustomElementFn: undefined,
376
- inputs: ['bordered', 'borderedBlockEnd', 'borderedBlockStart', 'borderedInlineEnd', 'borderedInlineStart', 'bottom', 'centerBlock', 'centerInline', 'cover', 'height', 'left', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'overflow', 'padding', 'paddingBlockEnd', 'paddingBlockStart', 'paddingInlineEnd', 'paddingInlineStart', 'position', 'right', 'shrink', 'top', 'width', 'zIndex']
387
+ inputs: ['basis', 'bordered', 'borderedBlockEnd', 'borderedBlockStart', 'borderedInlineEnd', 'borderedInlineStart', 'bottom', 'centerBlock', 'centerInline', 'cover', 'grow', 'height', 'left', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'overflow', 'padding', 'paddingBlockEnd', 'paddingBlockStart', 'paddingInlineEnd', 'paddingInlineStart', 'position', 'right', 'shrink', 'top', 'width', 'zIndex']
377
388
  })
378
389
  @Component({
379
390
  selector: 'swirl-box',
380
391
  changeDetection: ChangeDetectionStrategy.OnPush,
381
392
  template: '<ng-content></ng-content>',
382
- inputs: ['bordered', 'borderedBlockEnd', 'borderedBlockStart', 'borderedInlineEnd', 'borderedInlineStart', 'bottom', 'centerBlock', 'centerInline', 'cover', 'height', 'left', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'overflow', 'padding', 'paddingBlockEnd', 'paddingBlockStart', 'paddingInlineEnd', 'paddingInlineStart', 'position', 'right', 'shrink', 'top', 'width', 'zIndex']
393
+ inputs: ['basis', 'bordered', 'borderedBlockEnd', 'borderedBlockStart', 'borderedInlineEnd', 'borderedInlineStart', 'bottom', 'centerBlock', 'centerInline', 'cover', 'grow', 'height', 'left', 'maxHeight', 'maxWidth', 'minHeight', 'minWidth', 'overflow', 'padding', 'paddingBlockEnd', 'paddingBlockStart', 'paddingInlineEnd', 'paddingInlineStart', 'position', 'right', 'shrink', 'top', 'width', 'zIndex']
383
394
  })
384
395
  export class SwirlBox {
385
396
  protected el: HTMLElement;
@@ -4525,7 +4536,17 @@ export class SwirlImageGrid {
4525
4536
  }
4526
4537
 
4527
4538
 
4528
- export declare interface SwirlImageGridItem extends Components.SwirlImageGridItem {}
4539
+ export declare interface SwirlImageGridItem extends Components.SwirlImageGridItem {
4540
+ /**
4541
+ *
4542
+ */
4543
+ imageError: EventEmitter<CustomEvent<void>>;
4544
+ /**
4545
+ *
4546
+ */
4547
+ imageLoad: EventEmitter<CustomEvent<void>>;
4548
+
4549
+ }
4529
4550
 
4530
4551
  @ProxyCmp({
4531
4552
  defineCustomElementFn: undefined,
@@ -4542,6 +4563,7 @@ export class SwirlImageGridItem {
4542
4563
  constructor(c: ChangeDetectorRef, r: ElementRef, protected z: NgZone) {
4543
4564
  c.detach();
4544
4565
  this.el = r.nativeElement;
4566
+ proxyOutputs(this, this.el, ['imageError', 'imageLoad']);
4545
4567
  }
4546
4568
  }
4547
4569