@simoncomputing/mui-bueno-v2 0.14.7 → 0.14.9

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@simoncomputing/mui-bueno-v2",
3
3
  "private": false,
4
- "version": "0.14.7",
4
+ "version": "0.14.9",
5
5
  "type": "module",
6
6
  "main": "./dist/index.umd.js",
7
7
  "module": "./dist/index.es.js",
@@ -1,29 +0,0 @@
1
- import { Citation } from '../../../../../@types';
2
- type CitationRefreshProviderProps = {
3
- /**
4
- * CitationField(s)
5
- */
6
- children: React.ReactNode;
7
- /**
8
- * array of unqiue ids of citations currently being referenced in the editor
9
- */
10
- citationIds: number[];
11
- /**
12
- * API call for fetching citations. Triggered internally when citationIds changes.
13
- */
14
- getCitationsByIds: (ids: number[]) => Promise<Citation[]>;
15
- /**
16
- * Id of the citation that had a title changed. Used internally to determine whether or
17
- * not to trigger an API refresh of the citation list.
18
- */
19
- titleChangedId: number | undefined;
20
- };
21
- export declare function CitationRefreshProvider({ children, citationIds, getCitationsByIds, titleChangedId, }: CitationRefreshProviderProps): import("react/jsx-runtime").JSX.Element;
22
- export declare const useCitationRefreshContext: () => {
23
- /**
24
- * Array of ALL UNIQUE citations being referenced in the editor.
25
- * (Not to be confused with table of citations in the bubble menu -- this is only the citations actually in the editor itself)
26
- */
27
- citations: Citation[];
28
- };
29
- export {};