@simoncomputing/mui-bueno-v2 0.31.0 → 0.32.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/CHANGELOG.md CHANGED
@@ -11,6 +11,28 @@ 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.32.2] - 2026-06-23
15
+
16
+ ### Added
17
+
18
+ - `buildDiffData`
19
+ - convenience function which provides the diff for two sets of data. While it's recommended to use `DiffTable`/`DiffTableView`, this function can provide more control for custom diff components
20
+
21
+ - `HelpTooltip`
22
+ - basic help tooltip that consists of a (?) icon that displays a helpful message when hovered
23
+
24
+ ### Changed
25
+
26
+ - `Table`/`PaginatedTable`
27
+ - Replaced existing column header tooltip with new `HelpTooltip` component. No user-visible behavior changes are expected, with the exception of the cursor behavior.
28
+
29
+ ## [0.31.1] - 2026-06-22
30
+
31
+ ### Changed
32
+
33
+ - `CitationField`/`SelectableCitationManager`
34
+ - Added loading overlay so that if user clicks on single inline citation, the popup can show loading indication while fetching citation by id.
35
+
14
36
  ## [0.31.0] - 2026-06-19
15
37
 
16
38
  ### Changed
@@ -112,10 +112,8 @@ export type BaseCitationManagerProps = BaseCitationManagerApiProps & {
112
112
  };
113
113
  export declare enum CitationManagerState {
114
114
  CITATIONS_TABLE = "Insert Citation/Attachment(s)",
115
- ADD_CITATION = "Add Citation",
116
- EDIT_CITATION = "Edit Citation",
117
- ADD_ATTACHMENT = "Add Attachment",
118
- EDIT_ATTACHMENT = "Edit Attachment"
115
+ URL_DETAILS = "Citation",
116
+ ATTACHMENT_DETAILS = "Attachment"
119
117
  }
120
118
  /**
121
119
  * BaseCitationManager handles creating, updating, deleting, downloading and selecting citations.
@@ -5,10 +5,6 @@ export type AttachmentFormProps = {
5
5
  onViewCitationTable: () => void;
6
6
  onClose: () => void;
7
7
  modifyCitation: Citation | undefined;
8
- /**
9
- * If true, file upload is disabled. (Title field is still enabled)
10
- */
11
- disableFileUpload?: boolean;
12
8
  readOnly?: boolean;
13
9
  showViewAllCitationsBtn?: boolean;
14
10
  onDownloadAttachment: ((citation: Citation) => Promise<void>) | undefined;
@@ -72,7 +72,7 @@ export default CitationTable;
72
72
  /**
73
73
  * Column definition for the Citation table.
74
74
  *
75
- * Used by `CitationManager`, `SelectableCitationManager`, `CitationField`, `DiffCitationTable`.
75
+ * Used by `CitationManager`, `SelectableCitationManager`, `CitationField`.
76
76
  */
77
77
  export declare const baseCitationTableColumns: (palette: Palette, condenseTable?: boolean) => ({
78
78
  fieldName: string;
@@ -0,0 +1,17 @@
1
+ export type HelpTooltipProps = {
2
+ /**
3
+ * Color of the tooltip (?) icon
4
+ *
5
+ * Note: Make sure to account for dark mode.
6
+ */
7
+ color?: string;
8
+ /**
9
+ * Text that will display in the tooltip when hovering over the (?) icon.
10
+ */
11
+ children?: string;
12
+ };
13
+ /**
14
+ * Basic Help Tooltip. Displays helpful message when user hovers over (?) icon.
15
+ */
16
+ export declare function HelpTooltip({ color, children }: HelpTooltipProps): import("react/jsx-runtime").JSX.Element | null;
17
+ export default HelpTooltip;
@@ -19,9 +19,11 @@ export declare const ChangeMap: {
19
19
  };
20
20
  };
21
21
  /**
22
- * Returns an array of only the Added/Modified/Deleted objects between dataA & dataB (with each
23
- * object marked as Added/Modified/Deleted), AND a count of the number of unchanged objects in both
24
- * dataA & dataB.
22
+ * Generates the diff between two sets of data.
23
+ *
24
+ * Returns 2 arrays:
25
+ * - dataDiff: an array of only the Added/Modified/Deleted objects between dataA & dataB
26
+ * - dataUnmodifed: an array of the unchanged objects in both dataA & dataB
25
27
  *
26
28
  * IMPORTANT: Data arrays (dataA & dataB) must contain objects with a valid id.
27
29
  */
@@ -56,7 +58,7 @@ export type DiffTableOutput<T> = {
56
58
  /**
57
59
  * Converts regular table props into diff version (adds Change Type column, updates render and renderExpand to use diff notation)
58
60
  *
59
- * Used by `DiffTable`, `DiffCitationTable`.
61
+ * Used by `DiffTable`
60
62
  */
61
63
  export declare const buildTableDiff: <T extends {
62
64
  id: number;