mn-angular-lib 0.0.100 → 1.0.2

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": "0.0.100",
3
+ "version": "1.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.1.3",
6
6
  "@angular/core": "^21.1.3"
@@ -1852,6 +1852,8 @@ interface TableDataSource<T> {
1852
1852
  pageSize?: number;
1853
1853
  /** Options for the page-size selector dropdown. Defaults to [5, 10, 25, 50]. */
1854
1854
  pageSizeOptions?: number[];
1855
+ /** Callback invoked when the user changes the page size via the dropdown. */
1856
+ onPageSizeChange?: (newSize: number) => void;
1855
1857
  defaultSort?: SortState;
1856
1858
  selectionMode?: 'none' | 'single' | 'multi';
1857
1859
  selectedRows?: BehaviorSubject<T[]>;