@nous-excalidraw/excalidraw 0.18.9-beta.21 → 0.18.9-beta.22

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-Z5NKEFVG.js";import"./chunk-TFET7NMD.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-MW6O7B5J.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-TFET7NMD.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-MW6O7B5J.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,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { AppEventBus, type EXPORT_IMAGE_TYPES, Emitter, type EditorInterface, type StylesPanelMode } from "@nous-excalidraw/common";
3
3
  import { LinearElementEditor, FlowChartCreator, Scene, Store, type ElementUpdate, StoreDelta, type ApplyToOptions } from "@nous-excalidraw/element";
4
- import type { MaybeTransformHandleType, TransformHandleType } from "@nous-excalidraw/element";
4
+ import type { MaybeTransformHandleType } from "@nous-excalidraw/element";
5
5
  import type { ExcalidrawElement, NonDeleted, NonDeletedExcalidrawElement, ExcalidrawFrameLikeElement, ExcalidrawIframeElement, ExcalidrawEmbeddableElement, Ordered, SceneElementsMap } from "@nous-excalidraw/element/types";
6
6
  import type { Mutable } from "@nous-excalidraw/common/utility-types";
7
7
  import { ActionManager } from "../actions/manager";
@@ -122,7 +122,6 @@ declare class App extends React.Component<AppProps, AppState> {
122
122
  x: number;
123
123
  y: number;
124
124
  } | null;
125
- hoveredCornerTransformHandleType: TransformHandleType | null;
126
125
  private lastCompletedCanvasClicks;
127
126
  /** previous frame pointer coords */
128
127
  previousPointerMoveCoords: {
@@ -523,9 +522,6 @@ declare class App extends React.Component<AppProps, AppState> {
523
522
  private getElementLinkAtPosition;
524
523
  private handleElementLinkClick;
525
524
  private getTopLayerFrameAtSceneCoords;
526
- private getHoveredCornerTransformHandleType;
527
- private syncHoveredCornerTransformHandleType;
528
- private clearHoveredCornerTransformHandleType;
529
525
  private clearHoverOutlineIfNeeded;
530
526
  /** Unified frame hover: title band, frame interior, or any element inside the frame. */
531
527
  private computeHoveredFrameId;
@@ -1,5 +1,4 @@
1
1
  import type { UserIdleState, EditorInterface } from "@nous-excalidraw/common";
2
- import type { TransformHandleType } from "@nous-excalidraw/element";
3
2
  import type { ExcalidrawElement, NonDeletedElementsMap, NonDeletedExcalidrawElement, NonDeletedSceneElementsMap } from "@nous-excalidraw/element/types";
4
3
  import type { MakeBrand } from "@nous-excalidraw/common/utility-types";
5
4
  import type { AppClassProperties, AppState, EmbedsValidationStatus, ElementsPendingErasure, InteractiveCanvasAppState, StaticCanvasAppState, SocketId, PendingExcalidrawElements } from "../types";
@@ -49,8 +48,6 @@ export type InteractiveCanvasRenderConfig = {
49
48
  remotePointerUsernames: Map<SocketId, string>;
50
49
  remotePointerButton: Map<SocketId, string | undefined>;
51
50
  selectionColor: string;
52
- /** nw/ne/sw/se when cursor is over a corner resize handle */
53
- hoveredCornerTransformHandleType: TransformHandleType | null;
54
51
  lastViewportPosition: {
55
52
  x: number;
56
53
  y: number;
@@ -1,6 +1,6 @@
1
1
  import type { IMAGE_MIME_TYPES, UserIdleState, throttleRAF, MIME_TYPES, EditorInterface } from "@nous-excalidraw/common";
2
2
  import type { LinearElementEditor } from "@nous-excalidraw/element";
3
- import type { MaybeTransformHandleType, TransformHandleType } from "@nous-excalidraw/element";
3
+ import type { MaybeTransformHandleType } from "@nous-excalidraw/element";
4
4
  import type { PointerType, ExcalidrawLinearElement, NonDeletedExcalidrawElement, NonDeleted, TextAlign, ExcalidrawElement, GroupId, ExcalidrawBindableElement, Arrowhead, FontFamilyValues, FileId, Theme, StrokeRoundness, ExcalidrawEmbeddableElement, ExcalidrawMagicFrameElement, ExcalidrawFrameLikeElement, ExcalidrawElementType, ExcalidrawIframeLikeElement, OrderedExcalidrawElement, ExcalidrawNonSelectionElement, BindMode, ExcalidrawTextElement } from "@nous-excalidraw/element/types";
5
5
  import type { Merge, MaybePromise, ValueOf, MakeBrand } from "@nous-excalidraw/common/utility-types";
6
6
  import type { CaptureUpdateActionType, DurableIncrement, EphemeralIncrement } from "@nous-excalidraw/element";
@@ -657,8 +657,6 @@ export type AppClassProperties = {
657
657
  onEvent: App["onEvent"];
658
658
  onStateChange: App["onStateChange"];
659
659
  lastPointerMoveCoords: App["lastPointerMoveCoords"];
660
- /** Corner resize handle (nw/ne/sw/se) under cursor; for selection-handle hover fill. */
661
- hoveredCornerTransformHandleType: TransformHandleType | null;
662
660
  bindModeHandler: App["bindModeHandler"];
663
661
  setAppState: App["setAppState"];
664
662
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nous-excalidraw/excalidraw",
3
- "version": "0.18.9-beta.21",
3
+ "version": "0.18.9-beta.22",
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{T as a,U as b,V as c}from"../chunk-YAGSAM37.js";import"../chunk-TFET7NMD.js";import"../chunk-SRAX5OIU.js";export{c as decodePngMetadata,b as encodePngMetadata,a as getTEXtChunk};