@abgov/angular-components 4.9.1-dev.2 → 4.9.1-dev.4

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.
@@ -475,7 +475,7 @@ class GoabBadge extends GoabBaseComponent {
475
475
  <goa-badge
476
476
  *ngIf="isReady"
477
477
  [attr.type]="type"
478
- [attr.icon]="icon"
478
+ [attr.icon]="icon ? 'true' : 'false'"
479
479
  [attr.icontype]="iconType"
480
480
  [attr.arialabel]="ariaLabel"
481
481
  [attr.content]="content"
@@ -494,7 +494,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
494
494
  <goa-badge
495
495
  *ngIf="isReady"
496
496
  [attr.type]="type"
497
- [attr.icon]="icon"
497
+ [attr.icon]="icon ? 'true' : 'false'"
498
498
  [attr.icontype]="iconType"
499
499
  [attr.arialabel]="ariaLabel"
500
500
  [attr.content]="content"
@@ -1621,6 +1621,9 @@ class GoabDatePicker extends GoabControlValueAccessor {
1621
1621
  this.isReady = true;
1622
1622
  this.cdr.detectChanges();
1623
1623
  }, 0);
1624
+ if (this.value && typeof this.value !== "string") {
1625
+ console.warn("Using a `Date` type for value is deprecated. Instead use a string of the format `yyyy-mm-dd`");
1626
+ }
1624
1627
  }
1625
1628
  setDisabledState(isDisabled) {
1626
1629
  this.disabled = isDisabled;