@haoxin-web/excalidraw 1.0.22 → 1.0.24

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.
@@ -1 +1 @@
1
- import{a,b,c,d}from"./chunk-LS7FJGPW.js";import"./chunk-H7BFYYZW.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
1
+ import{a,b,c,d}from"./chunk-LS7FJGPW.js";import"./chunk-WBFOTHBE.js";import"./chunk-SRAX5OIU.js";export{a as Commands,b as subsetToBase64,c as subsetToBinary,d as toBase64};
@@ -1 +1 @@
1
- import{a as r,c as t}from"./chunk-LS7FJGPW.js";import"./chunk-H7BFYYZW.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
1
+ import{a as r,c as t}from"./chunk-LS7FJGPW.js";import"./chunk-WBFOTHBE.js";import"./chunk-SRAX5OIU.js";var s=import.meta.url?new URL(import.meta.url):void 0;typeof window>"u"&&typeof self<"u"&&(self.onmessage=async e=>{switch(e.data.command){case r.Subset:let a=await t(e.data.arrayBuffer,e.data.codePoints);self.postMessage(a,{transfer:[a]});break}});export{s as WorkerUrl};
@@ -6,6 +6,7 @@ type LockIconProps = {
6
6
  onChange?(): void;
7
7
  isMobile?: boolean;
8
8
  visible?: boolean;
9
+ showKeyShortcut?: boolean;
9
10
  };
10
11
  export declare const HandButton: (props: LockIconProps) => import("react/jsx-runtime").JSX.Element | null;
11
12
  export {};
@@ -30,6 +30,7 @@ interface LayerUIProps {
30
30
  showZoomActions?: boolean;
31
31
  showPanActions?: boolean;
32
32
  showToolBar?: boolean;
33
+ showTopLeftToolbar?: boolean;
33
34
  }
34
- declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, children, app, isCollaborating, generateLinkForSelection, showZoomActions, showPanActions, showToolBar, }: LayerUIProps) => import("react/jsx-runtime").JSX.Element>;
35
+ declare const _default: React.MemoExoticComponent<({ actionManager, appState, files, setAppState, elements, canvas, onLockToggle, onHandToolToggle, onPenModeToggle, showExitZenModeBtn, renderTopRightUI, renderCustomStats, UIOptions, onExportImage, renderWelcomeScreen, children, app, isCollaborating, generateLinkForSelection, showZoomActions, showPanActions, showToolBar, showTopLeftToolbar, }: LayerUIProps) => import("react/jsx-runtime").JSX.Element>;
35
36
  export default _default;
@@ -4,6 +4,8 @@ type Props = {
4
4
  appState: UIAppState;
5
5
  app: AppClassProperties;
6
6
  visible?: boolean;
7
+ onHandToolToggle?: () => void;
8
+ showPanActions?: boolean;
7
9
  };
8
10
  declare const LeftMainToolbar: React.FC<Props>;
9
11
  export default LeftMainToolbar;
@@ -481,6 +481,7 @@ export interface ExcalidrawProps {
481
481
  showZoomActions?: boolean;
482
482
  showPanActions?: boolean;
483
483
  showToolBar?: boolean;
484
+ showTopLeftToolbar?: boolean;
484
485
  }
485
486
  export type SceneData = {
486
487
  elements?: ImportedDataState["elements"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haoxin-web/excalidraw",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "types": "./dist/types/excalidraw/index.d.ts",
6
6
  "main": "./dist/prod/index.js",
@@ -1 +0,0 @@
1
- import{X as a,Y as b,Z as c}from"../chunk-K5OGYQ6P.js";import"../chunk-H7BFYYZW.js";import"../chunk-SRAX5OIU.js";export{c as decodePngMetadata,b as encodePngMetadata,a as getTEXtChunk};