@simoncomputing/mui-bueno-v2 0.34.0 → 0.34.1

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,23 @@ 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.34.1] - 2026-07-06
15
+
16
+ ### Added
17
+
18
+ - `CitationField`
19
+ - Comments can be added in read-only mode
20
+
21
+ ### Changed
22
+
23
+ - `CitationField`
24
+ - `canComment` will hide the comment button at all when false. Previously, the button was disabled but still visible.
25
+
26
+ ### Removed
27
+
28
+ - `CitationField`
29
+ - `notApplicableName` (prop)
30
+
14
31
  ## [0.34.0] - 2026-07-06
15
32
 
16
33
  ### Added
@@ -46,12 +46,6 @@ export type CitationFieldProps = BaseInputProps & BaseCitationManagerApiProps &
46
46
  * Placeholder text. Default "Start typing here..."
47
47
  */
48
48
  placeholder?: string;
49
- /**
50
- * [prototype] If defined, a "Not Applicable" checkbox is displayed.
51
- *
52
- * NOTE: This feature is a prototype and is not fully implemented.
53
- */
54
- notApplicableName?: string;
55
49
  /**
56
50
  * When provided and the function returns true,
57
51
  * users will be allowed to launch URLs
@@ -1,4 +1,5 @@
1
1
  import { MenuButtonProps } from 'mui-tiptap';
2
+ import { Editor } from '@tiptap/core';
2
3
  export type CommentProps = {
3
4
  /**
4
5
  * Enables/disables comment button (To be used with `onComment`)
@@ -18,5 +19,7 @@ export type CommentProps = {
18
19
  */
19
20
  commentResolved?: boolean;
20
21
  };
21
- export type MenuCommentProps = Partial<MenuButtonProps> & CommentProps;
22
- export default function MenuComment({ canComment, onComment, commentCount, commentResolved, ...menuButtonProps }: MenuCommentProps): import("react/jsx-runtime").JSX.Element | null;
22
+ export type MenuCommentProps = Partial<MenuButtonProps> & CommentProps & {
23
+ editor?: Editor | null;
24
+ };
25
+ export default function MenuComment({ editor, canComment, onComment, commentCount, commentResolved, ...menuButtonProps }: MenuCommentProps): import("react/jsx-runtime").JSX.Element | null;