@simoncomputing/mui-bueno-v2 0.18.13 → 0.18.15

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 CHANGED
@@ -11,6 +11,21 @@ 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.18.15] - 2025-09-29
15
+
16
+ ### Fixed
17
+ - `CitationManger`
18
+ - Clear error when opening/closing modals
19
+
20
+ ## [0.18.14] - 2025-09-29
21
+
22
+ ### Fixed
23
+ - `CitationField`, `CitationManger`, `SelectableCitationManager`
24
+ - Improved error message displayed when API call fails
25
+
26
+ ### Changed
27
+ - `CitationField`, `CitationManger`, `SelectableCitationManager`
28
+ - `onError` param changed from `string` to `obj`
14
29
 
15
30
  ## [0.18.13] - 2025-09-29
16
31
 
@@ -73,7 +73,7 @@ export type CitationFieldProps = BaseInputProps & {
73
73
  * NOTE: All errors are handled internally, so this prop is mainly intended to
74
74
  * help debug issues so developers can see specific details about an error.
75
75
  */
76
- onError?: (err: string) => void;
76
+ onError?: (err: any) => void;
77
77
  /**
78
78
  * Placeholder text. Default "Start typing here..."
79
79
  */
@@ -52,7 +52,7 @@ export interface BaseCitationManagerProps {
52
52
  * NOTE: All errors are handled internally, so this prop is mainly intended to
53
53
  * help debug issues so developers can see specific details about an error.
54
54
  */
55
- onError?: (err: string) => void;
55
+ onError?: (err: any) => void;
56
56
  /**
57
57
  * When true, the table will be rendered for pop-ups with the ability to select citations from the table.
58
58
  * When false, teh table will be rendered as a basic paginated table with all columns displayed.
@@ -19,7 +19,7 @@ export type CitationTableProps = {
19
19
  * NOTE: All errors are handled internally, so this prop is mainly intended to
20
20
  * help debug issues so developers can see specific details about an error.
21
21
  */
22
- onError?: (err: string) => void;
22
+ onError?: (err: any) => void;
23
23
  /**
24
24
  * When true, the Source, Accessed At & Classification columns will not be displayed
25
25
  * to preserve horizontal space.