@simoncomputing/mui-bueno-v2 0.25.15 → 0.25.17
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 +25 -0
- package/dist/components/Form/Inputs/CitationField/CitationField.d.ts +5 -1
- package/dist/components/Form/Inputs/CitationField/CitationManager/CitationBubbleMenu.d.ts +1 -1
- package/dist/components/Form/Inputs/CitationField/CitationManager/SelectableCitationManager.d.ts +4 -4
- package/dist/index.cjs.js +35 -35
- package/dist/index.es.js +2211 -2211
- package/dist/index.umd.js +32 -32
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,31 @@ 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.25.17] - 2026-02-23
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `CitationField`
|
|
19
|
+
- Added `getSelectedCitationsPaginated` prop to fetch only selected citations when in readOnly mode
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- `SelectableCitationManager`
|
|
24
|
+
- Fixed props which should not allow `renderAsPopup` and `canSelect`
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- `SelectableCitationManager`
|
|
29
|
+
- `getSelectedCitationsPaginated` is now required
|
|
30
|
+
- Updated title to be determined internally based on `readOnly`, to match `CitationField`
|
|
31
|
+
|
|
32
|
+
## [0.25.16] - 2026-02-23
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- `MultiAutocomplete`
|
|
37
|
+
- `disableClearable` is now true by default. This is to prevent users inadvertently clearing the field instead of the dropdown icon button next to it since the buttons are close together.
|
|
38
|
+
|
|
14
39
|
## [0.25.15] - 2026-02-23
|
|
15
40
|
|
|
16
41
|
### Added
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { Citation } from '../../../../@types';
|
|
1
|
+
import { Citation, PageResponse, PageState } from '../../../../@types';
|
|
2
2
|
import { BaseInputProps } from '../BaseInputProps';
|
|
3
3
|
import { BaseCitationManagerApiProps } from './CitationManager/BaseCitationManager';
|
|
4
4
|
export type CitationFieldProps = BaseInputProps & BaseCitationManagerApiProps & {
|
|
5
|
+
/**
|
|
6
|
+
* API call for fetching SELECTED citations. Used instead of getCitationsPaginated when the component is readOnly.
|
|
7
|
+
*/
|
|
8
|
+
getSelectedCitationsPaginated: (req: PageState) => Promise<PageResponse<Citation>>;
|
|
5
9
|
/**
|
|
6
10
|
* If `true`, the component becomes readonly.
|
|
7
11
|
* @default false
|
|
@@ -23,4 +23,4 @@ export type CitationBubbleMenuProps = Partial<Omit<ControlledBubbleMenuProps, 'o
|
|
|
23
23
|
* update, which will happen if it's a child of the component using
|
|
24
24
|
* `useEditor`).
|
|
25
25
|
*/
|
|
26
|
-
export default function CitationBubbleMenuTipTap({ getCitationsPaginated, onCreateCitation, onUpdateCitation, onDeleteCitation, getCitationById, onDownloadAttachment, onViewAttachment, canLaunchUrl, readOnly, ...controlledBubbleMenuProps }: CitationBubbleMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
+
export default function CitationBubbleMenuTipTap({ getCitationsPaginated, getSelectedCitationsPaginated, onCreateCitation, onUpdateCitation, onDeleteCitation, getCitationById, onDownloadAttachment, onViewAttachment, canLaunchUrl, readOnly, ...controlledBubbleMenuProps }: CitationBubbleMenuProps): import("react/jsx-runtime").JSX.Element | null;
|
package/dist/components/Form/Inputs/CitationField/CitationManager/SelectableCitationManager.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Citation, PageResponse, PageState } from '../../../../../@types';
|
|
2
2
|
import { BaseCitationManagerProps } from './BaseCitationManager';
|
|
3
|
-
export type SelectableCitationManagerProps = Omit<BaseCitationManagerProps, '
|
|
3
|
+
export type SelectableCitationManagerProps = Omit<BaseCitationManagerProps, 'renderAsPopup' | 'canSelect'> & {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* API call for fetching SELECTED citations. Used instead of getCitationsPaginated when the component is readOnly.
|
|
6
6
|
*/
|
|
7
|
-
getSelectedCitationsPaginated
|
|
7
|
+
getSelectedCitationsPaginated: (req: PageState) => Promise<PageResponse<Citation>>;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
10
|
* SelectableCitationManager is a condensed table that handles creating, updating, deleting and selecting citations.
|
|
11
11
|
*
|
|
12
12
|
* It's intended to be used in a pop-up/modal.
|
|
13
13
|
*/
|
|
14
|
-
export declare function SelectableCitationManager({ getSelectedCitationsPaginated, getCitationsPaginated, readOnly,
|
|
14
|
+
export declare function SelectableCitationManager({ getSelectedCitationsPaginated, getCitationsPaginated, readOnly, ...rest }: SelectableCitationManagerProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export default SelectableCitationManager;
|