aeb-ui-kit 10.0.0-preview.1200 → 10.0.0-preview.1202

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,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { signal, viewChild, input, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule, Directive, inject, ElementRef, contentChild, output, forwardRef, Input, EnvironmentInjector, ApplicationRef, RendererFactory2, createComponent, Injectable, Renderer2, DestroyRef, Pipe, viewChildren, LOCALE_ID, contentChildren, TemplateRef, Injector } from '@angular/core';
2
+ import { signal, viewChild, input, computed, effect, ChangeDetectionStrategy, ViewEncapsulation, Component, NgModule, Directive, inject, ElementRef, contentChild, output, forwardRef, Input, EnvironmentInjector, ApplicationRef, RendererFactory2, createComponent, Injectable, Renderer2, DestroyRef, Pipe, viewChildren, LOCALE_ID, contentChildren, TemplateRef, ChangeDetectorRef, Injector } from '@angular/core';
3
3
  import { NgClass, DOCUMENT, TitleCasePipe, DatePipe, NgStyle, NgTemplateOutlet, DecimalPipe, formatDate, formatNumber } from '@angular/common';
4
4
  import * as i1 from '@angular/forms';
5
5
  import { NG_VALUE_ACCESSOR, FormBuilder, FormControl, Validators, FormsModule, ReactiveFormsModule, NgControl } from '@angular/forms';
@@ -4913,6 +4913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
4913
4913
 
4914
4914
  class Tabs {
4915
4915
  constructor() {
4916
+ this.changeDetectorRef = inject(ChangeDetectorRef);
4916
4917
  this.tabs = contentChildren(TabDirective, ...(ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []));
4917
4918
  this.templateTabs = viewChildren('rtab', ...(ngDevMode ? [{ debugName: "templateTabs" }] : /* istanbul ignore next */ []));
4918
4919
  this.thumb = viewChild('thumb', ...(ngDevMode ? [{ debugName: "thumb" }] : /* istanbul ignore next */ []));
@@ -4951,6 +4952,7 @@ class Tabs {
4951
4952
  const tab = this.tab();
4952
4953
  if (String(tab) && !this.collapsed()) {
4953
4954
  this.switchTab(tab);
4955
+ this.changeDetectorRef.markForCheck();
4954
4956
  }
4955
4957
  });
4956
4958
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aeb-ui-kit",
3
- "version": "10.0.0-preview.1200",
3
+ "version": "10.0.0-preview.1202",
4
4
  "exports": {
5
5
  "./styles.css": {
6
6
  "default": "./styles.css"
@@ -693,6 +693,7 @@ declare class TabDirective {
693
693
  }
694
694
 
695
695
  declare class Tabs implements AfterViewInit, OnChanges {
696
+ private readonly changeDetectorRef;
696
697
  readonly tabs: _angular_core.Signal<readonly TabDirective[]>;
697
698
  readonly templateTabs: _angular_core.Signal<readonly ElementRef<HTMLDivElement>[]>;
698
699
  readonly thumb: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;