@simoncomputing/mui-bueno-v2 0.24.2 → 0.25.0
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 +20 -0
- package/dist/components/Form/Inputs/CitationField/CitationManager/CitationTable.d.ts +39 -0
- package/dist/components/Form/Inputs/CitationField/CitationManager/DiffCitationTable/DiffCitationTable.d.ts +12 -0
- package/dist/components/Snackbar/Snackbar.d.ts +1 -1
- package/dist/index.cjs.js +96 -96
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +5463 -5442
- package/dist/index.umd.js +92 -92
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,26 @@ 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.0] - 2026-02-04
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- `Snackbar`
|
|
19
|
+
- Changed default value of the `autoHideDuration` prop from 8 seconds to `undefined`. Since Snackbars can be dismissed by the user, by default they will no longer auto-dismiss unless a value is provided to the `autoHideDuration` prop. This is to avoid the user missing important messages, which should only be dismissed by the user.
|
|
20
|
+
|
|
21
|
+
## [0.24.4] - 2026-02-03
|
|
22
|
+
|
|
23
|
+
### Added
|
|
24
|
+
|
|
25
|
+
- `DiffCitationTable`
|
|
26
|
+
- New component. Use in place of `CitationManager` for version change comparison
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
|
|
30
|
+
- `DiffTable`
|
|
31
|
+
- Hide count if 0 rows were unchanged
|
|
32
|
+
- Allow reusing IDs
|
|
33
|
+
|
|
14
34
|
## [0.24.2] - 2026-02-03
|
|
15
35
|
|
|
16
36
|
### Added
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Palette } from '@mui/material';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { Citation } from '../../../../../@types';
|
|
3
4
|
import { BaseCitationManagerApiProps } from './BaseCitationManager';
|
|
@@ -72,3 +73,41 @@ export type CitationTableProps = Omit<BaseCitationManagerApiProps, 'onCreateCita
|
|
|
72
73
|
};
|
|
73
74
|
declare const CitationTable: (props: CitationTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
74
75
|
export default CitationTable;
|
|
76
|
+
export declare const baseCitationTableColumns: (palette: Palette, condenseTable?: boolean) => ({
|
|
77
|
+
fieldName: string;
|
|
78
|
+
key: string;
|
|
79
|
+
label: string;
|
|
80
|
+
render: (fileName: string | undefined, citation: Citation) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
tableCellSx?: undefined;
|
|
82
|
+
hideCol?: undefined;
|
|
83
|
+
} | {
|
|
84
|
+
fieldName: string;
|
|
85
|
+
tableCellSx: {
|
|
86
|
+
width: string;
|
|
87
|
+
};
|
|
88
|
+
render: (title: string) => string;
|
|
89
|
+
key?: undefined;
|
|
90
|
+
label?: undefined;
|
|
91
|
+
hideCol?: undefined;
|
|
92
|
+
} | {
|
|
93
|
+
fieldName: string;
|
|
94
|
+
key: string;
|
|
95
|
+
label: string;
|
|
96
|
+
hideCol: boolean;
|
|
97
|
+
render: (fileName: string, citation: Citation) => import("react/jsx-runtime").JSX.Element;
|
|
98
|
+
tableCellSx?: undefined;
|
|
99
|
+
} | {
|
|
100
|
+
fieldName: string;
|
|
101
|
+
hideCol: boolean;
|
|
102
|
+
key?: undefined;
|
|
103
|
+
label?: undefined;
|
|
104
|
+
render?: undefined;
|
|
105
|
+
tableCellSx?: undefined;
|
|
106
|
+
} | {
|
|
107
|
+
fieldName: string;
|
|
108
|
+
hideCol: boolean;
|
|
109
|
+
render: (accessedAt: string, citation: Citation) => string | undefined;
|
|
110
|
+
key?: undefined;
|
|
111
|
+
label?: undefined;
|
|
112
|
+
tableCellSx?: undefined;
|
|
113
|
+
})[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Citation } from '../../../../../../@types';
|
|
2
|
+
export type DiffCitationTableProps = {
|
|
3
|
+
beforeCitations: Citation[];
|
|
4
|
+
afterCitations: Citation[];
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Compare set of table data (beforeCitations vs afterCitations).
|
|
8
|
+
*
|
|
9
|
+
* Use in place of `CitationManager` when comparing diff
|
|
10
|
+
*/
|
|
11
|
+
export declare const DiffCitationTable: (props: DiffCitationTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default DiffCitationTable;
|