@abgov/angular-components 5.2.0-dev.2 → 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
  }] } });
@@ -6180,6 +6198,7 @@ class GoabTableSortHeader {
6180
6198
  constructor() {
6181
6199
  this.cdr = inject(ChangeDetectorRef);
6182
6200
  this.isReady = false;
6201
+ this.version = "2";
6183
6202
  /** Sets the sort direction indicator. @default "none" */
6184
6203
  this.direction = "none";
6185
6204
  }
@@ -6196,6 +6215,7 @@ class GoabTableSortHeader {
6196
6215
  [attr.name]="name"
6197
6216
  [attr.direction]="direction"
6198
6217
  [attr.sort-order]="sortOrder"
6218
+ [attr.version]="version"
6199
6219
  >
6200
6220
  <ng-content />
6201
6221
  </goa-table-sort-header>
@@ -6213,6 +6233,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6213
6233
  [attr.name]="name"
6214
6234
  [attr.direction]="direction"
6215
6235
  [attr.sort-order]="sortOrder"
6236
+ [attr.version]="version"
6216
6237
  >
6217
6238
  <ng-content />
6218
6239
  </goa-table-sort-header>
@@ -6863,7 +6884,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6863
6884
  class GoabWorkSideMenuItem {
6864
6885
  constructor() {
6865
6886
  this.cdr = inject(ChangeDetectorRef);
6866
- /** 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" */
6867
6888
  this.type = "normal";
6868
6889
  this.isReady = false;
6869
6890
  }
@@ -6876,7 +6897,7 @@ class GoabWorkSideMenuItem {
6876
6897
  }, 0);
6877
6898
  }
6878
6899
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: GoabWorkSideMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6879
- 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: `
6880
6901
  @if (isReady) {
6881
6902
  <goa-work-side-menu-item
6882
6903
  [attr.label]="label"
@@ -6893,6 +6914,11 @@ class GoabWorkSideMenuItem {
6893
6914
  <ng-container [ngTemplateOutlet]="popoverContent"></ng-container>
6894
6915
  </div>
6895
6916
  }
6917
+ @if (trailingContent) {
6918
+ <div slot="trailingContent">
6919
+ <ng-container [ngTemplateOutlet]="trailingContent"></ng-container>
6920
+ </div>
6921
+ }
6896
6922
  <ng-content />
6897
6923
  </goa-work-side-menu-item>
6898
6924
  }
@@ -6921,6 +6947,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6921
6947
  <ng-container [ngTemplateOutlet]="popoverContent"></ng-container>
6922
6948
  </div>
6923
6949
  }
6950
+ @if (trailingContent) {
6951
+ <div slot="trailingContent">
6952
+ <ng-container [ngTemplateOutlet]="trailingContent"></ng-container>
6953
+ </div>
6954
+ }
6924
6955
  <ng-content />
6925
6956
  </goa-work-side-menu-item>
6926
6957
  }
@@ -6946,6 +6977,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
6946
6977
  type: Input
6947
6978
  }], popoverContent: [{
6948
6979
  type: Input
6980
+ }], trailingContent: [{
6981
+ type: Input
6949
6982
  }] } });
6950
6983
 
6951
6984
  /** Displays an individual notification item in the work-side notification panel. */