@zsviczian/excalidraw 0.17.6-5 → 0.17.6-6
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/excalidraw.development.js +12 -12
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/excalidraw/index.d.ts +0 -1
- package/types/excalidraw/obsidianUtils.d.ts +1 -1
- package/types/excalidraw/renderer/renderElement.d.ts +2 -1
- package/types/utils/export.d.ts +1 -1
package/package.json
CHANGED
|
@@ -23,7 +23,6 @@ getFontString, //zsviczian
|
|
|
23
23
|
getBoundTextMaxWidth, //zsviczian
|
|
24
24
|
mermaidToExcalidraw, //zsviczian
|
|
25
25
|
destroyObsidianUtils, //zsviczian
|
|
26
|
-
initializeObsidianUtils, //zsviczian
|
|
27
26
|
registerLocalFont, //zsviczian
|
|
28
27
|
getFontFamilies, //zsviczian
|
|
29
28
|
getFontFamilyString, //zsviczian
|
|
@@ -2,7 +2,7 @@ import { NonDeletedExcalidrawElement } from "./element/types";
|
|
|
2
2
|
import type { FontMetadata } from "./fonts/FontMetadata";
|
|
3
3
|
export declare let hostPlugin: any;
|
|
4
4
|
export declare function destroyObsidianUtils(): void;
|
|
5
|
-
export declare function initializeObsidianUtils(
|
|
5
|
+
export declare function initializeObsidianUtils(): void;
|
|
6
6
|
export declare function getAreaLimit(): any;
|
|
7
7
|
export declare function getWidthHeightLimit(): any;
|
|
8
8
|
export declare function allowDoubleTapEraser(): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExcalidrawElement, ExcalidrawTextElement, NonDeletedExcalidrawElement, ExcalidrawFreeDrawElement, ExcalidrawFrameLikeElement, NonDeletedSceneElementsMap } from "../element/types";
|
|
1
|
+
import type { ExcalidrawElement, ExcalidrawTextElement, NonDeletedExcalidrawElement, ExcalidrawFreeDrawElement, ExcalidrawImageElement, ExcalidrawFrameLikeElement, NonDeletedSceneElementsMap } from "../element/types";
|
|
2
2
|
import type { RoughCanvas } from "roughjs/bin/canvas";
|
|
3
3
|
import type { StaticCanvasRenderConfig, RenderableElementsMap, InteractiveCanvasRenderConfig } from "../scene/types";
|
|
4
4
|
import type { AppState, StaticCanvasAppState, InteractiveCanvasAppState, ElementsPendingErasure, PendingExcalidrawElements } from "../types";
|
|
@@ -14,6 +14,7 @@ export interface ExcalidrawElementWithCanvas {
|
|
|
14
14
|
canvasOffsetX: number;
|
|
15
15
|
canvasOffsetY: number;
|
|
16
16
|
boundTextElementVersion: number | null;
|
|
17
|
+
imageCrop: ExcalidrawImageElement["crop"] | null;
|
|
17
18
|
containingFrameOpacity: number;
|
|
18
19
|
boundTextCanvas: HTMLCanvasElement;
|
|
19
20
|
}
|
package/types/utils/export.d.ts
CHANGED
|
@@ -41,4 +41,4 @@ export { getLineHeight } from "../excalidraw/fonts/index";
|
|
|
41
41
|
export { getFontString, getFontFamilyString } from "../excalidraw/utils";
|
|
42
42
|
export { getBoundTextMaxWidth } from "../excalidraw/element/textElement";
|
|
43
43
|
export { mermaidToExcalidraw } from "../excalidraw/components/TTDDialog/MermaidToExcalidraw";
|
|
44
|
-
export { destroyObsidianUtils,
|
|
44
|
+
export { destroyObsidianUtils, registerLocalFont, getFontFamilies, registerFontsInCSS, getCSSFontDefinition, loadSceneFonts, } from "../excalidraw/obsidianUtils";
|