presenter 0.6.1 → 0.6.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/export.js +1 -1
- package/dist/extras/IFrame.d.ts +17 -0
- package/dist/extras/ScreenCapture.d.ts +13 -0
- package/dist/index.d.ts +3 -0
- package/dist/presenter.js +1 -1
- package/dist/renderer/browser-canvas/types/BrowserCanvasRendererState.d.ts +2 -0
- package/dist/renderer/browser-canvas/utils/extras/createExtrasElement.d.ts +6 -0
- package/dist/renderer/browser-canvas/utils/extras/mountWebExtra.d.ts +2 -0
- package/dist/types/Color.d.ts +1 -3
- package/dist/types/Slide.d.ts +2 -0
- package/dist/types/SlideWebExtra.d.ts +23 -0
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Anchor } from "../types/Anchor";
|
|
2
|
+
import { Color } from "../types/Color";
|
|
3
|
+
import { SlideWebExtra } from "../types/SlideWebExtra";
|
|
4
|
+
export interface IFrame {
|
|
5
|
+
readonly url: string;
|
|
6
|
+
readonly backgroundColor: Color;
|
|
7
|
+
readonly borderColor: Color;
|
|
8
|
+
readonly borderWidth: number;
|
|
9
|
+
readonly pointerEvents: string;
|
|
10
|
+
readonly scale: number;
|
|
11
|
+
readonly anchor: Anchor;
|
|
12
|
+
readonly height: number;
|
|
13
|
+
readonly width: number;
|
|
14
|
+
readonly x: number;
|
|
15
|
+
readonly y: number;
|
|
16
|
+
}
|
|
17
|
+
export declare function IFrame(props?: Partial<IFrame> | null): SlideWebExtra;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Alignment } from "../types/Alignment";
|
|
2
|
+
import { Anchor } from "../types/Anchor";
|
|
3
|
+
import { SlideWebExtra } from "../types/SlideWebExtra";
|
|
4
|
+
export interface ScreenCapture {
|
|
5
|
+
readonly alignment: Alignment;
|
|
6
|
+
readonly scale: number;
|
|
7
|
+
readonly anchor: Anchor;
|
|
8
|
+
readonly height: number;
|
|
9
|
+
readonly width: number;
|
|
10
|
+
readonly x: number;
|
|
11
|
+
readonly y: number;
|
|
12
|
+
}
|
|
13
|
+
export declare function ScreenCapture(props?: Partial<ScreenCapture> | null): SlideWebExtra;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { Grid } from "./constructors/Grid";
|
|
2
|
+
export { IFrame } from "./extras/IFrame";
|
|
3
|
+
export { ScreenCapture } from "./extras/ScreenCapture";
|
|
2
4
|
export { Arrow } from "./objects/Arrow";
|
|
3
5
|
export { Circle } from "./objects/Circle";
|
|
4
6
|
export { Group } from "./objects/Group";
|
|
@@ -30,6 +32,7 @@ export { Resources } from "./types/Resources";
|
|
|
30
32
|
export { Size } from "./types/Size";
|
|
31
33
|
export { Slide } from "./types/Slide";
|
|
32
34
|
export { SlideObject } from "./types/SlideObject";
|
|
35
|
+
export { SlideWebExtra } from "./types/SlideWebExtra";
|
|
33
36
|
export { TextContent } from "./types/TextContent";
|
|
34
37
|
export { TextUnit } from "./types/TextUnit";
|
|
35
38
|
export { Update } from "./types/Update";
|