@abgov/angular-components 5.2.0-dev.3 → 5.2.0-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.
@@ -409,16 +409,18 @@ class GoabAccordion extends GoabBaseComponent {
409
409
  this.onChange.emit(detail.open);
410
410
  }
411
411
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabAccordion, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
412
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAccordion, isStandalone: true, selector: "goab-accordion", inputs: { heading: "heading", secondaryText: "secondaryText", open: ["open", "open", booleanAttribute], headingSize: "headingSize", headingContent: "headingContent", maxWidth: "maxWidth", iconPosition: "iconPosition" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
412
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabAccordion, isStandalone: true, selector: "goab-accordion", inputs: { heading: "heading", secondaryText: "secondaryText", open: ["open", "open", booleanAttribute], headingSize: "headingSize", headingContent: "headingContent", actions: "actions", maxWidth: "maxWidth", iconPosition: "iconPosition", headingType: "headingType" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
413
413
  @if (isReady) {
414
414
  <goa-accordion
415
415
  [attr.heading]="heading"
416
416
  [attr.secondarytext]="secondaryText"
417
417
  [attr.open]="open"
418
418
  [attr.headingsize]="headingSize"
419
+ [attr.heading-type]="headingType"
419
420
  [attr.maxwidth]="maxWidth"
420
421
  [attr.testid]="testId"
421
422
  [attr.iconposition]="iconPosition"
423
+ [attr.heading-type]="headingType"
422
424
  [attr.mt]="mt"
423
425
  [attr.mb]="mb"
424
426
  [attr.ml]="ml"
@@ -428,6 +430,11 @@ class GoabAccordion extends GoabBaseComponent {
428
430
  <div slot="headingcontent">
429
431
  <ng-container [ngTemplateOutlet]="headingContent"></ng-container>
430
432
  </div>
433
+ @if (actions) {
434
+ <div slot="actions">
435
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
436
+ </div>
437
+ }
431
438
  <ng-content></ng-content>
432
439
  </goa-accordion>
433
440
  }
@@ -446,9 +453,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
446
453
  [attr.secondarytext]="secondaryText"
447
454
  [attr.open]="open"
448
455
  [attr.headingsize]="headingSize"
456
+ [attr.heading-type]="headingType"
449
457
  [attr.maxwidth]="maxWidth"
450
458
  [attr.testid]="testId"
451
459
  [attr.iconposition]="iconPosition"
460
+ [attr.heading-type]="headingType"
452
461
  [attr.mt]="mt"
453
462
  [attr.mb]="mb"
454
463
  [attr.ml]="ml"
@@ -458,6 +467,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
458
467
  <div slot="headingcontent">
459
468
  <ng-container [ngTemplateOutlet]="headingContent"></ng-container>
460
469
  </div>
470
+ @if (actions) {
471
+ <div slot="actions">
472
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
473
+ </div>
474
+ }
461
475
  <ng-content></ng-content>
462
476
  </goa-accordion>
463
477
  }
@@ -475,10 +489,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
475
489
  type: Input
476
490
  }], headingContent: [{
477
491
  type: Input
492
+ }], actions: [{
493
+ type: Input
478
494
  }], maxWidth: [{
479
495
  type: Input
480
496
  }], iconPosition: [{
481
497
  type: Input
498
+ }], headingType: [{
499
+ type: Input
482
500
  }], onChange: [{
483
501
  type: Output
484
502
  }] } });
@@ -6866,7 +6884,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6866
6884
  class GoabWorkSideMenuItem {
6867
6885
  constructor() {
6868
6886
  this.cdr = inject(ChangeDetectorRef);
6869
- /** Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
6887
+ /** @deprecated Use trailingContent instead. Sets the visual style of the badge. Use "emergency" for urgent items, "success" for positive status. @default "normal" */
6870
6888
  this.type = "normal";
6871
6889
  this.isReady = false;
6872
6890
  }
@@ -6879,7 +6897,7 @@ class GoabWorkSideMenuItem {
6879
6897
  }, 0);
6880
6898
  }
6881
6899
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6882
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideMenuItem, isStandalone: true, selector: "goab-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type", popoverContent: "popoverContent" }, ngImport: i0, template: `
6900
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: GoabWorkSideMenuItem, isStandalone: true, selector: "goab-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type", popoverContent: "popoverContent", trailingContent: "trailingContent" }, ngImport: i0, template: `
6883
6901
  @if (isReady) {
6884
6902
  <goa-work-side-menu-item
6885
6903
  [attr.label]="label"
@@ -6896,6 +6914,11 @@ class GoabWorkSideMenuItem {
6896
6914
  <ng-container [ngTemplateOutlet]="popoverContent"></ng-container>
6897
6915
  </div>
6898
6916
  }
6917
+ @if (trailingContent) {
6918
+ <div slot="trailingContent">
6919
+ <ng-container [ngTemplateOutlet]="trailingContent"></ng-container>
6920
+ </div>
6921
+ }
6899
6922
  <ng-content />
6900
6923
  </goa-work-side-menu-item>
6901
6924
  }
@@ -6924,6 +6947,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6924
6947
  <ng-container [ngTemplateOutlet]="popoverContent"></ng-container>
6925
6948
  </div>
6926
6949
  }
6950
+ @if (trailingContent) {
6951
+ <div slot="trailingContent">
6952
+ <ng-container [ngTemplateOutlet]="trailingContent"></ng-container>
6953
+ </div>
6954
+ }
6927
6955
  <ng-content />
6928
6956
  </goa-work-side-menu-item>
6929
6957
  }
@@ -6949,6 +6977,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6949
6977
  type: Input
6950
6978
  }], popoverContent: [{
6951
6979
  type: Input
6980
+ }], trailingContent: [{
6981
+ type: Input
6952
6982
  }] } });
6953
6983
 
6954
6984
  /** Displays an individual notification item in the work-side notification panel. */