@simoncomputing/mui-bueno-v2 0.21.1 → 0.22.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 +19 -0
- package/dist/@types/index.d.ts +0 -2
- package/dist/index.cjs.js +62 -62
- package/dist/index.es.js +2355 -2354
- package/dist/index.umd.js +65 -65
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,25 @@ 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.22.0] - 2026-01-21
|
|
15
|
+
|
|
16
|
+
### Removed
|
|
17
|
+
|
|
18
|
+
- `Table`, `PaginatedTable`
|
|
19
|
+
- Removed `TableColumn.sortName`. Use `TableColumn.key` instead.
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- `Table`, `PaginatedTable`
|
|
24
|
+
- Fixed `Table` using `fieldName` and `key` inconsistently. This has been fixed so that the `Table` component will use `key` wherever possible, if specified. Otherwise will fallback to `fieldName`. This affects the following:
|
|
25
|
+
- sorting
|
|
26
|
+
- auto-labeling of columns
|
|
27
|
+
- props
|
|
28
|
+
- `hideColumnsOnMobile`
|
|
29
|
+
- `columns` -- `TableColumn.hideCol`
|
|
30
|
+
- `allowSortCols`
|
|
31
|
+
- internal component keys & class names
|
|
32
|
+
|
|
14
33
|
## [0.21.1] - 2025-12-18
|
|
15
34
|
|
|
16
35
|
### Changed
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -117,7 +117,6 @@ export type EnvironmentInfo = {
|
|
|
117
117
|
* is the whole object, in case you need to determine styling based on another property
|
|
118
118
|
* within the object. isMobile in case your styling depends on whether the user is viewing
|
|
119
119
|
* on a phone vs tablet/desktop
|
|
120
|
-
* @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.
|
|
121
120
|
* @property {SxProps<Theme>} tableCellSx - (Optional) styles applies to TableCell (non-mobile)
|
|
122
121
|
* @property {boolean} hideCol - (Optional) if true, this column will not be displayed
|
|
123
122
|
* @property {string} tooltip - (Optional) if provided, shows a help icon with the specified tooltip when hovered
|
|
@@ -127,7 +126,6 @@ export type TableColumn<T, K extends keyof T> = {
|
|
|
127
126
|
label?: string;
|
|
128
127
|
fieldName: K;
|
|
129
128
|
render?: (value: T[K], object: T, isMobile: boolean) => React.ReactNode;
|
|
130
|
-
sortName?: string;
|
|
131
129
|
tableCellSx?: SxProps<Theme>;
|
|
132
130
|
hideCol?: boolean;
|
|
133
131
|
tooltip?: string;
|