presenter 0.9.1 → 0.9.2
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/dist/animations/Hide.d.ts +2 -2
- package/dist/animations/Show.d.ts +2 -2
- package/dist/export/index.d.ts +1 -0
- package/dist/export/notes-renderer/NotesRenderer.d.ts +7 -0
- package/dist/export/notes-renderer/types/NotesEntry.d.ts +6 -0
- package/dist/export/notes-renderer/types/NotesRendererProps.d.ts +16 -0
- package/dist/export/notes-renderer/utils/getNotesEntries.d.ts +9 -0
- package/dist/export/notes-renderer/utils/getTypstDocument.d.ts +10 -0
- package/dist/export.js +96 -25
- package/dist/export.js.map +1 -1
- package/dist/export.mjs +1040 -852
- package/dist/export.mjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/navigator/navigatorHotReload.d.ts +1 -0
- package/dist/presenter.js +4 -2
- package/dist/presenter.js.map +1 -1
- package/dist/presenter.mjs +904 -856
- package/dist/presenter.mjs.map +1 -1
- package/dist/types/BaseUnitSlideAnimation.d.ts +1 -0
- package/dist/types/Pause.d.ts +2 -1
- package/dist/types/Slide.d.ts +1 -0
- package/dist/utils/slide/getSpeakerNotes.d.ts +16 -0
- package/package.json +1 -1
|
@@ -3,5 +3,6 @@ export interface BaseUnitSlideAnimation {
|
|
|
3
3
|
readonly type: AnimationType;
|
|
4
4
|
/** Indicates whether this animation is a key animation to be included in exports. */
|
|
5
5
|
readonly isKey: boolean;
|
|
6
|
+
readonly notes: string | null;
|
|
6
7
|
readonly shortcut: string | string[] | null;
|
|
7
8
|
}
|
package/dist/types/Pause.d.ts
CHANGED
|
@@ -4,4 +4,5 @@ export interface Pause extends BaseUnitSlideAnimation {
|
|
|
4
4
|
readonly type: typeof AnimationType.PAUSE;
|
|
5
5
|
readonly duration: number;
|
|
6
6
|
}
|
|
7
|
-
export
|
|
7
|
+
export type PauseParams = Partial<Omit<Pause, "duration" | "type">>;
|
|
8
|
+
export declare function Pause(duration?: number, pauseParams?: PauseParams): Pause;
|
package/dist/types/Slide.d.ts
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Slide } from '../../types/Slide';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the speaker notes for a slide at a given build index, carrying forward notes from earlier
|
|
4
|
+
* builds if necessary.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSpeakerNotes(slide: Slide, buildIndex: number): string | null;
|
|
7
|
+
/**
|
|
8
|
+
* Returns only the notes attached directly to a build, without carrying notes forward from an
|
|
9
|
+
* earlier build.
|
|
10
|
+
*/
|
|
11
|
+
export declare function getSpeakerNotesForBuild(slide: Slide, buildIndex: number): string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Returns all notes attached to the inclusive range of builds without carrying notes forward from
|
|
14
|
+
* before the range.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSpeakerNotesForBuildRange(slide: Slide, startBuildIndex: number, endBuildIndex: number): string | null;
|