@zsviczian/excalidraw 0.17.6-10 → 0.17.6-12

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@zsviczian/excalidraw",
3
- "version": "0.17.6-10",
3
+ "version": "0.17.6-12",
4
4
  "main": "main.js",
5
5
  "types": "types/excalidraw/index.d.ts",
6
6
  "files": [
@@ -18,6 +18,6 @@ export declare function registerLocalFont(fontMetrics: FontMetadata & {
18
18
  export declare function getFontFamilies(): string[];
19
19
  export declare function registerFontsInCSS(): Promise<void>;
20
20
  export declare function getCSSFontDefinition(fontFamily: number): Promise<string>;
21
- export declare function loadSceneFonts(elements: NonDeletedExcalidrawElement[]): Promise<void>;
21
+ export declare function loadSceneFonts(elements: NonDeletedExcalidrawElement[]): Promise<FontFace[]>;
22
22
  export declare function fetchFontFromVault(url: string | URL): Promise<ArrayBuffer | undefined>;
23
23
  export declare function isTouchInPenMode(appState: AppState, event: React.PointerEvent<HTMLElement> | MouseEvent): boolean;