@simoncomputing/mui-bueno-v2 0.25.10 → 0.25.12

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 CHANGED
@@ -11,6 +11,32 @@ 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.12] - 2026-02-19
15
+
16
+ ### Added
17
+
18
+ - `DiffCitationTable`
19
+ - `condenseTable` prop -- shows condensed table when true
20
+ - `DiffTable`
21
+ - Added `size` prop (same as `Table.size`)
22
+
23
+ ### Changed
24
+
25
+ - `DiffTable`
26
+ - Added/Modified/Deleted chips in the Change Type column will appear smaller (reduced padding) when the table size is `"x-small"` or `"small"`
27
+
28
+ ## [0.25.11] - 2026-02-18
29
+
30
+ ### Changed
31
+
32
+ - `DiffProvider`
33
+ - Added `ReadOnlyProvider` wrapper internally so if `showDiff` is false, it will default to `readOnly` instead of an editable form
34
+
35
+ ### Fixed
36
+
37
+ - `DiffTable`
38
+ - Fixed Added/Deleted rows were displaying diff notation in the expanded sections
39
+
14
40
  ## [0.25.10] - 2026-02-18
15
41
 
16
42
  ### Added
@@ -1,6 +1,7 @@
1
1
  type DiffContextValue = {
2
2
  /**
3
3
  * Used by fields to determine whether to render as a read-only diff or not
4
+ * If false, renders as read-only
4
5
  */
5
6
  showDiff: boolean;
6
7
  /**
@@ -2,6 +2,13 @@ import { Citation } from '../../../../../../@types';
2
2
  export type DiffCitationTableProps = {
3
3
  beforeCitations: Citation[];
4
4
  afterCitations: Citation[];
5
+ /**
6
+ * Intended for use in modals.
7
+ *
8
+ * Renders as a table with only Change Type, Type, and Title columns.
9
+ * Title is not displayed (table only)
10
+ */
11
+ condenseTable?: boolean;
5
12
  };
6
13
  /**
7
14
  * Compare set of table data (beforeCitations vs afterCitations).
@@ -1,6 +1,6 @@
1
+ import { ReactNode } from 'react';
1
2
  import { TableProps } from '../Table';
2
3
  import { DiffTableConfig } from '../../../@types';
3
- import { ReactNode } from 'react';
4
4
  export type ChangeType = 'added' | 'deleted' | 'modified';
5
5
  export type DiffObj<T> = T & {
6
6
  changeType: ChangeType;
@@ -24,7 +24,7 @@ export type DiffTableProps<T> = {
24
24
  * if ignoreDiff is enabled on all columns.
25
25
  */
26
26
  isEqual?: (obj1: T, obj2: T) => boolean;
27
- } & Pick<TableProps<T>, 'renderExpand' | 'emptyTableMsg'>;
27
+ } & Pick<TableProps<T>, 'renderExpand' | 'emptyTableMsg' | 'size'>;
28
28
  /**
29
29
  * Used to display changes (additions, modifications, removals) for a set of data.
30
30
  *