gantri-components 2.240.0 → 2.240.1

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.
@@ -15,6 +15,13 @@ export interface CarouselMetrics {
15
15
  currentItemsPerPage: number;
16
16
  gapPx: number;
17
17
  leftPaddingPx: number;
18
+ /**
19
+ * Maximum item offset the track can scroll to without leaving empty space
20
+ * past the last item. Fractional when `itemsPerPage` is decimal (e.g.,
21
+ * 1.3 with 6 items → 4.7). Used by the carousel to clamp the last page's
22
+ * translateX so the last item is fully visible.
23
+ */
24
+ maxScrollItems: number;
18
25
  /** Effective step, defaulting to floor(itemsPerPage) when not provided. */
19
26
  pageStep: number;
20
27
  rightPaddingPx: number;