@zsviczian/excalidraw 0.17.6-22 → 0.17.6-23

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-22",
3
+ "version": "0.17.6-23",
4
4
  "main": "main.js",
5
5
  "types": "types/excalidraw/index.d.ts",
6
6
  "files": [
@@ -356,7 +356,7 @@ declare class App extends React.Component<AppProps, AppState> {
356
356
  /** use when changing scrollX/scrollY/zoom based on user interaction */
357
357
  private translateCanvas;
358
358
  zoomToFit: (target?: readonly ExcalidrawElement[], maxZoom?: number, margin?: number) => void;
359
- getColorAtScenePoint: ({ sceneX, sceneY }: {
359
+ getColorAtScenePoint: ({ sceneX, sceneY, }: {
360
360
  sceneX: number;
361
361
  sceneY: number;
362
362
  }) => string | null;
@@ -1,6 +1,6 @@
1
- import { MermaidConfig } from "@zsviczian/mermaid-to-excalidraw";
2
- import { ExcalidrawElement } from "../../element/types";
3
- import { MermaidToExcalidrawLibProps } from "./common";
1
+ import type { MermaidConfig } from "@zsviczian/mermaid-to-excalidraw";
2
+ import type { ExcalidrawElement } from "../../element/types";
3
+ import type { MermaidToExcalidrawLibProps } from "./common";
4
4
  export declare const loadMermaidToExcalidrawLib: () => Promise<MermaidToExcalidrawLibProps>;
5
5
  export declare const loadMermaidLib: () => Promise<MermaidToExcalidrawLibProps>;
6
6
  export declare const mermaidToExcalidraw: (mermaidDefinition: string, opts: MermaidConfig, forceSVG?: boolean) => Promise<{
@@ -67,8 +67,7 @@ export declare class Fonts {
67
67
  * @param metadata font metadata
68
68
  * @param fontFacesDecriptors font faces descriptors
69
69
  */
70
- static register(//zsviczian made public
71
- this: Fonts | {
70
+ static register(this: Fonts | {
72
71
  registered: Map<number, {
73
72
  metadata: FontMetadata;
74
73
  fontFaces: ExcalidrawFontFace[];
@@ -1,7 +1,7 @@
1
- import { MermaidToExcalidrawLibProps } from "./components/TTDDialog/common";
2
- import { NonDeletedExcalidrawElement } from "./element/types";
1
+ import type { MermaidToExcalidrawLibProps } from "./components/TTDDialog/common";
2
+ import type { NonDeletedExcalidrawElement } from "./element/types";
3
3
  import type { FontMetadata } from "./fonts/FontMetadata";
4
- import { AppState } from "./types";
4
+ import type { AppState } from "./types";
5
5
  export declare let hostPlugin: any;
6
6
  export declare function destroyObsidianUtils(): void;
7
7
  export declare function initializeObsidianUtils(): void;