@dso-toolkit/angular 95.1.0 → 96.0.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.
@@ -1773,6 +1773,11 @@ let DsoIconButton = class DsoIconButton {
1773
1773
  */
1774
1774
  set disabled(_) { }
1775
1775
  ;
1776
+ /**
1777
+ * Whether the button is toggled. @default false
1778
+ */
1779
+ set toggled(_) { }
1780
+ ;
1776
1781
  dsoClick = new EventEmitter();
1777
1782
  constructor(c, r, z) {
1778
1783
  this.z = z;
@@ -1780,12 +1785,12 @@ let DsoIconButton = class DsoIconButton {
1780
1785
  this.el = r.nativeElement;
1781
1786
  }
1782
1787
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.10", ngImport: i0, type: DsoIconButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1783
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: DsoIconButton, isStandalone: true, selector: "dso-icon-button", inputs: { disabled: "disabled", icon: "icon", label: "label", tooltipPlacement: "tooltipPlacement", variant: "variant" }, outputs: { dsoClick: "dsoClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1788
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.10", type: DsoIconButton, isStandalone: true, selector: "dso-icon-button", inputs: { disabled: "disabled", icon: "icon", label: "label", toggled: "toggled", tooltipPlacement: "tooltipPlacement", variant: "variant" }, outputs: { dsoClick: "dsoClick" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1784
1789
  };
1785
1790
  DsoIconButton = __decorate([
1786
1791
  ProxyCmp({
1787
1792
  defineCustomElementFn: defineCustomElement$u,
1788
- inputs: ['disabled', 'icon', 'label', 'tooltipPlacement', 'variant'],
1793
+ inputs: ['disabled', 'icon', 'label', 'toggled', 'tooltipPlacement', 'variant'],
1789
1794
  methods: ['setFocus']
1790
1795
  })
1791
1796
  ], DsoIconButton);
@@ -1796,7 +1801,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.10", ngImpo
1796
1801
  changeDetection: ChangeDetectionStrategy.OnPush,
1797
1802
  template: '<ng-content></ng-content>',
1798
1803
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1799
- inputs: ['disabled', { name: 'icon', required: true }, { name: 'label', required: true }, 'tooltipPlacement', 'variant'],
1804
+ inputs: ['disabled', { name: 'icon', required: true }, { name: 'label', required: true }, 'toggled', 'tooltipPlacement', 'variant'],
1800
1805
  outputs: ['dsoClick'],
1801
1806
  }]
1802
1807
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { dsoClick: [{