presenter 0.7.4 → 0.7.5

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.
@@ -6,4 +6,5 @@ export interface BrowserCanvasRendererProps {
6
6
  readonly element: HTMLElement;
7
7
  readonly objectRenderers: Record<string, BrowserCanvasObjectRenderer<SlideObject>>;
8
8
  readonly cacheDurationMinutes: number;
9
+ readonly scale: number;
9
10
  }
@@ -6,4 +6,5 @@ export interface Update<T extends SlideObject> extends BaseUnitSlideAnimation {
6
6
  readonly object: T;
7
7
  readonly props: Partial<Omit<T, "objectType">>;
8
8
  }
9
- export declare function Update<T extends SlideObject>(object: T, props: Partial<Omit<T, "objectType">>): Update<T>;
9
+ export type UpdateParams<T extends SlideObject> = Partial<Omit<Update<T>, "object" | "props">>;
10
+ export declare function Update<T extends SlideObject>(object: T, props: Partial<Omit<T, "objectType">>, updateParams?: UpdateParams<T>): Update<T>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "presenter",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "A JavaScript presentation library",
5
5
  "main": "dist/presenter.js",
6
6
  "types": "dist/index.d.ts",