@sebgroup/green-core-ng 3.11.0 → 3.12.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.
@@ -1,11 +1,11 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, ElementRef, NgZone, ChangeDetectorRef, booleanAttribute, Input, ChangeDetectionStrategy, Component, EventEmitter, Output, Renderer2, Injector, Directive, DestroyRef, forwardRef, NgModule, InjectionToken, ViewContainerRef, TemplateRef, Injectable, RendererFactory2 } from '@angular/core';
4
- import { GdsAvatar } from '@sebgroup/green-core/components/avatar/avatar.component.js';
3
+ import { inject, ElementRef, NgZone, ChangeDetectorRef, EventEmitter, booleanAttribute, Output, Input, ChangeDetectionStrategy, Component, Renderer2, Injector, Directive, DestroyRef, forwardRef, NgModule, InjectionToken, ViewContainerRef, TemplateRef, Injectable, RendererFactory2 } from '@angular/core';
5
4
  import { GdsAlert } from '@sebgroup/green-core/components/alert/alert.component.js';
5
+ import { GdsAvatar } from '@sebgroup/green-core/components/avatar/avatar.component.js';
6
+ import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
6
7
  import { GdsBlur } from '@sebgroup/green-core/components/blur/blur.component.js';
7
8
  import { GdsBreadcrumbs } from '@sebgroup/green-core/components/breadcrumbs/breadcrumbs.component.js';
8
- import { GdsBadge } from '@sebgroup/green-core/components/badge/badge.component.js';
9
9
  import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
10
10
  import { LocationStrategy, DOCUMENT, CommonModule } from '@angular/common';
11
11
  import { Router, RouterLink, RouterLinkActive, NavigationEnd } from '@angular/router';
@@ -50,8 +50,8 @@ import { GdsTextarea } from '@sebgroup/green-core/components/textarea/textarea.c
50
50
  import { GdsTheme } from '@sebgroup/green-core/components/theme/theme.component.js';
51
51
  import { GdsVideo } from '@sebgroup/green-core/components/video/video.component.js';
52
52
  import { GdsCardPattern01 } from '@sebgroup/green-core/patterns/card-pattern-01/card-pattern-01.component.js';
53
- import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
54
53
  import { GdsAvatarGroup } from '@sebgroup/green-core/components/avatar/avatar-group/avatar-group.component.js';
54
+ import { GdsBreadcrumb } from '@sebgroup/green-core/components/breadcrumbs/breadcrumb/breadcrumb.component.js';
55
55
  import { GdsCheckboxGroup } from '@sebgroup/green-core/components/checkbox/checkbox-group/checkbox-group.component.js';
56
56
  import { GdsIconDetails } from '@sebgroup/green-core/components/details/details-icon/details-icon.component.js';
57
57
  import { GdsFilterChip } from '@sebgroup/green-core/components/filter-chips/filter-chip/filter-chip.component.js';
@@ -437,6 +437,91 @@ function ProxyInputs(inputNames) {
437
437
  };
438
438
  }
439
439
 
440
+ /**
441
+ * Angular wrapper for the gds-alert web component
442
+ *
443
+ */
444
+ let GdsAlertComponent = class GdsAlertComponent {
445
+ get element() {
446
+ return this.elementRef.nativeElement;
447
+ }
448
+ constructor() {
449
+ this.elementRef = inject((ElementRef));
450
+ this.zone = inject(NgZone);
451
+ this.cdr = inject(ChangeDetectorRef);
452
+ /** Fired when alert is dismissed */
453
+ this.gdsClose = new EventEmitter();
454
+ /** Fired when action button is clicked */
455
+ this.gdsAction = new EventEmitter();
456
+ this.cdr.detach();
457
+ }
458
+ ngOnInit() {
459
+ // Define the custom element
460
+ try {
461
+ GdsAlert.define();
462
+ }
463
+ catch (e) {
464
+ // Component may not be available in this version of green-core
465
+ console.warn('Failed to define gds-alert:', e);
466
+ }
467
+ // Set up event listeners
468
+ this.elementRef.nativeElement.addEventListener('gds-close', (event) => {
469
+ this.gdsClose.emit(event);
470
+ });
471
+ this.elementRef.nativeElement.addEventListener('gds-action', (event) => {
472
+ this.gdsAction.emit(event);
473
+ });
474
+ }
475
+ ngOnChanges(changes) {
476
+ // Implementation added by @ProxyInputs decorator
477
+ }
478
+ ngAfterViewInit() {
479
+ // Implementation added by @ProxyInputs decorator
480
+ }
481
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
482
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsAlertComponent, isStandalone: true, selector: "gds-alert", inputs: { variant: "variant", label: "label", role: "role", dismissible: ["dismissible", "dismissible", booleanAttribute], timeout: "timeout", buttonLabel: "buttonLabel", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsClose: "gdsClose", gdsAction: "gdsAction" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
483
+ };
484
+ GdsAlertComponent = __decorate([
485
+ ProxyInputs(['variant', 'label', 'role', 'dismissible', 'timeout', 'buttonLabel', 'syncFirstRender']),
486
+ __metadata("design:paramtypes", [])
487
+ ], GdsAlertComponent);
488
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAlertComponent, decorators: [{
489
+ type: Component,
490
+ args: [{
491
+ selector: 'gds-alert',
492
+ standalone: true,
493
+ changeDetection: ChangeDetectionStrategy.OnPush,
494
+ template: `<ng-content></ng-content>`
495
+ }]
496
+ }], ctorParameters: () => [], propDecorators: { variant: [{
497
+ type: Input
498
+ }], label: [{
499
+ type: Input
500
+ }], role: [{
501
+ type: Input
502
+ }], dismissible: [{
503
+ type: Input,
504
+ args: [{ transform: booleanAttribute }]
505
+ }], timeout: [{
506
+ type: Input
507
+ }], buttonLabel: [{
508
+ type: Input
509
+ }], syncFirstRender: [{
510
+ type: Input,
511
+ args: [{ transform: booleanAttribute }]
512
+ }], gdsClose: [{
513
+ type: Output
514
+ }], gdsAction: [{
515
+ type: Output
516
+ }] } });
517
+
518
+ /**
519
+ * GdsAlertComponent - Angular wrapper for gds-alert
520
+ *
521
+ *
522
+ * Auto-generated from Custom Elements Manifest
523
+ */
524
+
440
525
  /**
441
526
  * Angular wrapper for the gds-avatar web component
442
527
  * `gds-avatar` is a visual element used to represent a user or entity.
@@ -545,10 +630,10 @@ It supports displaying an image, slotted text content, or a fallback icon.
545
630
  */
546
631
 
547
632
  /**
548
- * Angular wrapper for the gds-alert web component
549
- *
633
+ * Angular wrapper for the gds-badge web component
634
+ * `gds-badge`
550
635
  */
551
- let GdsAlertComponent = class GdsAlertComponent {
636
+ let GdsBadgeComponent = class GdsBadgeComponent {
552
637
  get element() {
553
638
  return this.elementRef.nativeElement;
554
639
  }
@@ -556,28 +641,17 @@ let GdsAlertComponent = class GdsAlertComponent {
556
641
  this.elementRef = inject((ElementRef));
557
642
  this.zone = inject(NgZone);
558
643
  this.cdr = inject(ChangeDetectorRef);
559
- /** Fired when alert is dismissed */
560
- this.gdsClose = new EventEmitter();
561
- /** Fired when action button is clicked */
562
- this.gdsAction = new EventEmitter();
563
644
  this.cdr.detach();
564
645
  }
565
646
  ngOnInit() {
566
647
  // Define the custom element
567
648
  try {
568
- GdsAlert.define();
649
+ GdsBadge.define();
569
650
  }
570
651
  catch (e) {
571
652
  // Component may not be available in this version of green-core
572
- console.warn('Failed to define gds-alert:', e);
653
+ console.warn('Failed to define gds-badge:', e);
573
654
  }
574
- // Set up event listeners
575
- this.elementRef.nativeElement.addEventListener('gds-close', (event) => {
576
- this.gdsClose.emit(event);
577
- });
578
- this.elementRef.nativeElement.addEventListener('gds-action', (event) => {
579
- this.gdsAction.emit(event);
580
- });
581
655
  }
582
656
  ngOnChanges(changes) {
583
657
  // Implementation added by @ProxyInputs decorator
@@ -585,46 +659,79 @@ let GdsAlertComponent = class GdsAlertComponent {
585
659
  ngAfterViewInit() {
586
660
  // Implementation added by @ProxyInputs decorator
587
661
  }
588
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
589
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsAlertComponent, isStandalone: true, selector: "gds-alert", inputs: { variant: "variant", label: "label", role: "role", dismissible: ["dismissible", "dismissible", booleanAttribute], timeout: "timeout", buttonLabel: "buttonLabel", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsClose: "gdsClose", gdsAction: "gdsAction" }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
662
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
663
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsBadgeComponent, isStandalone: true, selector: "gds-badge", inputs: { variant: "variant", size: "size", notification: ["notification", "notification", booleanAttribute], rounded: ["rounded", "rounded", booleanAttribute], mainSlotOccupied: ["mainSlotOccupied", "mainSlotOccupied", booleanAttribute], leadSlotOccupied: ["leadSlotOccupied", "leadSlotOccupied", booleanAttribute], width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
590
664
  };
591
- GdsAlertComponent = __decorate([
592
- ProxyInputs(['variant', 'label', 'role', 'dismissible', 'timeout', 'buttonLabel', 'syncFirstRender']),
665
+ GdsBadgeComponent = __decorate([
666
+ ProxyInputs(['variant', 'size', 'notification', 'rounded', 'mainSlotOccupied', 'leadSlotOccupied', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
593
667
  __metadata("design:paramtypes", [])
594
- ], GdsAlertComponent);
595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAlertComponent, decorators: [{
668
+ ], GdsBadgeComponent);
669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBadgeComponent, decorators: [{
596
670
  type: Component,
597
671
  args: [{
598
- selector: 'gds-alert',
672
+ selector: 'gds-badge',
599
673
  standalone: true,
600
674
  changeDetection: ChangeDetectionStrategy.OnPush,
601
675
  template: `<ng-content></ng-content>`
602
676
  }]
603
677
  }], ctorParameters: () => [], propDecorators: { variant: [{
604
678
  type: Input
605
- }], label: [{
606
- type: Input
607
- }], role: [{
679
+ }], size: [{
608
680
  type: Input
609
- }], dismissible: [{
681
+ }], notification: [{
610
682
  type: Input,
611
683
  args: [{ transform: booleanAttribute }]
612
- }], timeout: [{
684
+ }], rounded: [{
685
+ type: Input,
686
+ args: [{ transform: booleanAttribute }]
687
+ }], mainSlotOccupied: [{
688
+ type: Input,
689
+ args: [{ transform: booleanAttribute }]
690
+ }], leadSlotOccupied: [{
691
+ type: Input,
692
+ args: [{ transform: booleanAttribute }]
693
+ }], width: [{
613
694
  type: Input
614
- }], buttonLabel: [{
695
+ }], minWidth: [{
696
+ type: Input
697
+ }], maxWidth: [{
698
+ type: Input
699
+ }], inlineSize: [{
700
+ type: Input
701
+ }], minInlineSize: [{
702
+ type: Input
703
+ }], maxInlineSize: [{
704
+ type: Input
705
+ }], margin: [{
706
+ type: Input
707
+ }], marginInline: [{
708
+ type: Input
709
+ }], marginBlock: [{
710
+ type: Input
711
+ }], alignSelf: [{
712
+ type: Input
713
+ }], justifySelf: [{
714
+ type: Input
715
+ }], placeSelf: [{
716
+ type: Input
717
+ }], gridColumn: [{
718
+ type: Input
719
+ }], gridRow: [{
720
+ type: Input
721
+ }], gridArea: [{
722
+ type: Input
723
+ }], flex: [{
724
+ type: Input
725
+ }], order: [{
615
726
  type: Input
616
727
  }], syncFirstRender: [{
617
728
  type: Input,
618
729
  args: [{ transform: booleanAttribute }]
619
- }], gdsClose: [{
620
- type: Output
621
- }], gdsAction: [{
622
- type: Output
623
730
  }] } });
624
731
 
625
732
  /**
626
- * GdsAlertComponent - Angular wrapper for gds-alert
627
- *
733
+ * GdsBadgeComponent - Angular wrapper for gds-badge
734
+ * `gds-badge`
628
735
  *
629
736
  * Auto-generated from Custom Elements Manifest
630
737
  */
@@ -781,113 +888,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
781
888
  * Auto-generated from Custom Elements Manifest
782
889
  */
783
890
 
784
- /**
785
- * Angular wrapper for the gds-badge web component
786
- * `gds-badge`
787
- */
788
- let GdsBadgeComponent = class GdsBadgeComponent {
789
- get element() {
790
- return this.elementRef.nativeElement;
791
- }
792
- constructor() {
793
- this.elementRef = inject((ElementRef));
794
- this.zone = inject(NgZone);
795
- this.cdr = inject(ChangeDetectorRef);
796
- this.cdr.detach();
797
- }
798
- ngOnInit() {
799
- // Define the custom element
800
- try {
801
- GdsBadge.define();
802
- }
803
- catch (e) {
804
- // Component may not be available in this version of green-core
805
- console.warn('Failed to define gds-badge:', e);
806
- }
807
- }
808
- ngOnChanges(changes) {
809
- // Implementation added by @ProxyInputs decorator
810
- }
811
- ngAfterViewInit() {
812
- // Implementation added by @ProxyInputs decorator
813
- }
814
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
815
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsBadgeComponent, isStandalone: true, selector: "gds-badge", inputs: { variant: "variant", size: "size", notification: ["notification", "notification", booleanAttribute], rounded: ["rounded", "rounded", booleanAttribute], mainSlotOccupied: ["mainSlotOccupied", "mainSlotOccupied", booleanAttribute], leadSlotOccupied: ["leadSlotOccupied", "leadSlotOccupied", booleanAttribute], width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
816
- };
817
- GdsBadgeComponent = __decorate([
818
- ProxyInputs(['variant', 'size', 'notification', 'rounded', 'mainSlotOccupied', 'leadSlotOccupied', 'width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
819
- __metadata("design:paramtypes", [])
820
- ], GdsBadgeComponent);
821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsBadgeComponent, decorators: [{
822
- type: Component,
823
- args: [{
824
- selector: 'gds-badge',
825
- standalone: true,
826
- changeDetection: ChangeDetectionStrategy.OnPush,
827
- template: `<ng-content></ng-content>`
828
- }]
829
- }], ctorParameters: () => [], propDecorators: { variant: [{
830
- type: Input
831
- }], size: [{
832
- type: Input
833
- }], notification: [{
834
- type: Input,
835
- args: [{ transform: booleanAttribute }]
836
- }], rounded: [{
837
- type: Input,
838
- args: [{ transform: booleanAttribute }]
839
- }], mainSlotOccupied: [{
840
- type: Input,
841
- args: [{ transform: booleanAttribute }]
842
- }], leadSlotOccupied: [{
843
- type: Input,
844
- args: [{ transform: booleanAttribute }]
845
- }], width: [{
846
- type: Input
847
- }], minWidth: [{
848
- type: Input
849
- }], maxWidth: [{
850
- type: Input
851
- }], inlineSize: [{
852
- type: Input
853
- }], minInlineSize: [{
854
- type: Input
855
- }], maxInlineSize: [{
856
- type: Input
857
- }], margin: [{
858
- type: Input
859
- }], marginInline: [{
860
- type: Input
861
- }], marginBlock: [{
862
- type: Input
863
- }], alignSelf: [{
864
- type: Input
865
- }], justifySelf: [{
866
- type: Input
867
- }], placeSelf: [{
868
- type: Input
869
- }], gridColumn: [{
870
- type: Input
871
- }], gridRow: [{
872
- type: Input
873
- }], gridArea: [{
874
- type: Input
875
- }], flex: [{
876
- type: Input
877
- }], order: [{
878
- type: Input
879
- }], syncFirstRender: [{
880
- type: Input,
881
- args: [{ transform: booleanAttribute }]
882
- }] } });
883
-
884
- /**
885
- * GdsBadgeComponent - Angular wrapper for gds-badge
886
- * `gds-badge`
887
- *
888
- * Auto-generated from Custom Elements Manifest
889
- */
890
-
891
891
  /**
892
892
  * Base class for Angular wrapper components that wrap Green Core form controls.
893
893
  *
@@ -3943,6 +3943,8 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
3943
3943
  super(...arguments);
3944
3944
  /** Fired when the clear button is clicked. */
3945
3945
  this.gdsInputCleared = new EventEmitter();
3946
+ /** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
3947
+ this.gdsUiState = new EventEmitter();
3946
3948
  }
3947
3949
  get element() {
3948
3950
  return this.elementRef.nativeElement;
@@ -3961,6 +3963,9 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
3961
3963
  this.elementRef.nativeElement.addEventListener('gds-input-cleared', (event) => {
3962
3964
  this.gdsInputCleared.emit(event);
3963
3965
  });
3966
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
3967
+ this.gdsUiState.emit(event);
3968
+ });
3964
3969
  }
3965
3970
  ngOnChanges(changes) {
3966
3971
  // Implementation added by @ProxyInputs decorator
@@ -3969,7 +3974,7 @@ let GdsInputComponent = class GdsInputComponent extends GdsFormControlBase {
3969
3974
  super.ngAfterViewInit();
3970
3975
  }
3971
3976
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3972
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsInputComponent, isStandalone: true, selector: "gds-input", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], type: "type", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], enterkeyhint: "enterkeyhint", spellcheck: ["spellcheck", "spellcheck", booleanAttribute], inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared" }, providers: [
3977
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsInputComponent, isStandalone: true, selector: "gds-input", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], type: "type", min: "min", max: "max", step: "step", autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], enterkeyhint: "enterkeyhint", spellcheck: ["spellcheck", "spellcheck", booleanAttribute], inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared", gdsUiState: "gdsUiState" }, providers: [
3973
3978
  {
3974
3979
  provide: NG_VALUE_ACCESSOR,
3975
3980
  useExisting: forwardRef(() => GdsInputComponent),
@@ -4100,6 +4105,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
4100
4105
  args: [{ transform: booleanAttribute }]
4101
4106
  }], gdsInputCleared: [{
4102
4107
  type: Output
4108
+ }], gdsUiState: [{
4109
+ type: Output
4103
4110
  }] } });
4104
4111
 
4105
4112
  /**
@@ -5233,6 +5240,8 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
5233
5240
  this.change = new EventEmitter();
5234
5241
  /** Fired on input with detail: { value: string } */
5235
5242
  this.input = new EventEmitter();
5243
+ /** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
5244
+ this.gdsUiState = new EventEmitter();
5236
5245
  }
5237
5246
  get element() {
5238
5247
  return this.elementRef.nativeElement;
@@ -5247,6 +5256,10 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
5247
5256
  // Component may not be available in this version of green-core
5248
5257
  console.warn('Failed to define gds-select:', e);
5249
5258
  }
5259
+ // Set up event listeners
5260
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
5261
+ this.gdsUiState.emit(event);
5262
+ });
5250
5263
  }
5251
5264
  ngOnChanges(changes) {
5252
5265
  // Implementation added by @ProxyInputs decorator
@@ -5255,7 +5268,7 @@ let GdsSelectComponent = class GdsSelectComponent extends GdsFormControlBase {
5255
5268
  super.ngAfterViewInit();
5256
5269
  }
5257
5270
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
5258
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsSelectComponent, isStandalone: true, selector: "gds-select", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], size: "size", plain: ["plain", "plain", booleanAttribute], selectElement: "selectElement", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input" }, providers: [
5271
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsSelectComponent, isStandalone: true, selector: "gds-select", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], size: "size", plain: ["plain", "plain", booleanAttribute], selectElement: "selectElement", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input", gdsUiState: "gdsUiState" }, providers: [
5259
5272
  {
5260
5273
  provide: NG_VALUE_ACCESSOR,
5261
5274
  useExisting: forwardRef(() => GdsSelectComponent),
@@ -5352,6 +5365,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
5352
5365
  type: Output
5353
5366
  }], input: [{
5354
5367
  type: Output
5368
+ }], gdsUiState: [{
5369
+ type: Output
5355
5370
  }] } });
5356
5371
 
5357
5372
  /**
@@ -6019,6 +6034,8 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
6019
6034
  super(...arguments);
6020
6035
  /** Fired when the clear button is clicked. */
6021
6036
  this.gdsInputCleared = new EventEmitter();
6037
+ /** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
6038
+ this.gdsUiState = new EventEmitter();
6022
6039
  }
6023
6040
  get element() {
6024
6041
  return this.elementRef.nativeElement;
@@ -6037,6 +6054,9 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
6037
6054
  this.elementRef.nativeElement.addEventListener('gds-input-cleared', (event) => {
6038
6055
  this.gdsInputCleared.emit(event);
6039
6056
  });
6057
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
6058
+ this.gdsUiState.emit(event);
6059
+ });
6040
6060
  }
6041
6061
  ngOnChanges(changes) {
6042
6062
  // Implementation added by @ProxyInputs decorator
@@ -6045,7 +6065,7 @@ let GdsTextareaComponent = class GdsTextareaComponent extends GdsFormControlBase
6045
6065
  super.ngAfterViewInit();
6046
6066
  }
6047
6067
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsTextareaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6048
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTextareaComponent, isStandalone: true, selector: "gds-textarea", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", rows: "rows", supportingText: "supportingText", clearable: ["clearable", "clearable", booleanAttribute], resizable: "resizable", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], spellcheck: ["spellcheck", "spellcheck", booleanAttribute], wrap: "wrap", enterkeyhint: "enterkeyhint", inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared" }, providers: [
6068
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsTextareaComponent, isStandalone: true, selector: "gds-textarea", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", rows: "rows", supportingText: "supportingText", clearable: ["clearable", "clearable", booleanAttribute], resizable: "resizable", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], maxlength: "maxlength", size: "size", plain: ["plain", "plain", booleanAttribute], autocapitalize: "autocapitalize", autocorrect: ["autocorrect", "autocorrect", booleanAttribute], autocomplete: "autocomplete", autofocus: ["autofocus", "autofocus", booleanAttribute], spellcheck: ["spellcheck", "spellcheck", booleanAttribute], wrap: "wrap", enterkeyhint: "enterkeyhint", inputmode: "inputmode", charCounterCallback: "charCounterCallback", selectionStart: "selectionStart", selectionEnd: "selectionEnd", selectionDirection: "selectionDirection", value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsInputCleared: "gdsInputCleared", gdsUiState: "gdsUiState" }, providers: [
6049
6069
  {
6050
6070
  provide: NG_VALUE_ACCESSOR,
6051
6071
  useExisting: forwardRef(() => GdsTextareaComponent),
@@ -6174,6 +6194,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6174
6194
  args: [{ transform: booleanAttribute }]
6175
6195
  }], gdsInputCleared: [{
6176
6196
  type: Output
6197
+ }], gdsUiState: [{
6198
+ type: Output
6177
6199
  }] } });
6178
6200
 
6179
6201
  /**
@@ -6599,6 +6621,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6599
6621
  * Auto-generated from Custom Elements Manifest
6600
6622
  */
6601
6623
 
6624
+ /**
6625
+ * Angular wrapper for the gds-avatar-group web component
6626
+ * `gds-avatar-group` stacks multiple avatars with an overlapping ring cutout effect.
6627
+
6628
+ Accessibility:
6629
+ - Exposes `role="group"` by default.
6630
+ - Provide an `aria-label` (for example `aria-label="Authors"`) to describe the group context.
6631
+ */
6632
+ let GdsAvatarGroupComponent = class GdsAvatarGroupComponent {
6633
+ get element() {
6634
+ return this.elementRef.nativeElement;
6635
+ }
6636
+ constructor() {
6637
+ this.elementRef = inject((ElementRef));
6638
+ this.zone = inject(NgZone);
6639
+ this.cdr = inject(ChangeDetectorRef);
6640
+ this.cdr.detach();
6641
+ }
6642
+ ngOnInit() {
6643
+ // Define the custom element
6644
+ try {
6645
+ GdsAvatarGroup.define();
6646
+ }
6647
+ catch (e) {
6648
+ // Component may not be available in this version of green-core
6649
+ console.warn('Failed to define gds-avatar-group:', e);
6650
+ }
6651
+ }
6652
+ ngOnChanges(changes) {
6653
+ // Implementation added by @ProxyInputs decorator
6654
+ }
6655
+ ngAfterViewInit() {
6656
+ // Implementation added by @ProxyInputs decorator
6657
+ }
6658
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAvatarGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6659
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsAvatarGroupComponent, isStandalone: true, selector: "gds-avatar-group", inputs: { margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6660
+ };
6661
+ GdsAvatarGroupComponent = __decorate([
6662
+ ProxyInputs(['margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
6663
+ __metadata("design:paramtypes", [])
6664
+ ], GdsAvatarGroupComponent);
6665
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAvatarGroupComponent, decorators: [{
6666
+ type: Component,
6667
+ args: [{
6668
+ selector: 'gds-avatar-group',
6669
+ standalone: true,
6670
+ changeDetection: ChangeDetectionStrategy.OnPush,
6671
+ template: `<ng-content></ng-content>`
6672
+ }]
6673
+ }], ctorParameters: () => [], propDecorators: { margin: [{
6674
+ type: Input
6675
+ }], marginInline: [{
6676
+ type: Input
6677
+ }], marginBlock: [{
6678
+ type: Input
6679
+ }], alignSelf: [{
6680
+ type: Input
6681
+ }], justifySelf: [{
6682
+ type: Input
6683
+ }], placeSelf: [{
6684
+ type: Input
6685
+ }], gridColumn: [{
6686
+ type: Input
6687
+ }], gridRow: [{
6688
+ type: Input
6689
+ }], gridArea: [{
6690
+ type: Input
6691
+ }], flex: [{
6692
+ type: Input
6693
+ }], order: [{
6694
+ type: Input
6695
+ }], syncFirstRender: [{
6696
+ type: Input,
6697
+ args: [{ transform: booleanAttribute }]
6698
+ }] } });
6699
+
6700
+ /**
6701
+ * GdsAvatarGroupComponent - Angular wrapper for gds-avatar-group
6702
+ * `gds-avatar-group` stacks multiple avatars with an overlapping ring cutout effect.
6703
+
6704
+ Accessibility:
6705
+ - Exposes `role="group"` by default.
6706
+ - Provide an `aria-label` (for example `aria-label="Authors"`) to describe the group context.
6707
+ *
6708
+ * Auto-generated from Custom Elements Manifest
6709
+ */
6710
+
6602
6711
  /**
6603
6712
  * Angular wrapper for the gds-breadcrumb web component
6604
6713
  *
@@ -6737,98 +6846,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6737
6846
  * Auto-generated from Custom Elements Manifest
6738
6847
  */
6739
6848
 
6740
- /**
6741
- * Angular wrapper for the gds-avatar-group web component
6742
- * `gds-avatar-group` stacks multiple avatars with an overlapping ring cutout effect.
6743
-
6744
- Accessibility:
6745
- - Exposes `role="group"` by default.
6746
- - Provide an `aria-label` (for example `aria-label="Authors"`) to describe the group context.
6747
- */
6748
- let GdsAvatarGroupComponent = class GdsAvatarGroupComponent {
6749
- get element() {
6750
- return this.elementRef.nativeElement;
6751
- }
6752
- constructor() {
6753
- this.elementRef = inject((ElementRef));
6754
- this.zone = inject(NgZone);
6755
- this.cdr = inject(ChangeDetectorRef);
6756
- this.cdr.detach();
6757
- }
6758
- ngOnInit() {
6759
- // Define the custom element
6760
- try {
6761
- GdsAvatarGroup.define();
6762
- }
6763
- catch (e) {
6764
- // Component may not be available in this version of green-core
6765
- console.warn('Failed to define gds-avatar-group:', e);
6766
- }
6767
- }
6768
- ngOnChanges(changes) {
6769
- // Implementation added by @ProxyInputs decorator
6770
- }
6771
- ngAfterViewInit() {
6772
- // Implementation added by @ProxyInputs decorator
6773
- }
6774
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAvatarGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6775
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsAvatarGroupComponent, isStandalone: true, selector: "gds-avatar-group", inputs: { margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6776
- };
6777
- GdsAvatarGroupComponent = __decorate([
6778
- ProxyInputs(['margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'syncFirstRender']),
6779
- __metadata("design:paramtypes", [])
6780
- ], GdsAvatarGroupComponent);
6781
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsAvatarGroupComponent, decorators: [{
6782
- type: Component,
6783
- args: [{
6784
- selector: 'gds-avatar-group',
6785
- standalone: true,
6786
- changeDetection: ChangeDetectionStrategy.OnPush,
6787
- template: `<ng-content></ng-content>`
6788
- }]
6789
- }], ctorParameters: () => [], propDecorators: { margin: [{
6790
- type: Input
6791
- }], marginInline: [{
6792
- type: Input
6793
- }], marginBlock: [{
6794
- type: Input
6795
- }], alignSelf: [{
6796
- type: Input
6797
- }], justifySelf: [{
6798
- type: Input
6799
- }], placeSelf: [{
6800
- type: Input
6801
- }], gridColumn: [{
6802
- type: Input
6803
- }], gridRow: [{
6804
- type: Input
6805
- }], gridArea: [{
6806
- type: Input
6807
- }], flex: [{
6808
- type: Input
6809
- }], order: [{
6810
- type: Input
6811
- }], syncFirstRender: [{
6812
- type: Input,
6813
- args: [{ transform: booleanAttribute }]
6814
- }] } });
6815
-
6816
- /**
6817
- * GdsAvatarGroupComponent - Angular wrapper for gds-avatar-group
6818
- * `gds-avatar-group` stacks multiple avatars with an overlapping ring cutout effect.
6819
-
6820
- Accessibility:
6821
- - Exposes `role="group"` by default.
6822
- - Provide an `aria-label` (for example `aria-label="Authors"`) to describe the group context.
6823
- *
6824
- * Auto-generated from Custom Elements Manifest
6825
- */
6826
-
6827
6849
  /**
6828
6850
  * Angular wrapper for the gds-checkbox-group web component
6829
6851
  *
6830
6852
  */
6831
6853
  let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormControlBase {
6854
+ constructor() {
6855
+ super(...arguments);
6856
+ /** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
6857
+ this.gdsUiState = new EventEmitter();
6858
+ }
6832
6859
  get element() {
6833
6860
  return this.elementRef.nativeElement;
6834
6861
  }
@@ -6842,6 +6869,10 @@ let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormC
6842
6869
  // Component may not be available in this version of green-core
6843
6870
  console.warn('Failed to define gds-checkbox-group:', e);
6844
6871
  }
6872
+ // Set up event listeners
6873
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
6874
+ this.gdsUiState.emit(event);
6875
+ });
6845
6876
  }
6846
6877
  ngOnChanges(changes) {
6847
6878
  // Implementation added by @ProxyInputs decorator
@@ -6850,7 +6881,7 @@ let GdsCheckboxGroupComponent = class GdsCheckboxGroupComponent extends GdsFormC
6850
6881
  super.ngAfterViewInit();
6851
6882
  }
6852
6883
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsCheckboxGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
6853
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCheckboxGroupComponent, isStandalone: true, selector: "gds-checkbox-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, providers: [
6884
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsCheckboxGroupComponent, isStandalone: true, selector: "gds-checkbox-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", hideLabel: ["hideLabel", "hideLabel", booleanAttribute], supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], value: "value", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { gdsUiState: "gdsUiState" }, providers: [
6854
6885
  {
6855
6886
  provide: NG_VALUE_ACCESSOR,
6856
6887
  useExisting: forwardRef(() => GdsCheckboxGroupComponent),
@@ -6943,6 +6974,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
6943
6974
  }], syncFirstRender: [{
6944
6975
  type: Input,
6945
6976
  args: [{ transform: booleanAttribute }]
6977
+ }], gdsUiState: [{
6978
+ type: Output
6946
6979
  }] } });
6947
6980
 
6948
6981
  /**
@@ -7664,6 +7697,8 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
7664
7697
  this.change = new EventEmitter();
7665
7698
  /** Fired when a radio button selection changes */
7666
7699
  this.input = new EventEmitter();
7700
+ /** Fired when the extended supporting text is opened or closed by the user. Can be cancelled to prevent it from opening or closing. */
7701
+ this.gdsUiState = new EventEmitter();
7667
7702
  }
7668
7703
  get element() {
7669
7704
  return this.elementRef.nativeElement;
@@ -7678,6 +7713,10 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
7678
7713
  // Component may not be available in this version of green-core
7679
7714
  console.warn('Failed to define gds-radio-group:', e);
7680
7715
  }
7716
+ // Set up event listeners
7717
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
7718
+ this.gdsUiState.emit(event);
7719
+ });
7681
7720
  }
7682
7721
  ngOnChanges(changes) {
7683
7722
  // Implementation added by @ProxyInputs decorator
@@ -7686,7 +7725,7 @@ let GdsRadioGroupComponent = class GdsRadioGroupComponent extends GdsFormControl
7686
7725
  super.ngAfterViewInit();
7687
7726
  }
7688
7727
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GdsRadioGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
7689
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsRadioGroupComponent, isStandalone: true, selector: "gds-radio-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input" }, providers: [
7728
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.19", type: GdsRadioGroupComponent, isStandalone: true, selector: "gds-radio-group", inputs: { alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", size: "size", flexDirection: "flexDirection", supportingText: "supportingText", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", value: "value", name: "name", disabled: ["disabled", "disabled", booleanAttribute], syncFirstRender: ["syncFirstRender", "syncFirstRender", booleanAttribute] }, outputs: { change: "change", input: "input", gdsUiState: "gdsUiState" }, providers: [
7690
7729
  {
7691
7730
  provide: NG_VALUE_ACCESSOR,
7692
7731
  useExisting: forwardRef(() => GdsRadioGroupComponent),
@@ -7780,6 +7819,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
7780
7819
  type: Output
7781
7820
  }], input: [{
7782
7821
  type: Output
7822
+ }], gdsUiState: [{
7823
+ type: Output
7783
7824
  }] } });
7784
7825
 
7785
7826
  /**
@@ -37280,11 +37321,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
37280
37321
  */
37281
37322
  class GreenCoreNgModule {
37282
37323
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GreenCoreNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
37283
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: GreenCoreNgModule, imports: [GdsAvatarComponent,
37284
- GdsAlertComponent,
37324
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: GreenCoreNgModule, imports: [GdsAlertComponent,
37325
+ GdsAvatarComponent,
37326
+ GdsBadgeComponent,
37285
37327
  GdsBlurComponent,
37286
37328
  GdsBreadcrumbsComponent,
37287
- GdsBadgeComponent,
37288
37329
  GdsButtonComponent,
37289
37330
  GdsCalendarComponent,
37290
37331
  GdsCardComponent,
@@ -37326,8 +37367,8 @@ class GreenCoreNgModule {
37326
37367
  GdsThemeComponent,
37327
37368
  GdsVideoComponent,
37328
37369
  GdsCardPattern01Component,
37329
- GdsBreadcrumbComponent,
37330
37370
  GdsAvatarGroupComponent,
37371
+ GdsBreadcrumbComponent,
37331
37372
  GdsCheckboxGroupComponent,
37332
37373
  GdsIconDetailsComponent,
37333
37374
  GdsFilterChipComponent,
@@ -37652,11 +37693,11 @@ class GreenCoreNgModule {
37652
37693
  IconZoomOutComponent,
37653
37694
  GdsMenuItemComponent,
37654
37695
  GdsMenuHeadingComponent,
37655
- GdsOptionComponent], exports: [GdsAvatarComponent,
37656
- GdsAlertComponent,
37696
+ GdsOptionComponent], exports: [GdsAlertComponent,
37697
+ GdsAvatarComponent,
37698
+ GdsBadgeComponent,
37657
37699
  GdsBlurComponent,
37658
37700
  GdsBreadcrumbsComponent,
37659
- GdsBadgeComponent,
37660
37701
  GdsButtonComponent,
37661
37702
  GdsCalendarComponent,
37662
37703
  GdsCardComponent,
@@ -37698,8 +37739,8 @@ class GreenCoreNgModule {
37698
37739
  GdsThemeComponent,
37699
37740
  GdsVideoComponent,
37700
37741
  GdsCardPattern01Component,
37701
- GdsBreadcrumbComponent,
37702
37742
  GdsAvatarGroupComponent,
37743
+ GdsBreadcrumbComponent,
37703
37744
  GdsCheckboxGroupComponent,
37704
37745
  GdsIconDetailsComponent,
37705
37746
  GdsFilterChipComponent,
@@ -38031,11 +38072,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
38031
38072
  type: NgModule,
38032
38073
  args: [{
38033
38074
  imports: [
38034
- GdsAvatarComponent,
38035
38075
  GdsAlertComponent,
38076
+ GdsAvatarComponent,
38077
+ GdsBadgeComponent,
38036
38078
  GdsBlurComponent,
38037
38079
  GdsBreadcrumbsComponent,
38038
- GdsBadgeComponent,
38039
38080
  GdsButtonComponent,
38040
38081
  GdsCalendarComponent,
38041
38082
  GdsCardComponent,
@@ -38077,8 +38118,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
38077
38118
  GdsThemeComponent,
38078
38119
  GdsVideoComponent,
38079
38120
  GdsCardPattern01Component,
38080
- GdsBreadcrumbComponent,
38081
38121
  GdsAvatarGroupComponent,
38122
+ GdsBreadcrumbComponent,
38082
38123
  GdsCheckboxGroupComponent,
38083
38124
  GdsIconDetailsComponent,
38084
38125
  GdsFilterChipComponent,
@@ -38406,11 +38447,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
38406
38447
  GdsOptionComponent,
38407
38448
  ],
38408
38449
  exports: [
38409
- GdsAvatarComponent,
38410
38450
  GdsAlertComponent,
38451
+ GdsAvatarComponent,
38452
+ GdsBadgeComponent,
38411
38453
  GdsBlurComponent,
38412
38454
  GdsBreadcrumbsComponent,
38413
- GdsBadgeComponent,
38414
38455
  GdsButtonComponent,
38415
38456
  GdsCalendarComponent,
38416
38457
  GdsCardComponent,
@@ -38452,8 +38493,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
38452
38493
  GdsThemeComponent,
38453
38494
  GdsVideoComponent,
38454
38495
  GdsCardPattern01Component,
38455
- GdsBreadcrumbComponent,
38456
38496
  GdsAvatarGroupComponent,
38497
+ GdsBreadcrumbComponent,
38457
38498
  GdsCheckboxGroupComponent,
38458
38499
  GdsIconDetailsComponent,
38459
38500
  GdsFilterChipComponent,