mn-angular-lib 1.0.137 → 1.0.138

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mn-angular-lib",
3
- "version": "1.0.137",
3
+ "version": "1.0.138",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3",
@@ -6856,6 +6856,12 @@ type MnTabDataSource = {
6856
6856
  declare class MnTabComponent implements DoCheck, AfterViewInit, OnDestroy {
6857
6857
  /** The horizontally-scrolling wrapper the edge fade is painted onto. */
6858
6858
  private scrollContainer?;
6859
+ /** The tab row; queried for the active tab so the indicator can measure it. */
6860
+ private tabList?;
6861
+ /** The shared underline that slides to the active tab. */
6862
+ private indicator?;
6863
+ /** Pending indicator remeasure, cancelled on destroy so a post-destroy frame can't read a detached ref. */
6864
+ private indicatorFrame?;
6859
6865
  /** How far the fade reaches in from each overflowing edge. */
6860
6866
  private static readonly FADE;
6861
6867
  /** Data source containing tab items and default active index. */
@@ -6921,6 +6927,20 @@ declare class MnTabComponent implements DoCheck, AfterViewInit, OnDestroy {
6921
6927
  * @param item - The tab item to activate.
6922
6928
  */
6923
6929
  setActive(item: MnTabItem): void;
6930
+ /**
6931
+ * Moves the shared underline to the active tab. When `animate` is false the
6932
+ * move is snapped (no slide) by disabling the transition for one reflow —
6933
+ * used on init, async selection and resize, where a slide would read as jank.
6934
+ * @param animate - Whether the move should slide (true) or snap (false).
6935
+ */
6936
+ private updateIndicator;
6937
+ /**
6938
+ * Remeasures the indicator on the next animation frame, so the read happens
6939
+ * after layout reflects the latest active-tab classes. Coalesces bursts and
6940
+ * is cancellable on destroy.
6941
+ * @param animate - Whether the resulting move should slide.
6942
+ */
6943
+ private scheduleIndicator;
6924
6944
  /**
6925
6945
  * Returns the resolved badge value for a tab item, supporting both plain numbers and Signal<number>.
6926
6946
  * @param item - The tab item whose badge to resolve.