@zsviczian/excalidraw 0.18.0-39 → 0.18.0-40

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.18.0-39",
3
+ "version": "0.18.0-40",
4
4
  "main": "main.js",
5
5
  "module": "./dist/prod/index.js",
6
6
  "types": "types/excalidraw/index.d.ts",
@@ -95,7 +95,6 @@ export declare const actionClearCanvas: {
95
95
  name: "commandPalette";
96
96
  } | {
97
97
  name: "elementLinkSelector";
98
- /** whether to fit content to viewport (beyond >100%) */
99
98
  sourceElementId: string;
100
99
  } | null;
101
100
  editingGroupId: string | null;
@@ -332,7 +331,6 @@ export declare const actionZoomIn: {
332
331
  name: "commandPalette";
333
332
  } | {
334
333
  name: "elementLinkSelector";
335
- /** whether to fit content to viewport (beyond >100%) */
336
334
  sourceElementId: string;
337
335
  } | null;
338
336
  defaultSidebarDockedPreference: boolean;
@@ -559,7 +557,6 @@ export declare const actionZoomOut: {
559
557
  name: "commandPalette";
560
558
  } | {
561
559
  name: "elementLinkSelector";
562
- /** whether to fit content to viewport (beyond >100%) */
563
560
  sourceElementId: string;
564
561
  } | null;
565
562
  defaultSidebarDockedPreference: boolean;
@@ -786,7 +783,6 @@ export declare const actionResetZoom: {
786
783
  name: "commandPalette";
787
784
  } | {
788
785
  name: "elementLinkSelector";
789
- /** whether to fit content to viewport (beyond >100%) */
790
786
  sourceElementId: string;
791
787
  } | null;
792
788
  defaultSidebarDockedPreference: boolean;
@@ -1019,7 +1015,6 @@ export declare const zoomToFitBounds: ({ bounds, appState, canvasOffsets, fitToV
1019
1015
  name: "commandPalette";
1020
1016
  } | {
1021
1017
  name: "elementLinkSelector";
1022
- /** whether to fit content to viewport (beyond >100%) */
1023
1018
  sourceElementId: string;
1024
1019
  } | null;
1025
1020
  defaultSidebarDockedPreference: boolean;
@@ -1248,7 +1243,6 @@ export declare const zoomToFit: ({ canvasOffsets, targetElements, appState, fitT
1248
1243
  name: "commandPalette";
1249
1244
  } | {
1250
1245
  name: "elementLinkSelector";
1251
- /** whether to fit content to viewport (beyond >100%) */
1252
1246
  sourceElementId: string;
1253
1247
  } | null;
1254
1248
  defaultSidebarDockedPreference: boolean;
@@ -1469,7 +1463,6 @@ export declare const actionZoomToFitSelectionInViewport: {
1469
1463
  name: "commandPalette";
1470
1464
  } | {
1471
1465
  name: "elementLinkSelector";
1472
- /** whether to fit content to viewport (beyond >100%) */
1473
1466
  sourceElementId: string;
1474
1467
  } | null;
1475
1468
  defaultSidebarDockedPreference: boolean;
@@ -1694,7 +1687,6 @@ export declare const actionZoomToFitSelection: {
1694
1687
  name: "commandPalette";
1695
1688
  } | {
1696
1689
  name: "elementLinkSelector";
1697
- /** whether to fit content to viewport (beyond >100%) */
1698
1690
  sourceElementId: string;
1699
1691
  } | null;
1700
1692
  defaultSidebarDockedPreference: boolean;
@@ -1920,7 +1912,6 @@ export declare const actionZoomToFit: {
1920
1912
  name: "commandPalette";
1921
1913
  } | {
1922
1914
  name: "elementLinkSelector";
1923
- /** whether to fit content to viewport (beyond >100%) */
1924
1915
  sourceElementId: string;
1925
1916
  } | null;
1926
1917
  defaultSidebarDockedPreference: boolean;
@@ -2148,7 +2139,6 @@ export declare const actionToggleTheme: {
2148
2139
  name: "commandPalette";
2149
2140
  } | {
2150
2141
  name: "elementLinkSelector";
2151
- /** whether to fit content to viewport (beyond >100%) */
2152
2142
  sourceElementId: string;
2153
2143
  } | null;
2154
2144
  defaultSidebarDockedPreference: boolean;
@@ -2371,7 +2361,6 @@ export declare const actionToggleEraserTool: {
2371
2361
  name: "commandPalette";
2372
2362
  } | {
2373
2363
  name: "elementLinkSelector";
2374
- /** whether to fit content to viewport (beyond >100%) */
2375
2364
  sourceElementId: string;
2376
2365
  } | null;
2377
2366
  defaultSidebarDockedPreference: boolean;
@@ -2590,7 +2579,6 @@ export declare const actionToggleLassoTool: {
2590
2579
  name: "commandPalette";
2591
2580
  } | {
2592
2581
  name: "elementLinkSelector";
2593
- /** whether to fit content to viewport (beyond >100%) */
2594
2582
  sourceElementId: string;
2595
2583
  } | null;
2596
2584
  defaultSidebarDockedPreference: boolean;
@@ -2808,7 +2796,6 @@ export declare const actionToggleHandTool: {
2808
2796
  name: "commandPalette";
2809
2797
  } | {
2810
2798
  name: "elementLinkSelector";
2811
- /** whether to fit content to viewport (beyond >100%) */
2812
2799
  sourceElementId: string;
2813
2800
  } | null;
2814
2801
  defaultSidebarDockedPreference: boolean;
@@ -3025,7 +3012,6 @@ export declare const actionToggleLaserPointer: {
3025
3012
  name: "commandPalette";
3026
3013
  } | {
3027
3014
  name: "elementLinkSelector";
3028
- /** whether to fit content to viewport (beyond >100%) */
3029
3015
  sourceElementId: string;
3030
3016
  } | null;
3031
3017
  defaultSidebarDockedPreference: boolean;
@@ -3239,7 +3225,6 @@ export declare const zoomToFitElements: (elements: readonly ExcalidrawElement[],
3239
3225
  name: "commandPalette";
3240
3226
  } | {
3241
3227
  name: "elementLinkSelector";
3242
- /** whether to fit content to viewport (beyond >100%) */
3243
3228
  sourceElementId: string;
3244
3229
  } | null;
3245
3230
  defaultSidebarDockedPreference: boolean;
@@ -4,6 +4,7 @@ type FixedSideContainerProps = {
4
4
  children: React.ReactNode;
5
5
  side: "top" | "left" | "right";
6
6
  className?: string;
7
+ sidepanelOpen?: boolean;
7
8
  };
8
- export declare const FixedSideContainer: ({ children, side, className, }: FixedSideContainerProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const FixedSideContainer: ({ children, side, className, sidepanelOpen, }: FixedSideContainerProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export {};
@@ -1,5 +1,4 @@
1
- import type { ReactNode } from "react";
2
- import type { JSX } from "react";
1
+ import type { JSX, ReactNode } from "react";
3
2
  export declare const TTDDialogTrigger: {
4
3
  ({ children, icon, }: {
5
4
  children?: ReactNode;
@@ -696,6 +696,7 @@ export interface ExcalidrawImperativeAPI {
696
696
  };
697
697
  setForceRenderAllEmbeddables: InstanceType<typeof App>["setForceRenderAllEmbeddables"];
698
698
  zoomToFit: InstanceType<typeof App>["zoomToFit"];
699
+ refreshEditorBreakpoints: InstanceType<typeof App>["refreshEditorBreakpoints"];
699
700
  getColorAtScenePoint: InstanceType<typeof App>["getColorAtScenePoint"];
700
701
  startLineEditor: InstanceType<typeof App>["startLineEditor"];
701
702
  getSceneElements: InstanceType<typeof App>["getSceneElements"];