cecomponent 2.0.79 → 2.0.80

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.
@@ -98,8 +98,8 @@ interface CEDataGridDynamicTableProps {
98
98
  /** Field name OR extractor function to use as the stable selection key on each row. Defaults to `id`. */
99
99
  selectionKey?: string | ((row: any) => string | number);
100
100
  rowsSelected?: Set<number>;
101
- /** Called when the current page changes; receives the new page index (0-based) */
102
- onPageChange?: (page: number) => void;
101
+ /** Called when pagination changes; receives page index (0-based) and optionally page size. */
102
+ onPageChange?: (page: number, pageSize?: number) => void;
103
103
  /**
104
104
  * Enables server-side pagination. When true, `jsonData` is treated as the
105
105
  * already-fetched page data and the grid stops slicing rows locally.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cecomponent",
3
3
  "description": "A React component library for building modern UIs for Cleanearth",
4
- "version": "2.0.79",
4
+ "version": "2.0.80",
5
5
  "main": "dist/ce-component-lib.js",
6
6
  "module": "dist/ce-component-lib.mjs",
7
7
  "types": "dist/idex.d.ts",