@simoncomputing/mui-bueno-v2 0.15.2 → 0.16.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 +7 -0
- package/dist/components/Form/Inputs/CitationField/CitationMenu/CitationTable.d.ts +1 -1
- package/dist/components/Form/Inputs/DateField/DateField.d.ts +3 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.es.js +2160 -2153
- package/dist/index.umd.js +64 -64
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,13 @@ 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.16.0] - 2025-07-16
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- `CitationField`/`CitationMenu`: Fixed counter on Select button not showing correct value after deleting a citation that was checked.
|
|
19
|
+
- `DateField`/`DateRangeField`: Fixed whole field clearing when user changes the year (via typing, not via date picker)
|
|
20
|
+
|
|
14
21
|
## [0.15.2] - 2025-07-16
|
|
15
22
|
|
|
16
23
|
### Added
|
|
@@ -10,7 +10,7 @@ export type CitationTableProps = {
|
|
|
10
10
|
onSelect: (selectedIds: number[]) => void;
|
|
11
11
|
fetchExistingCitations: (req: PageState) => Promise<PageResponse<Citation>>;
|
|
12
12
|
selectedIds: number[];
|
|
13
|
-
|
|
13
|
+
setSelectedIds: React.Dispatch<React.SetStateAction<number[]>>;
|
|
14
14
|
/**
|
|
15
15
|
* Error callback.
|
|
16
16
|
*
|
|
@@ -55,6 +55,9 @@ type BaseDateFieldProps = {
|
|
|
55
55
|
* Used to customize the label when the static label option is selected or the field is readOnly.
|
|
56
56
|
*/
|
|
57
57
|
staticLabelProps?: TypographyProps;
|
|
58
|
+
/**
|
|
59
|
+
* Similar to MUI's onChange but the value (1st param) is the ISO-formatted date string
|
|
60
|
+
*/
|
|
58
61
|
onChange?: (val: string | undefined, context: PickerChangeHandlerContext<DateValidationError>) => void;
|
|
59
62
|
};
|
|
60
63
|
interface DateFieldOnlyProps extends BaseDateFieldProps, Omit<DatePickerProps<Dayjs>, 'label' | 'name' | 'onChange'> {
|