@excalidraw/element 0.18.0-4a5c9e9 → 0.18.0-4ce38fb

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 (218) hide show
  1. package/dist/dev/index.js +11944 -8172
  2. package/dist/dev/index.js.map +4 -4
  3. package/dist/prod/index.js +21 -20
  4. package/dist/types/common/src/colors.d.ts +23 -1
  5. package/dist/types/common/src/constants.d.ts +66 -7
  6. package/dist/types/common/src/keys.d.ts +4 -0
  7. package/dist/types/common/src/points.d.ts +1 -1
  8. package/dist/types/common/src/random.d.ts +7 -0
  9. package/dist/types/common/src/utils.d.ts +6 -43
  10. package/dist/types/element/src/Scene.d.ts +7 -5
  11. package/dist/types/element/src/align.d.ts +2 -2
  12. package/dist/types/element/src/arrowEndpointText.d.ts +49 -0
  13. package/dist/types/element/src/arrows/focus.d.ts +5 -2
  14. package/dist/types/element/src/binding.d.ts +28 -13
  15. package/dist/types/element/src/bounds.d.ts +22 -7
  16. package/dist/types/element/src/bucketFill.d.ts +110 -0
  17. package/dist/types/element/src/collision.d.ts +14 -5
  18. package/dist/types/element/src/comparisons.d.ts +8 -5
  19. package/dist/types/element/src/convertToShape.d.ts +23 -0
  20. package/dist/types/element/src/delta.d.ts +23 -1
  21. package/dist/types/element/src/distribute.d.ts +2 -2
  22. package/dist/types/element/src/dragElements.d.ts +27 -0
  23. package/dist/types/element/src/duplicate.d.ts +64 -3
  24. package/dist/types/element/src/embeddable.d.ts +2 -2
  25. package/dist/types/element/src/flowchart.d.ts +11 -7
  26. package/dist/types/element/src/fractionalIndex.d.ts +2 -2
  27. package/dist/types/element/src/frame.d.ts +11 -10
  28. package/dist/types/element/src/groups.d.ts +9 -9
  29. package/dist/types/element/src/index.d.ts +6 -1
  30. package/dist/types/element/src/linearElementEditor.d.ts +27 -10
  31. package/dist/types/element/src/listMarker.d.ts +34 -0
  32. package/dist/types/element/src/mutateElement.d.ts +1 -1
  33. package/dist/types/element/src/newElement.d.ts +53 -3
  34. package/dist/types/element/src/renderElement.d.ts +21 -7
  35. package/dist/types/element/src/resizeElements.d.ts +2 -2
  36. package/dist/types/element/src/selection.d.ts +6 -6
  37. package/dist/types/element/src/shape.d.ts +27 -1
  38. package/dist/types/element/src/sizeHelpers.d.ts +6 -0
  39. package/dist/types/element/src/sortElements.d.ts +10 -0
  40. package/dist/types/element/src/stickyNote.d.ts +183 -0
  41. package/dist/types/element/src/textElement.d.ts +20 -9
  42. package/dist/types/element/src/transform.d.ts +26 -7
  43. package/dist/types/element/src/typeChecks.d.ts +29 -27
  44. package/dist/types/element/src/types.d.ts +43 -7
  45. package/dist/types/element/src/utils.d.ts +15 -4
  46. package/dist/types/element/src/visualdebug.d.ts +1 -2
  47. package/dist/types/element/src/zindex.d.ts +2 -2
  48. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +87 -18
  49. package/dist/types/excalidraw/actions/actionAlign.d.ts +6 -6
  50. package/dist/types/excalidraw/actions/actionBoundText.d.ts +58 -12
  51. package/dist/types/excalidraw/actions/actionCanvas.d.ts +265 -940
  52. package/dist/types/excalidraw/actions/actionClipboard.d.ts +58 -12
  53. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +29 -6
  54. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +89 -19
  55. package/dist/types/excalidraw/actions/actionDeselect.d.ts +30 -7
  56. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -3
  57. package/dist/types/excalidraw/actions/actionElementLink.d.ts +29 -6
  58. package/dist/types/excalidraw/actions/actionElementLock.d.ts +59 -13
  59. package/dist/types/excalidraw/actions/actionExport.d.ts +60 -14
  60. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -0
  61. package/dist/types/excalidraw/actions/actionFrame.d.ts +150 -203
  62. package/dist/types/excalidraw/actions/actionGroup.d.ts +73 -27
  63. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +84 -9
  64. package/dist/types/excalidraw/actions/actionLink.d.ts +30 -7
  65. package/dist/types/excalidraw/actions/actionMenu.d.ts +29 -6
  66. package/dist/types/excalidraw/actions/actionProperties.d.ts +96 -34
  67. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +34 -11
  68. package/dist/types/excalidraw/actions/actionStyles.d.ts +30 -7
  69. package/dist/types/excalidraw/actions/actionTextAutoResize.d.ts +1 -1
  70. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +30 -7
  71. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +33 -11
  72. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +30 -7
  73. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +30 -7
  74. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +33 -11
  75. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  76. package/dist/types/excalidraw/actions/{actionEmbeddable.d.ts → actionToggleShowHints.d.ts} +45 -19
  77. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +30 -7
  78. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +31 -8
  79. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +30 -7
  80. package/dist/types/excalidraw/actions/colorTargets.d.ts +39 -0
  81. package/dist/types/excalidraw/actions/index.d.ts +2 -2
  82. package/dist/types/excalidraw/actions/manager.d.ts +1 -0
  83. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  84. package/dist/types/excalidraw/actions/types.d.ts +8 -4
  85. package/dist/types/excalidraw/{animated-trail.d.ts → animatedTrail.d.ts} +4 -3
  86. package/dist/types/excalidraw/appState.d.ts +30 -6
  87. package/dist/types/excalidraw/components/Actions.d.ts +17 -12
  88. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -1
  89. package/dist/types/excalidraw/components/App.arrowText.d.ts +70 -0
  90. package/dist/types/excalidraw/components/App.bucketFill.d.ts +48 -0
  91. package/dist/types/excalidraw/components/App.clipboard.d.ts +31 -0
  92. package/dist/types/excalidraw/components/App.cursor.d.ts +38 -0
  93. package/dist/types/excalidraw/components/App.d.ts +301 -93
  94. package/dist/types/excalidraw/components/App.drawshape.d.ts +55 -0
  95. package/dist/types/excalidraw/components/App.duplicate.d.ts +101 -0
  96. package/dist/types/excalidraw/components/App.flowchart.d.ts +21 -0
  97. package/dist/types/excalidraw/components/App.pan.d.ts +62 -0
  98. package/dist/types/excalidraw/components/App.text.d.ts +146 -0
  99. package/dist/types/excalidraw/components/App.textTool.d.ts +140 -0
  100. package/dist/types/excalidraw/components/App.toolDrag.d.ts +63 -0
  101. package/dist/types/excalidraw/components/App.viewport.d.ts +113 -0
  102. package/dist/types/excalidraw/components/App.wheel.d.ts +26 -0
  103. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +9 -3
  104. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +3 -1
  105. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +5 -1
  106. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +9 -2
  107. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +4 -2
  108. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +8 -1
  109. package/dist/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +1 -1
  110. package/dist/types/excalidraw/components/ColorPicker/colorTopPicksDnD.d.ts +11 -0
  111. package/dist/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -1
  112. package/dist/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -2
  113. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +2 -2
  114. package/dist/types/excalidraw/components/CursorHint.d.ts +46 -0
  115. package/dist/types/excalidraw/components/EyeDropper.d.ts +1 -1
  116. package/dist/types/excalidraw/components/FileDropOverlay.d.ts +2 -0
  117. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +4 -1
  118. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +6 -1
  119. package/dist/types/excalidraw/components/FontPicker/fontTopPicksDnD.d.ts +12 -0
  120. package/dist/types/excalidraw/components/IconButton.d.ts +48 -0
  121. package/dist/types/excalidraw/components/Island.d.ts +7 -0
  122. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +2 -4
  123. package/dist/types/excalidraw/components/LayerUI.d.ts +5 -2
  124. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  125. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +6 -2
  126. package/dist/types/excalidraw/components/LibraryUnit.d.ts +7 -2
  127. package/dist/types/excalidraw/components/LockButton.d.ts +3 -4
  128. package/dist/types/excalidraw/components/MagicButton.d.ts +0 -2
  129. package/dist/types/excalidraw/components/MobileMenu.d.ts +4 -4
  130. package/dist/types/excalidraw/components/MobileToolbar.d.ts +9 -0
  131. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
  132. package/dist/types/excalidraw/components/PenModeButton.d.ts +2 -5
  133. package/dist/types/excalidraw/components/Popover.d.ts +1 -3
  134. package/dist/types/excalidraw/components/{ButtonIcon.d.ts → RadioButton.d.ts} +2 -5
  135. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -1
  136. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -1
  137. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +1 -1
  138. package/dist/types/excalidraw/components/Stats/Angle.d.ts +2 -2
  139. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +2 -2
  140. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +2 -2
  141. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +2 -2
  142. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +2 -2
  143. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +2 -2
  144. package/dist/types/excalidraw/components/Stats/Position.d.ts +3 -3
  145. package/dist/types/excalidraw/components/Stats/utils.d.ts +1 -1
  146. package/dist/types/excalidraw/components/TTDDialog/TTDContext.d.ts +4 -4
  147. package/dist/types/excalidraw/components/TTDDialog/useTTDChatStorage.d.ts +3 -3
  148. package/dist/types/excalidraw/components/ToolPopover.d.ts +3 -6
  149. package/dist/types/excalidraw/components/Toolbar.d.ts +11 -0
  150. package/dist/types/excalidraw/components/Tools.d.ts +151 -0
  151. package/dist/types/excalidraw/components/Tooltip.d.ts +15 -1
  152. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksContextMenu.d.ts +14 -0
  153. package/dist/types/excalidraw/components/TopPicksDnD/TopPicksTip.d.ts +11 -0
  154. package/dist/types/excalidraw/components/TopPicksDnD/topPicksDnD.d.ts +58 -0
  155. package/dist/types/excalidraw/components/UserList.d.ts +3 -2
  156. package/dist/types/excalidraw/components/ViewportStatusFrame/ViewportStatusFrame.d.ts +11 -0
  157. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -1
  158. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +3 -0
  159. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  160. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +2 -1
  161. package/dist/types/excalidraw/components/footer/Footer.d.ts +3 -1
  162. package/dist/types/excalidraw/components/hyperlink/helpers.d.ts +2 -2
  163. package/dist/types/excalidraw/components/icons.d.ts +7 -1
  164. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +10 -4
  165. package/dist/types/excalidraw/components/positionElementBesideCursor.d.ts +26 -0
  166. package/dist/types/excalidraw/components/shapeActionPredicates.d.ts +39 -0
  167. package/dist/types/excalidraw/data/blob.d.ts +62 -16
  168. package/dist/types/excalidraw/data/index.d.ts +4 -4
  169. package/dist/types/excalidraw/data/json.d.ts +37 -14
  170. package/dist/types/excalidraw/data/library.d.ts +1 -1
  171. package/dist/types/excalidraw/drawShapeTrail.d.ts +16 -0
  172. package/dist/types/excalidraw/eraser/index.d.ts +2 -3
  173. package/dist/types/excalidraw/fonts/Fonts.d.ts +3 -2
  174. package/dist/types/excalidraw/hooks/useAppStateValue.d.ts +29 -0
  175. package/dist/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
  176. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +5 -5
  177. package/dist/types/excalidraw/{laser-trails.d.ts → laserTrails.d.ts} +5 -7
  178. package/dist/types/excalidraw/lasso/index.d.ts +2 -3
  179. package/dist/types/excalidraw/lasso/utils.d.ts +2 -0
  180. package/dist/types/excalidraw/renderOverrides.d.ts +9 -0
  181. package/dist/types/excalidraw/renderer/animation.d.ts +5 -1
  182. package/dist/types/excalidraw/renderer/helpers.d.ts +25 -0
  183. package/dist/types/excalidraw/renderer/interactiveScene.d.ts +2 -4
  184. package/dist/types/excalidraw/scene/Renderer.d.ts +489 -20
  185. package/dist/types/excalidraw/scene/export.d.ts +3 -3
  186. package/dist/types/excalidraw/scene/index.d.ts +2 -2
  187. package/dist/types/excalidraw/scene/types.d.ts +7 -4
  188. package/dist/types/excalidraw/snapping.d.ts +7 -7
  189. package/dist/types/excalidraw/types.d.ts +531 -29
  190. package/dist/types/excalidraw/viewport.d.ts +302 -0
  191. package/dist/types/excalidraw/wysiwyg/textWysiwyg.d.ts +13 -3
  192. package/dist/types/fractional-indexing/src/index.d.ts +29 -0
  193. package/dist/types/laser-pointer/src/index.d.ts +2 -0
  194. package/dist/types/laser-pointer/src/math.d.ts +16 -0
  195. package/dist/types/laser-pointer/src/simplify.d.ts +2 -0
  196. package/dist/types/laser-pointer/src/state.d.ts +36 -0
  197. package/dist/types/math/src/constants.d.ts +0 -1
  198. package/dist/types/math/src/curve.d.ts +23 -13
  199. package/dist/types/math/src/index.d.ts +1 -0
  200. package/dist/types/math/src/pca.d.ts +79 -0
  201. package/dist/types/math/src/point.d.ts +1 -0
  202. package/dist/types/math/src/polygon.d.ts +25 -1
  203. package/dist/types/math/src/segment.d.ts +6 -0
  204. package/dist/types/utils/src/export.d.ts +4 -3
  205. package/dist/types/utils/src/index.d.ts +1 -2
  206. package/dist/types/utils/src/shape.d.ts +2 -2
  207. package/package.json +4 -3
  208. package/dist/types/excalidraw/animation-frame-handler.d.ts +0 -16
  209. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +0 -10
  210. package/dist/types/excalidraw/components/HandButton.d.ts +0 -10
  211. package/dist/types/excalidraw/components/MobileToolBar.d.ts +0 -10
  212. package/dist/types/excalidraw/components/ToolButton.d.ts +0 -49
  213. package/dist/types/excalidraw/components/shapes.d.ts +0 -263
  214. package/dist/types/excalidraw/cursor.d.ts +0 -5
  215. package/dist/types/excalidraw/scene/scroll.d.ts +0 -18
  216. package/dist/types/excalidraw/scene/zoom.d.ts +0 -12
  217. package/dist/types/utils/src/bbox.d.ts +0 -9
  218. package/dist/types/utils/src/withinBounds.d.ts +0 -19
@@ -1,12 +1,12 @@
1
1
  import type { ExcalidrawElement } from "@excalidraw/element/types";
2
- import type { AppClassProperties, AppState } from "../types";
2
+ import type { AppClassProperties, UIAppState } from "../types";
3
3
  export declare const actionSelectAllElementsInFrame: {
4
4
  name: "selectAllElementsInFrame";
5
5
  label: string;
6
6
  trackEvent: {
7
7
  category: "canvas";
8
8
  };
9
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
9
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
10
10
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
11
11
  appState: {
12
12
  selectedElementIds: Record<string, true>;
@@ -27,13 +27,26 @@ export declare const actionSelectAllElementsInFrame: {
27
27
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
28
28
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
29
29
  isBindingEnabled: boolean;
30
+ boxSelectionMode: import("../types").BoxSelectionMode;
30
31
  bindingPreference: "enabled" | "disabled";
31
32
  isMidpointSnappingEnabled: boolean;
32
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
33
+ showHints: boolean;
34
+ inputDevice: import("../types").InputDevice;
33
35
  suggestedBinding: {
34
36
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
35
37
  midPoint?: import("@excalidraw/math").GlobalPoint;
36
38
  } | null;
39
+ textToolHover: {
40
+ type: "text";
41
+ elementId: ExcalidrawElement["id"];
42
+ } | {
43
+ type: "container";
44
+ elementId: ExcalidrawElement["id"];
45
+ } | {
46
+ type: "arrow";
47
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
48
+ anchor: "start" | "end" | "label";
49
+ } | null;
37
50
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
38
51
  frameRendering: {
39
52
  enabled: boolean;
@@ -41,8 +54,8 @@ export declare const actionSelectAllElementsInFrame: {
41
54
  outline: boolean;
42
55
  clip: boolean;
43
56
  };
44
- editingFrame: string | null;
45
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
57
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
58
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
46
59
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
47
60
  activeTool: {
48
61
  lastActiveTool: import("../types").ActiveTool | null;
@@ -60,11 +73,14 @@ export declare const actionSelectAllElementsInFrame: {
60
73
  exportWithDarkMode: boolean;
61
74
  exportScale: number;
62
75
  currentItemStrokeColor: string;
76
+ currentItemStickynoteStrokeColor: string;
77
+ currentItemStickynoteBackgroundColor: string;
63
78
  currentItemBackgroundColor: string;
64
79
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
65
- currentItemStrokeWidth: number;
80
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
66
81
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
67
82
  currentItemRoughness: number;
83
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
68
84
  currentItemOpacity: number;
69
85
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
70
86
  currentItemFontSize: number;
@@ -77,6 +93,7 @@ export declare const actionSelectAllElementsInFrame: {
77
93
  viewBackgroundColor: string;
78
94
  scrollX: number;
79
95
  scrollY: number;
96
+ scrollConstraints: import("../types").ScrollConstraints | null;
80
97
  cursorButton: "up" | "down";
81
98
  scrolledOutside: boolean;
82
99
  name: string | null;
@@ -149,8 +166,6 @@ export declare const actionSelectAllElementsInFrame: {
149
166
  y: number;
150
167
  } | null;
151
168
  objectsSnapModeEnabled: boolean;
152
- userToFollow: import("../types").UserToFollow | null;
153
- followedBy: Set<import("../types").SocketId>;
154
169
  isCropping: boolean;
155
170
  croppingElementId: ExcalidrawElement["id"] | null;
156
171
  searchMatches: Readonly<{
@@ -162,14 +177,22 @@ export declare const actionSelectAllElementsInFrame: {
162
177
  [groupId: string]: true;
163
178
  };
164
179
  bindMode: import("@excalidraw/element/types").BindMode;
180
+ colorTopPicks: {
181
+ elementStroke: readonly string[] | null;
182
+ elementBackground: readonly string[] | null;
183
+ bucketFill: readonly string[] | null;
184
+ stickyNoteStroke: readonly string[] | null;
185
+ stickyNoteBackground: readonly string[] | null;
186
+ };
187
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
165
188
  };
166
189
  captureUpdate: "IMMEDIATELY";
167
190
  } | {
168
191
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
169
- appState: Readonly<AppState>;
192
+ appState: Readonly<import("../types").AppState>;
170
193
  captureUpdate: "EVENTUALLY";
171
194
  };
172
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
195
+ predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
173
196
  } & {
174
197
  keyTest?: undefined;
175
198
  };
@@ -179,7 +202,7 @@ export declare const actionRemoveAllElementsFromFrame: {
179
202
  trackEvent: {
180
203
  category: "history";
181
204
  };
182
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
205
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
183
206
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
184
207
  appState: {
185
208
  selectedElementIds: {
@@ -202,13 +225,26 @@ export declare const actionRemoveAllElementsFromFrame: {
202
225
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
203
226
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
204
227
  isBindingEnabled: boolean;
228
+ boxSelectionMode: import("../types").BoxSelectionMode;
205
229
  bindingPreference: "enabled" | "disabled";
206
230
  isMidpointSnappingEnabled: boolean;
207
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
231
+ showHints: boolean;
232
+ inputDevice: import("../types").InputDevice;
208
233
  suggestedBinding: {
209
234
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
210
235
  midPoint?: import("@excalidraw/math").GlobalPoint;
211
236
  } | null;
237
+ textToolHover: {
238
+ type: "text";
239
+ elementId: ExcalidrawElement["id"];
240
+ } | {
241
+ type: "container";
242
+ elementId: ExcalidrawElement["id"];
243
+ } | {
244
+ type: "arrow";
245
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
246
+ anchor: "start" | "end" | "label";
247
+ } | null;
212
248
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
213
249
  frameRendering: {
214
250
  enabled: boolean;
@@ -216,8 +252,8 @@ export declare const actionRemoveAllElementsFromFrame: {
216
252
  outline: boolean;
217
253
  clip: boolean;
218
254
  };
219
- editingFrame: string | null;
220
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
255
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
256
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
221
257
  editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
222
258
  activeTool: {
223
259
  lastActiveTool: import("../types").ActiveTool | null;
@@ -235,11 +271,14 @@ export declare const actionRemoveAllElementsFromFrame: {
235
271
  exportWithDarkMode: boolean;
236
272
  exportScale: number;
237
273
  currentItemStrokeColor: string;
274
+ currentItemStickynoteStrokeColor: string;
275
+ currentItemStickynoteBackgroundColor: string;
238
276
  currentItemBackgroundColor: string;
239
277
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
240
- currentItemStrokeWidth: number;
278
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
241
279
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
242
280
  currentItemRoughness: number;
281
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
243
282
  currentItemOpacity: number;
244
283
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
245
284
  currentItemFontSize: number;
@@ -252,6 +291,7 @@ export declare const actionRemoveAllElementsFromFrame: {
252
291
  viewBackgroundColor: string;
253
292
  scrollX: number;
254
293
  scrollY: number;
294
+ scrollConstraints: import("../types").ScrollConstraints | null;
255
295
  cursorButton: "up" | "down";
256
296
  scrolledOutside: boolean;
257
297
  name: string | null;
@@ -324,8 +364,6 @@ export declare const actionRemoveAllElementsFromFrame: {
324
364
  y: number;
325
365
  } | null;
326
366
  objectsSnapModeEnabled: boolean;
327
- userToFollow: import("../types").UserToFollow | null;
328
- followedBy: Set<import("../types").SocketId>;
329
367
  isCropping: boolean;
330
368
  croppingElementId: ExcalidrawElement["id"] | null;
331
369
  searchMatches: Readonly<{
@@ -337,14 +375,22 @@ export declare const actionRemoveAllElementsFromFrame: {
337
375
  [groupId: string]: true;
338
376
  };
339
377
  bindMode: import("@excalidraw/element/types").BindMode;
378
+ colorTopPicks: {
379
+ elementStroke: readonly string[] | null;
380
+ elementBackground: readonly string[] | null;
381
+ bucketFill: readonly string[] | null;
382
+ stickyNoteStroke: readonly string[] | null;
383
+ stickyNoteBackground: readonly string[] | null;
384
+ };
385
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
340
386
  };
341
387
  captureUpdate: "IMMEDIATELY";
342
388
  } | {
343
389
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
344
- appState: Readonly<AppState>;
390
+ appState: Readonly<import("../types").AppState>;
345
391
  captureUpdate: "EVENTUALLY";
346
392
  };
347
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
393
+ predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
348
394
  } & {
349
395
  keyTest?: undefined;
350
396
  };
@@ -355,7 +401,7 @@ export declare const actionupdateFrameRendering: {
355
401
  trackEvent: {
356
402
  category: "canvas";
357
403
  };
358
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>) => {
404
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>) => {
359
405
  elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
360
406
  appState: {
361
407
  frameRendering: {
@@ -381,195 +427,35 @@ export declare const actionupdateFrameRendering: {
381
427
  multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
382
428
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
383
429
  isBindingEnabled: boolean;
430
+ boxSelectionMode: import("../types").BoxSelectionMode;
384
431
  bindingPreference: "enabled" | "disabled";
385
432
  isMidpointSnappingEnabled: boolean;
386
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
433
+ showHints: boolean;
434
+ inputDevice: import("../types").InputDevice;
387
435
  suggestedBinding: {
388
436
  element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
389
437
  midPoint?: import("@excalidraw/math").GlobalPoint;
390
438
  } | null;
391
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
392
- editingFrame: string | null;
393
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
394
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
395
- activeTool: {
396
- lastActiveTool: import("../types").ActiveTool | null;
397
- locked: boolean;
398
- fromSelection: boolean;
399
- } & import("../types").ActiveTool;
400
- preferredSelectionTool: {
401
- type: "selection" | "lasso";
402
- initialized: boolean;
403
- };
404
- penMode: boolean;
405
- penDetected: boolean;
406
- exportBackground: boolean;
407
- exportEmbedScene: boolean;
408
- exportWithDarkMode: boolean;
409
- exportScale: number;
410
- currentItemStrokeColor: string;
411
- currentItemBackgroundColor: string;
412
- currentItemFillStyle: ExcalidrawElement["fillStyle"];
413
- currentItemStrokeWidth: number;
414
- currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
415
- currentItemRoughness: number;
416
- currentItemOpacity: number;
417
- currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
418
- currentItemFontSize: number;
419
- currentItemTextAlign: import("@excalidraw/element/types").TextAlign;
420
- currentItemStartArrowhead: import("@excalidraw/element/types").Arrowhead | null;
421
- currentItemEndArrowhead: import("@excalidraw/element/types").Arrowhead | null;
422
- currentHoveredFontFamily: import("@excalidraw/element/types").FontFamilyValues | null;
423
- currentItemRoundness: import("@excalidraw/element/types").StrokeRoundness;
424
- currentItemArrowType: "sharp" | "round" | "elbow";
425
- viewBackgroundColor: string;
426
- scrollX: number;
427
- scrollY: number;
428
- cursorButton: "up" | "down";
429
- scrolledOutside: boolean;
430
- name: string | null;
431
- isResizing: boolean;
432
- isRotating: boolean;
433
- zoom: import("../types").Zoom;
434
- openMenu: "canvas" | null;
435
- openPopup: "canvasBackground" | "elementBackground" | "elementStroke" | "fontFamily" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
436
- openSidebar: {
437
- name: import("../types").SidebarName;
438
- tab?: import("../types").SidebarTabName;
439
- } | null;
440
- openDialog: null | {
441
- name: "imageExport" | "help" | "jsonExport";
439
+ textToolHover: {
440
+ type: "text";
441
+ elementId: ExcalidrawElement["id"];
442
442
  } | {
443
- name: "ttd";
444
- tab: "text-to-diagram" | "mermaid";
445
- } | {
446
- name: "commandPalette";
447
- } | {
448
- name: "settings";
449
- } | {
450
- name: "elementLinkSelector";
451
- sourceElementId: ExcalidrawElement["id"];
443
+ type: "container";
444
+ elementId: ExcalidrawElement["id"];
452
445
  } | {
453
- name: "charts";
454
- data: import("../charts").Spreadsheet;
455
- rawText: string;
456
- };
457
- defaultSidebarDockedPreference: boolean;
458
- lastPointerDownWith: import("@excalidraw/element/types").PointerType;
459
- selectedElementIds: Readonly<{
460
- [id: string]: true;
461
- }>;
462
- hoveredElementIds: Readonly<{
463
- [id: string]: true;
464
- }>;
465
- previousSelectedElementIds: {
466
- [id: string]: true;
467
- };
468
- selectedElementsAreBeingDragged: boolean;
469
- shouldCacheIgnoreZoom: boolean;
470
- toast: {
471
- message: React.ReactNode;
472
- closable?: boolean;
473
- duration?: number;
474
- } | null;
475
- zenModeEnabled: boolean;
476
- theme: import("@excalidraw/element/types").Theme;
477
- gridSize: number;
478
- gridStep: number;
479
- gridModeEnabled: boolean;
480
- viewModeEnabled: boolean;
481
- selectedGroupIds: {
482
- [groupId: string]: boolean;
483
- };
484
- editingGroupId: import("@excalidraw/element/types").GroupId | null;
485
- width: number;
486
- height: number;
487
- offsetTop: number;
488
- offsetLeft: number;
489
- fileHandle: FileSystemFileHandle | null;
490
- collaborators: Map<import("../types").SocketId, import("../types").Collaborator>;
491
- stats: {
492
- open: boolean;
493
- panels: number;
494
- };
495
- showHyperlinkPopup: false | "info" | "editor";
496
- selectedLinearElement: import("@excalidraw/element").LinearElementEditor | null;
497
- snapLines: readonly import("../snapping").SnapLine[];
498
- originSnapOffset: {
499
- x: number;
500
- y: number;
446
+ type: "arrow";
447
+ elementId: import("@excalidraw/element/types").ExcalidrawArrowElement["id"];
448
+ anchor: "start" | "end" | "label";
501
449
  } | null;
502
- objectsSnapModeEnabled: boolean;
503
- userToFollow: import("../types").UserToFollow | null;
504
- followedBy: Set<import("../types").SocketId>;
505
- isCropping: boolean;
506
- croppingElementId: ExcalidrawElement["id"] | null;
507
- searchMatches: Readonly<{
508
- focusedId: ExcalidrawElement["id"] | null;
509
- matches: readonly import("../types").SearchMatch[];
510
- }> | null;
511
- activeLockedId: string | null;
512
- lockedMultiSelections: {
513
- [groupId: string]: true;
514
- };
515
- bindMode: import("@excalidraw/element/types").BindMode;
516
- };
517
- captureUpdate: "EVENTUALLY";
518
- };
519
- checked: (appState: AppState) => boolean;
520
- } & {
521
- keyTest?: undefined;
522
- };
523
- export declare const actionSetFrameAsActiveTool: {
524
- name: "setFrameAsActiveTool";
525
- label: string;
526
- trackEvent: {
527
- category: "toolbar";
528
- };
529
- icon: import("react/jsx-runtime").JSX.Element;
530
- viewMode: false;
531
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
532
- elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[];
533
- appState: {
450
+ frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
451
+ editingFrame: import("@excalidraw/element/types").ExcalidrawFrameLikeElement["id"] | null;
452
+ elementsToHighlight: readonly import("@excalidraw/element/types").NonDeletedExcalidrawElement[] | null;
453
+ editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
534
454
  activeTool: {
535
455
  lastActiveTool: import("../types").ActiveTool | null;
536
456
  locked: boolean;
537
457
  fromSelection: boolean;
538
458
  } & import("../types").ActiveTool;
539
- contextMenu: {
540
- items: import("../components/ContextMenu").ContextMenuItems;
541
- top: number;
542
- left: number;
543
- } | null;
544
- showWelcomeScreen: boolean;
545
- isLoading: boolean;
546
- errorMessage: React.ReactNode;
547
- activeEmbeddable: {
548
- element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
549
- state: "hover" | "active";
550
- } | null;
551
- newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
552
- resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
553
- multiElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawLinearElement> | null;
554
- selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
555
- isBindingEnabled: boolean;
556
- bindingPreference: "enabled" | "disabled";
557
- isMidpointSnappingEnabled: boolean;
558
- startBoundElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement> | null;
559
- suggestedBinding: {
560
- element: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawBindableElement>;
561
- midPoint?: import("@excalidraw/math").GlobalPoint;
562
- } | null;
563
- frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
564
- frameRendering: {
565
- enabled: boolean;
566
- name: boolean;
567
- outline: boolean;
568
- clip: boolean;
569
- };
570
- editingFrame: string | null;
571
- elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
572
- editingTextElement: import("@excalidraw/element/types").ExcalidrawTextElement | null;
573
459
  preferredSelectionTool: {
574
460
  type: "selection" | "lasso";
575
461
  initialized: boolean;
@@ -581,11 +467,14 @@ export declare const actionSetFrameAsActiveTool: {
581
467
  exportWithDarkMode: boolean;
582
468
  exportScale: number;
583
469
  currentItemStrokeColor: string;
470
+ currentItemStickynoteStrokeColor: string;
471
+ currentItemStickynoteBackgroundColor: string;
584
472
  currentItemBackgroundColor: string;
585
473
  currentItemFillStyle: ExcalidrawElement["fillStyle"];
586
- currentItemStrokeWidth: number;
474
+ currentItemStrokeWidthKey: import("@excalidraw/common").StrokeWidthKey;
587
475
  currentItemStrokeStyle: ExcalidrawElement["strokeStyle"];
588
476
  currentItemRoughness: number;
477
+ currentItemStrokeVariability: import("@excalidraw/element/types").StrokeVariability;
589
478
  currentItemOpacity: number;
590
479
  currentItemFontFamily: import("@excalidraw/element/types").FontFamilyValues;
591
480
  currentItemFontSize: number;
@@ -598,6 +487,7 @@ export declare const actionSetFrameAsActiveTool: {
598
487
  viewBackgroundColor: string;
599
488
  scrollX: number;
600
489
  scrollY: number;
490
+ scrollConstraints: import("../types").ScrollConstraints | null;
601
491
  cursorButton: "up" | "down";
602
492
  scrolledOutside: boolean;
603
493
  name: string | null;
@@ -673,8 +563,6 @@ export declare const actionSetFrameAsActiveTool: {
673
563
  y: number;
674
564
  } | null;
675
565
  objectsSnapModeEnabled: boolean;
676
- userToFollow: import("../types").UserToFollow | null;
677
- followedBy: Set<import("../types").SocketId>;
678
566
  isCropping: boolean;
679
567
  croppingElementId: ExcalidrawElement["id"] | null;
680
568
  searchMatches: Readonly<{
@@ -686,12 +574,20 @@ export declare const actionSetFrameAsActiveTool: {
686
574
  [groupId: string]: true;
687
575
  };
688
576
  bindMode: import("@excalidraw/element/types").BindMode;
577
+ colorTopPicks: {
578
+ elementStroke: readonly string[] | null;
579
+ elementBackground: readonly string[] | null;
580
+ bucketFill: readonly string[] | null;
581
+ stickyNoteStroke: readonly string[] | null;
582
+ stickyNoteBackground: readonly string[] | null;
583
+ };
584
+ fontTopPicks: readonly import("@excalidraw/element/types").FontFamilyValues[] | null;
689
585
  };
690
586
  captureUpdate: "EVENTUALLY";
691
587
  };
692
- keyTest: (event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean;
588
+ checked: (appState: Readonly<UIAppState>) => boolean;
693
589
  } & {
694
- keyTest?: ((event: KeyboardEvent | import("react").KeyboardEvent<Element>) => boolean) | undefined;
590
+ keyTest?: undefined;
695
591
  };
696
592
  export declare const actionWrapSelectionInFrame: {
697
593
  name: "wrapSelectionInFrame";
@@ -699,8 +595,8 @@ export declare const actionWrapSelectionInFrame: {
699
595
  trackEvent: {
700
596
  category: "element";
701
597
  };
702
- predicate: (elements: readonly ExcalidrawElement[], appState: AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
703
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, _: unknown, app: AppClassProperties) => {
598
+ predicate: (elements: readonly ExcalidrawElement[], appState: import("../types").AppState, _: import("../types").ExcalidrawProps, app: AppClassProperties) => boolean;
599
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<import("../types").AppState>, _: unknown, app: AppClassProperties) => {
704
600
  elements: ((Readonly<{
705
601
  id: string;
706
602
  x: number;
@@ -728,6 +624,7 @@ export declare const actionWrapSelectionInFrame: {
728
624
  frameId: string | null;
729
625
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
730
626
  updated: number;
627
+ created: number | null;
731
628
  link: string | null;
732
629
  locked: boolean;
733
630
  customData?: Record<string, any>;
@@ -767,6 +664,7 @@ export declare const actionWrapSelectionInFrame: {
767
664
  frameId: string | null;
768
665
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
769
666
  updated: number;
667
+ created: number | null;
770
668
  link: string | null;
771
669
  locked: boolean;
772
670
  customData?: Record<string, any>;
@@ -801,6 +699,7 @@ export declare const actionWrapSelectionInFrame: {
801
699
  frameId: string | null;
802
700
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
803
701
  updated: number;
702
+ created: number | null;
804
703
  link: string | null;
805
704
  locked: boolean;
806
705
  customData?: Record<string, any>;
@@ -835,6 +734,43 @@ export declare const actionWrapSelectionInFrame: {
835
734
  frameId: string | null;
836
735
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
837
736
  updated: number;
737
+ created: number | null;
738
+ link: string | null;
739
+ locked: boolean;
740
+ customData?: Record<string, any>;
741
+ }> & Readonly<{
742
+ type: "stickynote";
743
+ baseHeight: number;
744
+ }> & {
745
+ index: import("@excalidraw/element/types").FractionalIndex;
746
+ }) | (Readonly<{
747
+ id: string;
748
+ x: number;
749
+ y: number;
750
+ strokeColor: string;
751
+ backgroundColor: string;
752
+ fillStyle: import("@excalidraw/element/types").FillStyle;
753
+ strokeWidth: number;
754
+ strokeStyle: import("@excalidraw/element/types").StrokeStyle;
755
+ roundness: null | {
756
+ type: import("@excalidraw/element/types").RoundnessType;
757
+ value?: number;
758
+ };
759
+ roughness: number;
760
+ opacity: number;
761
+ width: number;
762
+ height: number;
763
+ angle: import("@excalidraw/math").Radians;
764
+ seed: number;
765
+ version: number;
766
+ versionNonce: number;
767
+ index: import("@excalidraw/element/types").FractionalIndex | null;
768
+ isDeleted: boolean;
769
+ groupIds: readonly import("@excalidraw/element/types").GroupId[];
770
+ frameId: string | null;
771
+ boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
772
+ updated: number;
773
+ created: number | null;
838
774
  link: string | null;
839
775
  locked: boolean;
840
776
  customData?: Record<string, any>;
@@ -869,6 +805,7 @@ export declare const actionWrapSelectionInFrame: {
869
805
  frameId: string | null;
870
806
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
871
807
  updated: number;
808
+ created: number | null;
872
809
  link: string | null;
873
810
  locked: boolean;
874
811
  customData?: Record<string, any>;
@@ -903,6 +840,7 @@ export declare const actionWrapSelectionInFrame: {
903
840
  frameId: string | null;
904
841
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
905
842
  updated: number;
843
+ created: number | null;
906
844
  link: string | null;
907
845
  locked: boolean;
908
846
  customData?: Record<string, any>;
@@ -937,6 +875,7 @@ export declare const actionWrapSelectionInFrame: {
937
875
  frameId: string | null;
938
876
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
939
877
  updated: number;
878
+ created: number | null;
940
879
  link: string | null;
941
880
  locked: boolean;
942
881
  customData?: Record<string, any>;
@@ -974,6 +913,7 @@ export declare const actionWrapSelectionInFrame: {
974
913
  frameId: string | null;
975
914
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
976
915
  updated: number;
916
+ created: number | null;
977
917
  link: string | null;
978
918
  locked: boolean;
979
919
  customData?: Record<string, any>;
@@ -1012,6 +952,7 @@ export declare const actionWrapSelectionInFrame: {
1012
952
  frameId: string | null;
1013
953
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
1014
954
  updated: number;
955
+ created: number | null;
1015
956
  link: string | null;
1016
957
  locked: boolean;
1017
958
  customData?: Record<string, any>;
@@ -1047,6 +988,7 @@ export declare const actionWrapSelectionInFrame: {
1047
988
  frameId: string | null;
1048
989
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
1049
990
  updated: number;
991
+ created: number | null;
1050
992
  link: string | null;
1051
993
  locked: boolean;
1052
994
  customData?: Record<string, any>;
@@ -1082,6 +1024,7 @@ export declare const actionWrapSelectionInFrame: {
1082
1024
  frameId: string | null;
1083
1025
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
1084
1026
  updated: number;
1027
+ created: number | null;
1085
1028
  link: string | null;
1086
1029
  locked: boolean;
1087
1030
  customData?: Record<string, any>;
@@ -1089,15 +1032,17 @@ export declare const actionWrapSelectionInFrame: {
1089
1032
  type: "text";
1090
1033
  fontSize: number;
1091
1034
  fontFamily: import("@excalidraw/element/types").FontFamilyValues;
1035
+ baseFontSize: number | null;
1092
1036
  text: string;
1093
1037
  textAlign: import("@excalidraw/element/types").TextAlign;
1094
1038
  verticalAlign: import("@excalidraw/element/types").VerticalAlign;
1095
- containerId: import("@excalidraw/element/types").ExcalidrawGenericElement["id"] | null;
1039
+ containerId: import("@excalidraw/element/types").ExcalidrawTextContainer["id"] | null;
1096
1040
  originalText: string;
1097
1041
  autoResize: boolean;
1098
1042
  lineHeight: number & {
1099
1043
  _brand: "unitlessLineHeight";
1100
1044
  };
1045
+ labelPosition?: number | null;
1101
1046
  }> & {
1102
1047
  index: import("@excalidraw/element/types").FractionalIndex;
1103
1048
  }) | (Readonly<{
@@ -1127,6 +1072,7 @@ export declare const actionWrapSelectionInFrame: {
1127
1072
  frameId: string | null;
1128
1073
  boundElements: readonly import("@excalidraw/element/types").BoundElement[] | null;
1129
1074
  updated: number;
1075
+ created: number | null;
1130
1076
  link: string | null;
1131
1077
  locked: boolean;
1132
1078
  customData?: Record<string, any>;
@@ -1135,6 +1081,7 @@ export declare const actionWrapSelectionInFrame: {
1135
1081
  points: readonly import("@excalidraw/math").LocalPoint[];
1136
1082
  pressures: readonly number[];
1137
1083
  simulatePressure: boolean;
1084
+ strokeOptions: import("@excalidraw/element/types").StrokeOptions;
1138
1085
  }> & {
1139
1086
  index: import("@excalidraw/element/types").FractionalIndex;
1140
1087
  }) | import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameElement>)[];