notu 0.11.7 → 0.11.8

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.
@@ -18,6 +18,7 @@ export interface NoteComponentProcessor {
18
18
  identify(text: string): NoteComponentInfo;
19
19
  /** Accepts a function which converts a NoteComponentInfo object into an actual NoteComponent that can be rendered */
20
20
  creator: (info: NoteComponentInfo, note: Note, save: () => Promise<void>, previous: NoteComponentInfo, next: NoteComponentInfo) => NoteComponent;
21
+ get componentShowsInlineInParagraph(): boolean;
21
22
  }
22
23
  /** Takes a note and a set of processors, returns an array of all the note components which make up that note's text */
23
24
  export declare function splitNoteTextIntoComponents(note: Note, notu: Notu, componentProcessors: Array<NoteComponentProcessor>, defaultProcessor: NoteComponentProcessor): Array<NoteComponent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notu",
3
- "version": "0.11.7",
3
+ "version": "0.11.8",
4
4
  "main": "dist/notu.mjs",
5
5
  "unpkg": "dist/notu.mjs",
6
6
  "types": "dist/types/index.d.ts",