@simoncomputing/mui-bueno-v2 0.25.8 → 0.25.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.
- package/CHANGELOG.md +12 -0
- package/dist/components/Table/DiffTable/DiffTable.d.ts +3 -8
- package/dist/index.cjs.js +70 -70
- package/dist/index.es.js +1681 -1680
- package/dist/index.umd.js +78 -78
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,18 @@ 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.25.9] - 2026-02-18
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `DiffTable`
|
|
19
|
+
- Added `emptyTableMsg` (see `Table` component), with default "No changes to display"
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- `DiffTable`
|
|
24
|
+
- Fixed flex spacing from affecting the spacing between the table and the unmodified rows count
|
|
25
|
+
|
|
14
26
|
## [0.25.8] - 2026-02-18
|
|
15
27
|
|
|
16
28
|
### Changed
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TableProps } from '../Table';
|
|
2
2
|
import { DiffTableConfig } from '../../../@types';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
3
4
|
export type ChangeType = 'added' | 'deleted' | 'modified';
|
|
4
5
|
export type DiffObj<T> = T & {
|
|
5
6
|
changeType: ChangeType;
|
|
@@ -16,13 +17,7 @@ export type DiffTableProps<T> = {
|
|
|
16
17
|
* See Table.columns
|
|
17
18
|
*/
|
|
18
19
|
columns: DiffTableConfig<T>;
|
|
19
|
-
|
|
20
|
-
* See Table.renderExpand
|
|
21
|
-
*
|
|
22
|
-
* DiffProvider will automatically be applied to content.
|
|
23
|
-
*/
|
|
24
|
-
renderExpand?: (item: T) => React.ReactNode;
|
|
25
|
-
};
|
|
20
|
+
} & Pick<TableProps<T>, 'renderExpand' | 'emptyTableMsg'>;
|
|
26
21
|
/**
|
|
27
22
|
* Used to display changes (additions, modifications, removals) for a set of data.
|
|
28
23
|
*
|