@simoncomputing/mui-bueno-v2 0.19.0 → 0.19.1
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 +10 -0
- package/dist/@types/index.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/index.cjs.js +86 -86
- package/dist/index.es.js +4812 -4790
- package/dist/index.umd.js +79 -79
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,16 @@ 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.19.1] - 2025-10-21
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `Table`/`PaginatedTable` (`TableColumn`) - Added support for tooltips in the table header row. For mobile cards, the tooltip icon is located next to each column label.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Default font size for MUI tooltips increased
|
|
23
|
+
|
|
14
24
|
## [0.19.0] - 2025-10-16
|
|
15
25
|
|
|
16
26
|
### Changed
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -115,6 +115,7 @@ export type EnvironmentInfo = {
|
|
|
115
115
|
* @property {string} sortName - (Optional) Passed instead of `fieldName` to onSortChange(fieldName, ...). Useful if you're rendering the same object in 2+ columns and need a way to differentiate when sorting.
|
|
116
116
|
* @property {SxProps<Theme>} tableCellSx - (Optional) styles applies to TableCell (non-mobile)
|
|
117
117
|
* @property {boolean} hideCol - (Optional) if true, this column will not be displayed
|
|
118
|
+
* @property {string} tooltip - (Optional) if provided, shows a help icon with the specified tooltip when hovered
|
|
118
119
|
*/
|
|
119
120
|
export type TableColumn<T, K extends keyof T> = {
|
|
120
121
|
key?: string;
|
|
@@ -124,6 +125,7 @@ export type TableColumn<T, K extends keyof T> = {
|
|
|
124
125
|
sortName?: string;
|
|
125
126
|
tableCellSx?: SxProps<Theme>;
|
|
126
127
|
hideCol?: boolean;
|
|
128
|
+
tooltip?: string;
|
|
127
129
|
};
|
|
128
130
|
|
|
129
131
|
// Sort order for Tables
|
|
@@ -119,6 +119,11 @@ export type BaseTableProps<T> = {
|
|
|
119
119
|
*/
|
|
120
120
|
stickyHeader?: string;
|
|
121
121
|
reRenderExpand?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Overrides the default color (gray) for tooltips (TableColumn.tooltip).
|
|
124
|
+
* NOTE: make sure to handle dark mode, if your app supports it.
|
|
125
|
+
*/
|
|
126
|
+
tooltipColor?: string;
|
|
122
127
|
};
|
|
123
128
|
export type TableProps<T> = BaseTableProps<T> & Omit<MuiTableProps, 'stickyHeader'>;
|
|
124
129
|
/**
|