@excalidraw/excalidraw 0.17.1-f597bd3 → 0.17.1-f59b4f6

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.
@@ -4,7 +4,7 @@ import {
4
4
  encodePngMetadata,
5
5
  encodeSvgMetadata,
6
6
  getTEXtChunk
7
- } from "./chunk-R7HUEHN5.js";
7
+ } from "./chunk-O74FSJNG.js";
8
8
  import "./chunk-YRUDZAGT.js";
9
9
  import "./chunk-F3UQABQJ.js";
10
10
  export {
@@ -14,4 +14,4 @@ export {
14
14
  encodeSvgMetadata,
15
15
  getTEXtChunk
16
16
  };
17
- //# sourceMappingURL=image-CAYW6EUH.js.map
17
+ //# sourceMappingURL=image-F7EVY5ZQ.js.map
@@ -403,7 +403,7 @@ import {
403
403
  viewportCoordsToSceneCoords,
404
404
  wrapEvent,
405
405
  wrapText
406
- } from "./excalidraw-assets-dev/chunk-R7HUEHN5.js";
406
+ } from "./excalidraw-assets-dev/chunk-O74FSJNG.js";
407
407
  import {
408
408
  define_import_meta_env_default,
409
409
  init_define_import_meta_env
@@ -12539,7 +12539,7 @@ var exportCanvas = async (type, elements, appState, files, {
12539
12539
  let blob = canvasToBlob(tempCanvas);
12540
12540
  if (appState.exportEmbedScene) {
12541
12541
  blob = blob.then(
12542
- (blob2) => import("./excalidraw-assets-dev/image-CAYW6EUH.js").then(
12542
+ (blob2) => import("./excalidraw-assets-dev/image-F7EVY5ZQ.js").then(
12543
12543
  ({ encodePngMetadata }) => encodePngMetadata({
12544
12544
  blob: blob2,
12545
12545
  metadata: serializeAsJSON(elements, appState, files, "local")
@@ -29865,7 +29865,7 @@ var App = class _App extends import_react99.default.Component {
29865
29865
  title: "Excalidraw Embedded Content",
29866
29866
  allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
29867
29867
  allowFullScreen: true,
29868
- sandbox: "allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-downloads"
29868
+ sandbox: `${src?.sandbox?.allowSameOrigin ? "allow-same-origin" : ""} allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-presentation allow-downloads`
29869
29869
  }
29870
29870
  )
29871
29871
  }
@@ -32288,6 +32288,7 @@ var App = class _App extends import_react99.default.Component {
32288
32288
  this.scene.getNonDeletedElementsMap()
32289
32289
  );
32290
32290
  return shouldTestInside(element) ? getClosedCurveShape(
32291
+ element,
32291
32292
  roughShape,
32292
32293
  [element.x, element.y],
32293
32294
  element.angle,