@simoncomputing/mui-bueno-v2 0.19.22 → 0.19.23
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/CHANGELOG.md +6 -0
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/index.cjs.js +51 -51
- package/dist/index.es.js +3475 -3473
- package/dist/index.umd.js +51 -51
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
- Minor increment --> singlular/minor changes. Minimal breaking changes.
|
|
12
12
|
- Patch increment --> singlular/minor changes. Zero breaking changes.
|
|
13
13
|
|
|
14
|
+
## [0.19.23] - 2025-12-04
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `Table` / `PaginatedTable` - added `onRowClickObj` which is similar to `onRowClick` but provides the whole object instead of just the object's id.
|
|
19
|
+
|
|
14
20
|
## [0.19.22] - 2025-12-03
|
|
15
21
|
|
|
16
22
|
### Added
|
|
@@ -26,6 +26,10 @@ export type BaseTableProps<T> = {
|
|
|
26
26
|
* Function to call when a row is clicked
|
|
27
27
|
*/
|
|
28
28
|
onRowClick?: (id?: number | string) => void;
|
|
29
|
+
/**
|
|
30
|
+
* Same as onRowClick but provides the whole object.
|
|
31
|
+
*/
|
|
32
|
+
onRowClickObj?: (obj: T) => void;
|
|
29
33
|
/**
|
|
30
34
|
* Define which columns (fieldName) to hide on mobile/small screens
|
|
31
35
|
*/
|