mn-angular-lib 2.0.7 → 2.0.9

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.
@@ -854,15 +854,16 @@ class MnCollectionPagination {
854
854
  * width — the same strip is wide on a page and cramped in a modal.
855
855
  *
856
856
  * The first/last anchors and their gaps drop below 640px, where « and » already
857
- * jump to either end. Below 380px every number except the current one drops too:
857
+ * jump to either end. Below 380px every number drops, the current one included:
858
858
  * the strip would otherwise wrap onto a second line and push the footer over the
859
859
  * table, and the "Page 3 of 9" readout beside it already says where the user is.
860
+ * A lone current number would read as a page count ("1" beside "Page 1 of 2").
860
861
  * The arrows survive both steps, so navigation never depends on a number.
861
862
  */
862
863
  slotVisibility(slot) {
863
864
  if (slot.anchor)
864
865
  return 'hidden @min-[640px]:inline-flex';
865
- return slot.page === this.currentPage ? 'inline-flex' : 'hidden @min-[380px]:inline-flex';
866
+ return 'hidden @min-[380px]:inline-flex';
866
867
  }
867
868
  /**
868
869
  * Accessible label for a page-number button.