@simoncomputing/mui-bueno-v2 0.19.0 → 0.19.4
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 +45 -0
- package/dist/@types/index.d.ts +2 -0
- package/dist/components/Table/{PaginatedTable.d.ts → PaginatedTable/PaginatedTable.d.ts} +2 -2
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/index.cjs.js +100 -100
- package/dist/index.d.ts +2 -2
- package/dist/index.es.js +9176 -9109
- package/dist/index.umd.js +103 -103
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,51 @@ 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.4] - 2025-10-24
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Fixed build order of storybook app & library
|
|
19
|
+
|
|
20
|
+
## [0.19.3] - 2025-10-24
|
|
21
|
+
|
|
22
|
+
Summary: Updates the expandable row functionality in `Table` / `PaginatedTable` to match [MUI's Collapsible Table example](https://mui.com/material-ui/react-table/#collapsible-table).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `Table`/`PaginatedTable`
|
|
27
|
+
|
|
28
|
+
- Added additional column to the left of the table when using expandable columns that will display up/down chevrons indicating the row is expandable. In mobile/card view, "Show More"/"Show Less" buttons will be displayed at the bottom of the card instead.
|
|
29
|
+
|
|
30
|
+
- Added this changelog to Storybook
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- `Table`/`PaginatedTable`
|
|
35
|
+
- Removed dividers in between row and its expanded section
|
|
36
|
+
- The row can only be expanded/collapsed by clicking on the up/down chevron buttons, rather than the whole row
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- `Table`/`PaginatedTable`
|
|
41
|
+
- Fixed inconsistent thickness of row borders
|
|
42
|
+
|
|
43
|
+
## [0.19.2] - 2025-10-22
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
|
|
47
|
+
- (Documentation) Storybook mdx file had incorrect import, causing the build to fail
|
|
48
|
+
|
|
49
|
+
## [0.19.1] - 2025-10-21
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- `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.
|
|
54
|
+
|
|
55
|
+
### Changed
|
|
56
|
+
|
|
57
|
+
- Default font size for MUI tooltips increased
|
|
58
|
+
|
|
14
59
|
## [0.19.0] - 2025-10-16
|
|
15
60
|
|
|
16
61
|
### 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
|
/**
|