@myoc/excalidraw 0.19.508 → 0.19.510

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/dist/dev/{chunk-4FUVQKPQ.js → chunk-EFGBMKJZ.js} +3 -3
  3. package/dist/dev/{chunk-TW3GG6X2.js → chunk-ETVKWGYA.js} +2 -2
  4. package/dist/dev/{chunk-55P7U5EB.js → chunk-XO7KL57K.js} +2 -1
  5. package/dist/dev/{chunk-55P7U5EB.js.map → chunk-XO7KL57K.js.map} +2 -2
  6. package/dist/dev/data/{image-BLMJ34ZZ.js → image-24SF3JAY.js} +3 -3
  7. package/dist/dev/index.css +5 -0
  8. package/dist/dev/index.css.map +2 -2
  9. package/dist/dev/index.js +112 -10
  10. package/dist/dev/index.js.map +3 -3
  11. package/dist/dev/locales/{en-MHJYLCUG.js → en-YKPA7MQG.js} +2 -2
  12. package/dist/dev/subset-shared.chunk.js +1 -1
  13. package/dist/dev/subset-worker.chunk.js +1 -1
  14. package/dist/prod/{chunk-QIZKYIJ7.js → chunk-SC7IWESZ.js} +2 -2
  15. package/dist/prod/{chunk-5HKPV526.js → chunk-SGSDFYY3.js} +2 -2
  16. package/dist/prod/{chunk-GYDQTBSQ.js → chunk-YUBA7MSK.js} +1 -1
  17. package/dist/prod/data/image-N3RCNYSN.js +1 -0
  18. package/dist/prod/index.css +1 -1
  19. package/dist/prod/index.js +17 -17
  20. package/dist/prod/locales/{en-YKHOUQAO.js → en-NJXWY54O.js} +1 -1
  21. package/dist/prod/subset-shared.chunk.js +1 -1
  22. package/dist/prod/subset-worker.chunk.js +1 -1
  23. package/dist/types/excalidraw/components/App.d.ts +2 -0
  24. package/dist/types/excalidraw/components/Dialog.d.ts +1 -0
  25. package/dist/types/excalidraw/components/Modal.d.ts +1 -0
  26. package/package.json +4 -4
  27. package/dist/prod/data/image-S4O4TFPQ.js +0 -1
  28. /package/dist/dev/{chunk-4FUVQKPQ.js.map → chunk-EFGBMKJZ.js.map} +0 -0
  29. /package/dist/dev/{chunk-TW3GG6X2.js.map → chunk-ETVKWGYA.js.map} +0 -0
  30. /package/dist/dev/data/{image-BLMJ34ZZ.js.map → image-24SF3JAY.js.map} +0 -0
  31. /package/dist/dev/locales/{en-MHJYLCUG.js.map → en-YKPA7MQG.js.map} +0 -0
@@ -1 +1 @@
1
- import{A,B,C,D,E,F,G,H,I,J,K,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-QIZKYIJ7.js";import"../chunk-SRAX5OIU.js";export{f as alerts,e as buttons,l as canvasError,t as clearCanvasDialog,D as colorPicker,B as colors,I as commandPalette,w as confirmDialog,K as default,i as element,b as elementLink,y as encrypted,p as errorDialog,m as errorSplash,g as errors,r as exportDialog,G as fontList,j as headings,s as helpDialog,k as hints,x as imageExportDialog,J as keys,a as labels,c as library,E as overwriteConfirm,q as progressDialog,u as publishDialog,v as publishSuccessDialog,F as quickSearch,o as roomDialog,d as search,n as shareDialog,z as stats,A as toast,h as toolBar,H as userList,C as welcomeScreen};
1
+ import{A,B,C,D,E,F,G,H,I,J,K,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}from"../chunk-SC7IWESZ.js";import"../chunk-SRAX5OIU.js";export{f as alerts,e as buttons,l as canvasError,t as clearCanvasDialog,D as colorPicker,B as colors,I as commandPalette,w as confirmDialog,K as default,i as element,b as elementLink,y as encrypted,p as errorDialog,m as errorSplash,g as errors,r as exportDialog,G as fontList,j as headings,s as helpDialog,k as hints,x as imageExportDialog,J as keys,a as labels,c as library,E as overwriteConfirm,q as progressDialog,u as publishDialog,v as publishSuccessDialog,F as quickSearch,o as roomDialog,d as search,n as shareDialog,z as stats,A as toast,h as toolBar,H as userList,C as welcomeScreen};
@@ -1 +1 @@
1
- import{a,b,c,d}from"./chunk-Z5NKEFVG.js";import"./chunk-GYDQTBSQ.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-Z5NKEFVG.js";import"./chunk-YUBA7MSK.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-Z5NKEFVG.js";import"./chunk-GYDQTBSQ.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-Z5NKEFVG.js";import"./chunk-YUBA7MSK.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};
@@ -529,6 +529,8 @@ declare class App extends React.Component<AppProps, AppState> {
529
529
  * pointerup handlers manually
530
530
  */
531
531
  private maybeCleanupAfterMissingPointerUp;
532
+ private handleCanvasZoomUsingZDrag;
533
+ private restoreCursorAfterZoomKey;
532
534
  handleCanvasPanUsingWheelOrSpaceDrag: (event: React.PointerEvent<HTMLElement> | MouseEvent) => boolean;
533
535
  private updateGestureOnPointerDown;
534
536
  private initialPointerDownState;
@@ -10,5 +10,6 @@ export interface DialogProps {
10
10
  autofocus?: boolean;
11
11
  closeOnClickOutside?: boolean;
12
12
  titleButton?: React.ReactNode;
13
+ portalContainerClassName?: string;
13
14
  }
14
15
  export declare const Dialog: (props: DialogProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,4 +8,5 @@ export declare const Modal: React.FC<{
8
8
  labelledBy: string;
9
9
  theme?: AppState["theme"];
10
10
  closeOnClickOutside?: boolean;
11
+ portalContainerClassName?: string;
11
12
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myoc/excalidraw",
3
- "version": "0.19.508",
3
+ "version": "0.19.510",
4
4
  "type": "module",
5
5
  "types": "./dist/types/excalidraw/index.d.ts",
6
6
  "main": "./dist/prod/index.js",
@@ -109,9 +109,9 @@
109
109
  "roughjs": "4.6.4",
110
110
  "sass": "1.51.0",
111
111
  "tunnel-rat": "0.1.2",
112
- "@excalidraw/common": "npm:@myoc/common@0.19.508",
113
- "@excalidraw/math": "npm:@myoc/math@0.19.508",
114
- "@excalidraw/element": "npm:@myoc/element@0.19.508"
112
+ "@excalidraw/common": "npm:@myoc/common@0.19.510",
113
+ "@excalidraw/math": "npm:@myoc/math@0.19.510",
114
+ "@excalidraw/element": "npm:@myoc/element@0.19.510"
115
115
  },
116
116
  "devDependencies": {
117
117
  "@size-limit/preset-big-lib": "9.0.0",
@@ -1 +0,0 @@
1
- import{S as a,T as b,U as c}from"../chunk-5HKPV526.js";import"../chunk-GYDQTBSQ.js";import"../chunk-SRAX5OIU.js";export{c as decodePngMetadata,b as encodePngMetadata,a as getTEXtChunk};