mn-angular-lib 1.0.173 → 1.0.174

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.173",
3
+ "version": "1.0.174",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3",
@@ -8602,6 +8602,29 @@ declare class MnTabComponent implements DoCheck, AfterViewInit, AfterViewChecked
8602
8602
  * @param item - The tab item to activate.
8603
8603
  */
8604
8604
  setActive(item: MnTabItem): void;
8605
+ /**
8606
+ * Whether a tab is the bar's single Tab stop: the active tab, or the first tab while none is
8607
+ * active yet. Every other tab is reached with the arrow keys, so Tab leaves the bar in one press.
8608
+ * @param item - The tab to check.
8609
+ * @returns True for the one tab that keeps `tabindex="0"`.
8610
+ */
8611
+ isTabStop(item: MnTabItem): boolean;
8612
+ /**
8613
+ * Keyboard handling on a tab. Left and Right move to the previous or next tab and wrap at the
8614
+ * ends, Home and End jump to the first and last; the tab moved to is activated at once
8615
+ * (automatic activation) and receives focus. Enter and Space activate the focused tab, handled
8616
+ * on keydown so Space does not scroll the page first. Other keys are left alone.
8617
+ * @param event - The keydown on a tab.
8618
+ * @param item - The tab the key was pressed on.
8619
+ */
8620
+ onTabKeydown(event: KeyboardEvent, item: MnTabItem): void;
8621
+ /**
8622
+ * Moves focus to the tab at `index` and scrolls it into view inside a scrollable bar. Focusing
8623
+ * works before change detection has moved `tabindex="0"` onto it, because a script may focus an
8624
+ * element with `tabindex="-1"`.
8625
+ * @param index - Position of the tab in the data source's items.
8626
+ */
8627
+ private focusTab;
8605
8628
  /**
8606
8629
  * Moves the selection to `item` and tells the consumer about it: the
8607
8630
  * deactivate/activate/emit sequence a click produces, shared by the click