@simoncomputing/mui-bueno-v2 0.31.1 → 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 +15 -0
- package/dist/components/Form/Inputs/CitationField/CitationManager/CitationTable.d.ts +1 -1
- package/dist/components/HelpTooltip/HelpTooltip.d.ts +17 -0
- package/dist/components/Table/DiffTable/utils.d.ts +6 -4
- package/dist/index.cjs.js +98 -98
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js +2570 -2571
- package/dist/index.umd.js +99 -99
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,21 @@ 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
|
+
|
|
14
29
|
## [0.31.1] - 2026-06-22
|
|
15
30
|
|
|
16
31
|
### Changed
|
|
@@ -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
|
|
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
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
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
|
|
61
|
+
* Used by `DiffTable`
|
|
60
62
|
*/
|
|
61
63
|
export declare const buildTableDiff: <T extends {
|
|
62
64
|
id: number;
|