@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.
- package/dist/dev/{chunk-FGNDYJ2B.js → chunk-5ERE5TTW.js} +2 -2
- package/dist/dev/{chunk-6PNL5SR6.js → chunk-DRBGEADH.js} +3 -3
- package/dist/dev/components/TTDDialog/{CodeMirrorEditor-LUWBT76B.js → CodeMirrorEditor-ZR77XBIT.js} +2 -2
- package/dist/dev/data/{image-5IO6LC6F.js → image-QGE3DJEP.js} +3 -3
- package/dist/dev/index.js +5 -36
- package/dist/dev/index.js.map +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-YAGSAM37.js → chunk-JWDEJ6N5.js} +2 -2
- package/dist/prod/{chunk-TFET7NMD.js → chunk-MW6O7B5J.js} +1 -1
- package/dist/prod/components/TTDDialog/{CodeMirrorEditor-QL4RYZUZ.js → CodeMirrorEditor-PQAT7WNN.js} +1 -1
- package/dist/prod/data/image-F5QONZ27.js +1 -0
- package/dist/prod/index.js +4 -4
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/components/App.d.ts +1 -5
- package/dist/types/excalidraw/scene/types.d.ts +0 -3
- package/dist/types/excalidraw/types.d.ts +1 -3
- package/package.json +1 -1
- package/dist/prod/data/image-LRQMDLTI.js +0 -1
- /package/dist/dev/{chunk-FGNDYJ2B.js.map → chunk-5ERE5TTW.js.map} +0 -0
- /package/dist/dev/{chunk-6PNL5SR6.js.map → chunk-DRBGEADH.js.map} +0 -0
- /package/dist/dev/components/TTDDialog/{CodeMirrorEditor-LUWBT76B.js.map → CodeMirrorEditor-ZR77XBIT.js.map} +0 -0
- /package/dist/dev/data/{image-5IO6LC6F.js.map → image-QGE3DJEP.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d}from"./chunk-Z5NKEFVG.js";import"./chunk-
|
|
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-
|
|
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
|
|
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
|
|
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 +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};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|