@simoncomputing/mui-bueno-v2 0.21.0 → 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 +26 -0
- package/dist/@types/index.d.ts +0 -2
- package/dist/components/Form/Inputs/RichTextField/RichTextField.d.ts +4 -0
- package/dist/index.cjs.js +67 -67
- package/dist/index.es.js +2700 -2698
- package/dist/index.umd.js +73 -73
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,32 @@ 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
|
+
|
|
33
|
+
## [0.21.1] - 2025-12-18
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- `CitationField`
|
|
38
|
+
- Editor will now update formik value periodically, rather than just waiting until the field blurs, to allow for autosaving
|
|
39
|
+
|
|
14
40
|
## [0.21.0] - 2025-12-18
|
|
15
41
|
|
|
16
42
|
### 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;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { TypographyProps } from '@mui/material';
|
|
2
2
|
import { ImageNodeAttributes } from 'mui-tiptap';
|
|
3
|
+
/**
|
|
4
|
+
* TODO: update syncing of formik value to be more often (not just on blur) using debounced solution from CitationField,
|
|
5
|
+
* in order to support this field being autosave-able.
|
|
6
|
+
*/
|
|
3
7
|
export type RichTextEditorProps = {
|
|
4
8
|
/**
|
|
5
9
|
* Name and ID of the component. Must match a key from initialValues in Formik.
|