@excalidraw/excalidraw 0.18.0-432a46e → 0.18.0-4e0441e

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 (449) hide show
  1. package/dist/dev/chunk-CP5DND7P.js +7 -0
  2. package/dist/dev/chunk-CP5DND7P.js.map +7 -0
  3. package/dist/dev/{chunk-LMHBUWQS.js → chunk-LLUJPE5U.js} +62 -29
  4. package/dist/dev/chunk-LLUJPE5U.js.map +7 -0
  5. package/dist/dev/chunk-YMRX7R7U.js +5671 -0
  6. package/dist/dev/chunk-YMRX7R7U.js.map +7 -0
  7. package/dist/dev/data/{image-5HAY2PCR.js → image-L23D26XS.js} +3 -3
  8. package/dist/dev/index.css +997 -521
  9. package/dist/dev/index.css.map +3 -3
  10. package/dist/dev/index.js +13994 -12296
  11. package/dist/dev/index.js.map +4 -4
  12. package/dist/dev/locales/{en-OZCJJ2HN.js → en-YSPYSBUR.js} +4 -2
  13. package/dist/dev/subset-shared.chunk.js +1 -1
  14. package/dist/dev/subset-worker.chunk.js +1 -1
  15. package/dist/prod/chunk-A66AFZZU.js +7 -0
  16. package/dist/prod/chunk-HT4FKTIQ.js +4 -0
  17. package/dist/prod/chunk-RSFMSEP5.js +12 -0
  18. package/dist/prod/data/image-NWF7UX55.js +1 -0
  19. package/dist/prod/index.css +1 -1
  20. package/dist/prod/index.js +25 -17
  21. package/dist/prod/locales/en-SFRQHD7K.js +1 -0
  22. package/dist/prod/subset-shared.chunk.js +1 -1
  23. package/dist/prod/subset-worker.chunk.js +1 -1
  24. package/dist/types/{packages/common → common}/src/colors.d.ts +1 -0
  25. package/dist/types/{packages/common → common}/src/constants.d.ts +47 -7
  26. package/dist/types/{packages/excalidraw → common/src}/emitter.d.ts +1 -1
  27. package/dist/types/{packages/common → common}/src/font-metadata.d.ts +4 -2
  28. package/dist/types/{packages/common → common}/src/index.d.ts +1 -0
  29. package/dist/types/{packages/common → common}/src/utility-types.d.ts +5 -0
  30. package/dist/types/{packages/common → common}/src/utils.d.ts +21 -2
  31. package/dist/types/{packages/excalidraw/scene → element/src}/Scene.d.ts +16 -15
  32. package/dist/types/element/src/align.d.ts +8 -0
  33. package/dist/types/{packages/element → element}/src/binding.d.ts +26 -15
  34. package/dist/types/{packages/element → element}/src/bounds.d.ts +19 -6
  35. package/dist/types/element/src/collision.d.ts +32 -0
  36. package/dist/types/{packages/element → element}/src/cropElement.d.ts +1 -1
  37. package/dist/types/{packages/excalidraw/change.d.ts → element/src/delta.d.ts} +77 -40
  38. package/dist/types/element/src/distance.d.ts +3 -0
  39. package/dist/types/{packages/element → element}/src/distribute.d.ts +2 -1
  40. package/dist/types/{packages/element → element}/src/dragElements.d.ts +3 -2
  41. package/dist/types/{packages/element → element}/src/duplicate.d.ts +10 -13
  42. package/dist/types/{packages/element → element}/src/elbowArrow.d.ts +1 -1
  43. package/dist/types/{packages/element → element}/src/flowchart.d.ts +3 -2
  44. package/dist/types/{packages/element → element}/src/fractionalIndex.d.ts +9 -3
  45. package/dist/types/{packages/element → element}/src/frame.d.ts +5 -4
  46. package/dist/types/{packages/element → element}/src/groups.d.ts +1 -0
  47. package/dist/types/{packages/element → element}/src/heading.d.ts +0 -1
  48. package/dist/types/element/src/index.d.ts +58 -0
  49. package/dist/types/{packages/element → element}/src/linearElementEditor.d.ts +23 -36
  50. package/dist/types/{packages/element → element}/src/mutateElement.d.ts +11 -3
  51. package/dist/types/{packages/element → element}/src/newElement.d.ts +4 -3
  52. package/dist/types/element/src/positionElementsOnGrid.d.ts +2 -0
  53. package/dist/types/{packages/element → element}/src/renderElement.d.ts +4 -1
  54. package/dist/types/{packages/element → element}/src/resizeElements.d.ts +5 -4
  55. package/dist/types/{packages/element → element}/src/selection.d.ts +11 -5
  56. package/dist/types/element/src/shape.d.ts +42 -0
  57. package/dist/types/{packages/element → element}/src/sizeHelpers.d.ts +2 -2
  58. package/dist/types/element/src/store.d.ts +237 -0
  59. package/dist/types/{packages/element → element}/src/textElement.d.ts +5 -3
  60. package/dist/types/{packages/element → element}/src/transformHandles.d.ts +1 -1
  61. package/dist/types/{packages/element → element}/src/typeChecks.d.ts +19 -1
  62. package/dist/types/{packages/element → element}/src/types.d.ts +15 -2
  63. package/dist/types/element/src/utils.d.ts +31 -0
  64. package/dist/types/{packages/element → element}/src/zindex.d.ts +1 -1
  65. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAddToLibrary.d.ts +60 -54
  66. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionBoundText.d.ts +40 -36
  67. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCanvas.d.ts +431 -228
  68. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionClipboard.d.ts +120 -106
  69. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionCropEditor.d.ts +20 -18
  70. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDeleteSelected.d.ts +60 -53
  71. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLink.d.ts +19 -17
  72. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionElementLock.d.ts +55 -53
  73. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionEmbeddable.d.ts +20 -18
  74. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionExport.d.ts +190 -172
  75. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFinalize.d.ts +87 -42
  76. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFrame.d.ts +127 -119
  77. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionGroup.d.ts +40 -36
  78. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionHistory.d.ts +1 -2
  79. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +718 -0
  80. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionLink.d.ts +19 -17
  81. package/dist/types/excalidraw/actions/actionMenu.d.ts +184 -0
  82. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionNavigate.d.ts +40 -36
  83. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionProperties.d.ts +320 -273
  84. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionSelectAll.d.ts +20 -18
  85. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionStyles.d.ts +20 -18
  86. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleGridMode.d.ts +20 -18
  87. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleObjectsSnapMode.d.ts +20 -18
  88. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +187 -0
  89. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +19 -0
  90. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleStats.d.ts +20 -19
  91. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleViewMode.d.ts +20 -19
  92. package/dist/types/{packages/excalidraw → excalidraw}/actions/actionToggleZenMode.d.ts +20 -19
  93. package/dist/types/{packages/excalidraw → excalidraw}/actions/index.d.ts +2 -2
  94. package/dist/types/{packages/excalidraw → excalidraw}/actions/types.d.ts +4 -3
  95. package/dist/types/{packages/excalidraw → excalidraw}/animated-trail.d.ts +7 -1
  96. package/dist/types/{packages/excalidraw → excalidraw}/appState.d.ts +24 -10
  97. package/dist/types/excalidraw/clipboard.d.ts +129 -0
  98. package/dist/types/{packages/excalidraw → excalidraw}/components/Actions.d.ts +17 -7
  99. package/dist/types/{packages/excalidraw → excalidraw}/components/App.d.ts +43 -25
  100. package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIcon.d.ts +1 -0
  101. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorInput.d.ts +2 -1
  102. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/ColorPicker.d.ts +6 -1
  103. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/CustomColorList.d.ts +1 -1
  104. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +7 -0
  105. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/Picker.d.ts +4 -3
  106. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerColorList.d.ts +3 -3
  107. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +9 -0
  108. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/TopPicks.d.ts +1 -1
  109. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/colorPickerUtils.d.ts +2 -2
  110. package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/keyboardNavHandlers.d.ts +1 -1
  111. package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/CommandPalette.d.ts +1 -0
  112. package/dist/types/excalidraw/components/ConvertElementTypePopup.d.ts +23 -0
  113. package/dist/types/{packages/excalidraw → excalidraw}/components/ElementLinkDialog.d.ts +4 -3
  114. package/dist/types/excalidraw/components/Ellipsify.d.ts +4 -0
  115. package/dist/types/{packages/excalidraw → excalidraw}/components/ExcalidrawLogo.d.ts +1 -1
  116. package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPicker.d.ts +2 -1
  117. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +8 -0
  118. package/dist/types/excalidraw/components/InlineIcon.d.ts +5 -0
  119. package/dist/types/{packages/excalidraw → excalidraw}/components/LayerUI.d.ts +2 -1
  120. package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuSection.d.ts +1 -1
  121. package/dist/types/{packages/excalidraw → excalidraw}/components/MobileMenu.d.ts +3 -5
  122. package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
  123. package/dist/types/{packages/excalidraw → excalidraw}/components/Popover.d.ts +2 -1
  124. package/dist/types/{packages/excalidraw → excalidraw}/components/PropertiesPopover.d.ts +1 -0
  125. package/dist/types/{packages/excalidraw/components/ButtonIconSelect.d.ts → excalidraw/components/RadioSelection.d.ts} +1 -1
  126. package/dist/types/excalidraw/components/Range.d.ts +8 -0
  127. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Angle.d.ts +1 -1
  128. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/CanvasGrid.d.ts +1 -1
  129. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Collapsible.d.ts +2 -1
  130. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Dimension.d.ts +1 -1
  131. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/DragInput.d.ts +12 -2
  132. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/FontSize.d.ts +1 -1
  133. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiAngle.d.ts +1 -1
  134. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiDimension.d.ts +1 -1
  135. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiFontSize.d.ts +1 -1
  136. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/MultiPosition.d.ts +1 -1
  137. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/Position.d.ts +1 -1
  138. package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/utils.d.ts +4 -11
  139. package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  140. package/dist/types/{packages/excalidraw → excalidraw}/components/TextField.d.ts +1 -0
  141. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  142. package/dist/types/excalidraw/components/UnlockPopup.d.ts +8 -0
  143. package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/InteractiveCanvas.d.ts +1 -0
  144. package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  145. package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  146. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/Hyperlink.d.ts +3 -2
  147. package/dist/types/{packages/excalidraw → excalidraw}/components/hyperlink/helpers.d.ts +2 -1
  148. package/dist/types/{packages/excalidraw → excalidraw}/components/icons.d.ts +9 -0
  149. package/dist/types/excalidraw/components/shapes.d.ts +190 -0
  150. package/dist/types/{packages/excalidraw → excalidraw}/data/blob.d.ts +3 -7
  151. package/dist/types/{packages/excalidraw → excalidraw}/data/reconcile.d.ts +1 -0
  152. package/dist/types/{packages/excalidraw → excalidraw}/data/restore.d.ts +6 -1
  153. package/dist/types/{packages/excalidraw → excalidraw}/data/transform.d.ts +1 -1
  154. package/dist/types/{packages/excalidraw → excalidraw}/data/types.d.ts +4 -1
  155. package/dist/types/{packages/excalidraw → excalidraw}/editor-jotai.d.ts +6 -6
  156. package/dist/types/excalidraw/eraser/index.d.ts +12 -0
  157. package/dist/types/{packages/excalidraw → excalidraw}/fonts/Fonts.d.ts +1 -1
  158. package/dist/types/excalidraw/history.d.ts +48 -0
  159. package/dist/types/{packages/excalidraw → excalidraw}/hooks/useEmitter.d.ts +1 -1
  160. package/dist/types/{packages/excalidraw → excalidraw}/hooks/useLibraryItemSvg.d.ts +1 -1
  161. package/dist/types/excalidraw/hooks/useTextEditorFocus.d.ts +14 -0
  162. package/dist/types/{packages/excalidraw → excalidraw}/index.d.ts +11 -10
  163. package/dist/types/excalidraw/lasso/index.d.ts +16 -0
  164. package/dist/types/excalidraw/lasso/utils.d.ts +13 -0
  165. package/dist/types/excalidraw/renderer/helpers.d.ts +18 -0
  166. package/dist/types/excalidraw/renderer/staticScene.d.ts +14 -0
  167. package/dist/types/{packages/excalidraw → excalidraw}/scene/Renderer.d.ts +1 -2
  168. package/dist/types/excalidraw/scene/index.d.ts +4 -0
  169. package/dist/types/{packages/excalidraw → excalidraw}/scene/scrollbars.d.ts +2 -3
  170. package/dist/types/{packages/excalidraw → excalidraw}/scene/types.d.ts +2 -0
  171. package/dist/types/excalidraw/shortcut.d.ts +1 -0
  172. package/dist/types/{packages/excalidraw → excalidraw}/snapping.d.ts +2 -2
  173. package/dist/types/{packages/excalidraw → excalidraw}/types.d.ts +48 -17
  174. package/dist/types/{packages/excalidraw → excalidraw}/wysiwyg/textWysiwyg.d.ts +3 -1
  175. package/dist/types/{packages/math → math}/src/angle.d.ts +2 -0
  176. package/dist/types/math/src/constants.d.ts +3 -0
  177. package/dist/types/math/src/curve.d.ts +74 -0
  178. package/dist/types/{packages/math → math}/src/index.d.ts +1 -0
  179. package/dist/types/{packages/math → math}/src/point.d.ts +1 -1
  180. package/dist/types/{packages/math → math}/src/polygon.d.ts +1 -0
  181. package/dist/types/{packages/math → math}/src/rectangle.d.ts +2 -0
  182. package/dist/types/{packages/math → math}/src/segment.d.ts +2 -1
  183. package/dist/types/{packages/math → math}/src/types.d.ts +1 -0
  184. package/dist/types/{packages/math → math}/src/vector.d.ts +8 -2
  185. package/dist/types/{packages/utils → utils}/src/bbox.d.ts +1 -1
  186. package/dist/types/{packages/utils → utils}/src/index.d.ts +1 -1
  187. package/dist/types/{packages/utils → utils}/src/withinBounds.d.ts +1 -1
  188. package/history.ts +146 -109
  189. package/package.json +31 -11
  190. package/dist/dev/chunk-LMHBUWQS.js.map +0 -7
  191. package/dist/dev/chunk-S7W4OWSF.js +0 -18442
  192. package/dist/dev/chunk-S7W4OWSF.js.map +0 -7
  193. package/dist/dev/chunk-ZG3EI5XS.js +0 -7
  194. package/dist/dev/chunk-ZG3EI5XS.js.map +0 -7
  195. package/dist/prod/chunk-6U3AYISY.js +0 -12
  196. package/dist/prod/chunk-LRITYP5X.js +0 -31
  197. package/dist/prod/chunk-U24AOZ3B.js +0 -7
  198. package/dist/prod/data/image-W3GRS73V.js +0 -1
  199. package/dist/prod/locales/en-B4ZKOASM.js +0 -1
  200. package/dist/types/excalidraw-app/app_constants.d.ts +0 -44
  201. package/dist/types/packages/element/src/Shape.d.ts +0 -17
  202. package/dist/types/packages/element/src/ShapeCache.d.ts +0 -25
  203. package/dist/types/packages/element/src/align.d.ts +0 -7
  204. package/dist/types/packages/element/src/collision.d.ts +0 -26
  205. package/dist/types/packages/element/src/distance.d.ts +0 -3
  206. package/dist/types/packages/element/src/index.d.ts +0 -16
  207. package/dist/types/packages/element/src/shapes.d.ts +0 -23
  208. package/dist/types/packages/element/src/utils.d.ts +0 -21
  209. package/dist/types/packages/excalidraw/actions/actionLinearEditor.d.ts +0 -192
  210. package/dist/types/packages/excalidraw/actions/actionMenu.d.ts +0 -554
  211. package/dist/types/packages/excalidraw/actions/actionToggleSearchMenu.d.ts +0 -357
  212. package/dist/types/packages/excalidraw/clipboard.d.ts +0 -66
  213. package/dist/types/packages/excalidraw/components/ButtonSelect.d.ts +0 -9
  214. package/dist/types/packages/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +0 -8
  215. package/dist/types/packages/excalidraw/components/ColorPicker/ShadeList.d.ts +0 -8
  216. package/dist/types/packages/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +0 -6
  217. package/dist/types/packages/excalidraw/components/InlineIcon.d.ts +0 -3
  218. package/dist/types/packages/excalidraw/components/Range.d.ts +0 -8
  219. package/dist/types/packages/excalidraw/components/shapes.d.ts +0 -62
  220. package/dist/types/packages/excalidraw/history.d.ts +0 -40
  221. package/dist/types/packages/excalidraw/renderer/helpers.d.ts +0 -13
  222. package/dist/types/packages/excalidraw/renderer/staticScene.d.ts +0 -11
  223. package/dist/types/packages/excalidraw/scene/index.d.ts +0 -4
  224. package/dist/types/packages/excalidraw/store.d.ts +0 -129
  225. package/dist/types/packages/excalidraw/tests/fixtures/diagramFixture.d.ts +0 -504
  226. package/dist/types/packages/excalidraw/tests/fixtures/elementFixture.d.ts +0 -7
  227. package/dist/types/packages/excalidraw/tests/helpers/api.d.ts +0 -89
  228. package/dist/types/packages/excalidraw/tests/helpers/colorize.d.ts +0 -2
  229. package/dist/types/packages/excalidraw/tests/helpers/mocks.d.ts +0 -5
  230. package/dist/types/packages/excalidraw/tests/helpers/polyfills.d.ts +0 -36
  231. package/dist/types/packages/excalidraw/tests/helpers/ui.d.ts +0 -189
  232. package/dist/types/packages/excalidraw/tests/queries/dom.d.ts +0 -2
  233. package/dist/types/packages/excalidraw/tests/queries/toolQueries.d.ts +0 -2
  234. package/dist/types/packages/excalidraw/tests/test-utils.d.ts +0 -139
  235. package/dist/types/packages/excalidraw/visualdebug.d.ts +0 -41
  236. package/dist/types/packages/math/src/curve.d.ts +0 -40
  237. package/dist/types/packages/utils/src/collision.d.ts +0 -8
  238. /package/dist/dev/data/{image-5HAY2PCR.js.map → image-L23D26XS.js.map} +0 -0
  239. /package/dist/dev/locales/{en-OZCJJ2HN.js.map → en-YSPYSBUR.js.map} +0 -0
  240. /package/dist/types/{packages/common → common}/src/binary-heap.d.ts +0 -0
  241. /package/dist/types/{packages/common → common}/src/keys.d.ts +0 -0
  242. /package/dist/types/{packages/common → common}/src/points.d.ts +0 -0
  243. /package/dist/types/{packages/common → common}/src/promise-pool.d.ts +0 -0
  244. /package/dist/types/{packages/common → common}/src/queue.d.ts +0 -0
  245. /package/dist/types/{packages/common → common}/src/random.d.ts +0 -0
  246. /package/dist/types/{packages/common → common}/src/url.d.ts +0 -0
  247. /package/dist/types/{packages/element → element}/src/comparisons.d.ts +0 -0
  248. /package/dist/types/{packages/element → element}/src/containerCache.d.ts +0 -0
  249. /package/dist/types/{packages/element → element}/src/elementLink.d.ts +0 -0
  250. /package/dist/types/{packages/element → element}/src/embeddable.d.ts +0 -0
  251. /package/dist/types/{packages/element → element}/src/image.d.ts +0 -0
  252. /package/dist/types/{packages/element → element}/src/resizeTest.d.ts +0 -0
  253. /package/dist/types/{packages/element → element}/src/showSelectedShapeActions.d.ts +0 -0
  254. /package/dist/types/{packages/element → element}/src/sortElements.d.ts +0 -0
  255. /package/dist/types/{packages/element → element}/src/textMeasurements.d.ts +0 -0
  256. /package/dist/types/{packages/element → element}/src/textWrapping.d.ts +0 -0
  257. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionAlign.d.ts +0 -0
  258. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDistribute.d.ts +0 -0
  259. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionDuplicateSelection.d.ts +0 -0
  260. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionFlip.d.ts +0 -0
  261. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionTextAutoResize.d.ts +0 -0
  262. /package/dist/types/{packages/excalidraw → excalidraw}/actions/actionZindex.d.ts +0 -0
  263. /package/dist/types/{packages/excalidraw → excalidraw}/actions/manager.d.ts +0 -0
  264. /package/dist/types/{packages/excalidraw → excalidraw}/actions/register.d.ts +0 -0
  265. /package/dist/types/{packages/excalidraw → excalidraw}/actions/shortcuts.d.ts +0 -0
  266. /package/dist/types/{packages/excalidraw → excalidraw}/analytics.d.ts +0 -0
  267. /package/dist/types/{packages/excalidraw → excalidraw}/animation-frame-handler.d.ts +0 -0
  268. /package/dist/types/{packages/excalidraw → excalidraw}/charts.d.ts +0 -0
  269. /package/dist/types/{packages/excalidraw → excalidraw}/clients.d.ts +0 -0
  270. /package/dist/types/{packages/excalidraw → excalidraw}/components/ActiveConfirmDialog.d.ts +0 -0
  271. /package/dist/types/{packages/excalidraw → excalidraw}/components/Avatar.d.ts +0 -0
  272. /package/dist/types/{packages/excalidraw → excalidraw}/components/BraveMeasureTextError.d.ts +0 -0
  273. /package/dist/types/{packages/excalidraw → excalidraw}/components/Button.d.ts +0 -0
  274. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonIconCycle.d.ts +0 -0
  275. /package/dist/types/{packages/excalidraw → excalidraw}/components/ButtonSeparator.d.ts +0 -0
  276. /package/dist/types/{packages/excalidraw → excalidraw}/components/Card.d.ts +0 -0
  277. /package/dist/types/{packages/excalidraw → excalidraw}/components/CheckboxItem.d.ts +0 -0
  278. /package/dist/types/{packages/excalidraw → excalidraw}/components/ColorPicker/PickerHeading.d.ts +0 -0
  279. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/defaultCommandPaletteItems.d.ts +0 -0
  280. /package/dist/types/{packages/excalidraw → excalidraw}/components/CommandPalette/types.d.ts +0 -0
  281. /package/dist/types/{packages/excalidraw → excalidraw}/components/ConfirmDialog.d.ts +0 -0
  282. /package/dist/types/{packages/excalidraw → excalidraw}/components/ContextMenu.d.ts +0 -0
  283. /package/dist/types/{packages/excalidraw → excalidraw}/components/DarkModeToggle.d.ts +0 -0
  284. /package/dist/types/{packages/excalidraw → excalidraw}/components/DefaultSidebar.d.ts +0 -0
  285. /package/dist/types/{packages/excalidraw → excalidraw}/components/DiagramToCodePlugin/DiagramToCodePlugin.d.ts +0 -0
  286. /package/dist/types/{packages/excalidraw → excalidraw}/components/Dialog.d.ts +0 -0
  287. /package/dist/types/{packages/excalidraw → excalidraw}/components/DialogActionButton.d.ts +0 -0
  288. /package/dist/types/{packages/excalidraw → excalidraw}/components/ElementCanvasButtons.d.ts +0 -0
  289. /package/dist/types/{packages/excalidraw → excalidraw}/components/ErrorDialog.d.ts +0 -0
  290. /package/dist/types/{packages/excalidraw → excalidraw}/components/EyeDropper.d.ts +0 -0
  291. /package/dist/types/{packages/excalidraw → excalidraw}/components/FilledButton.d.ts +0 -0
  292. /package/dist/types/{packages/excalidraw → excalidraw}/components/FixedSideContainer.d.ts +0 -0
  293. /package/dist/types/{packages/excalidraw → excalidraw}/components/FollowMode/FollowMode.d.ts +0 -0
  294. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/FontPickerList.d.ts +0 -0
  295. /package/dist/types/{packages/excalidraw → excalidraw}/components/FontPicker/keyboardNavHandlers.d.ts +0 -0
  296. /package/dist/types/{packages/excalidraw → excalidraw}/components/HandButton.d.ts +0 -0
  297. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpButton.d.ts +0 -0
  298. /package/dist/types/{packages/excalidraw → excalidraw}/components/HelpDialog.d.ts +0 -0
  299. /package/dist/types/{packages/excalidraw → excalidraw}/components/HintViewer.d.ts +0 -0
  300. /package/dist/types/{packages/excalidraw → excalidraw}/components/IconPicker.d.ts +0 -0
  301. /package/dist/types/{packages/excalidraw → excalidraw}/components/ImageExportDialog.d.ts +0 -0
  302. /package/dist/types/{packages/excalidraw → excalidraw}/components/InitializeApp.d.ts +0 -0
  303. /package/dist/types/{packages/excalidraw → excalidraw}/components/Island.d.ts +0 -0
  304. /package/dist/types/{packages/excalidraw → excalidraw}/components/JSONExportDialog.d.ts +0 -0
  305. /package/dist/types/{packages/excalidraw → excalidraw}/components/LaserPointerButton.d.ts +0 -0
  306. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenu.d.ts +0 -0
  307. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuBrowseButton.d.ts +0 -0
  308. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuControlButtons.d.ts +0 -0
  309. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuHeaderContent.d.ts +0 -0
  310. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryMenuItems.d.ts +0 -0
  311. /package/dist/types/{packages/excalidraw → excalidraw}/components/LibraryUnit.d.ts +0 -0
  312. /package/dist/types/{packages/excalidraw → excalidraw}/components/LoadingMessage.d.ts +0 -0
  313. /package/dist/types/{packages/excalidraw → excalidraw}/components/LockButton.d.ts +0 -0
  314. /package/dist/types/{packages/excalidraw → excalidraw}/components/MagicButton.d.ts +0 -0
  315. /package/dist/types/{packages/excalidraw → excalidraw}/components/Modal.d.ts +0 -0
  316. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirm.d.ts +0 -0
  317. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +0 -0
  318. /package/dist/types/{packages/excalidraw → excalidraw}/components/OverwriteConfirm/OverwriteConfirmState.d.ts +0 -0
  319. /package/dist/types/{packages/excalidraw → excalidraw}/components/Paragraph.d.ts +0 -0
  320. /package/dist/types/{packages/excalidraw → excalidraw}/components/PasteChartDialog.d.ts +0 -0
  321. /package/dist/types/{packages/excalidraw → excalidraw}/components/PenModeButton.d.ts +0 -0
  322. /package/dist/types/{packages/excalidraw → excalidraw}/components/ProjectName.d.ts +0 -0
  323. /package/dist/types/{packages/excalidraw → excalidraw}/components/PublishLibrary.d.ts +0 -0
  324. /package/dist/types/{packages/excalidraw → excalidraw}/components/QuickSearch.d.ts +0 -0
  325. /package/dist/types/{packages/excalidraw → excalidraw}/components/RadioGroup.d.ts +0 -0
  326. /package/dist/types/{packages/excalidraw → excalidraw}/components/SVGLayer.d.ts +0 -0
  327. /package/dist/types/{packages/excalidraw → excalidraw}/components/ScrollableList.d.ts +0 -0
  328. /package/dist/types/{packages/excalidraw → excalidraw}/components/SearchMenu.d.ts +0 -0
  329. /package/dist/types/{packages/excalidraw → excalidraw}/components/Section.d.ts +0 -0
  330. /package/dist/types/{packages/excalidraw → excalidraw}/components/ShareableLinkDialog.d.ts +0 -0
  331. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/Sidebar.d.ts +0 -0
  332. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarHeader.d.ts +0 -0
  333. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTab.d.ts +0 -0
  334. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTrigger.d.ts +0 -0
  335. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabTriggers.d.ts +0 -0
  336. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTabs.d.ts +0 -0
  337. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/SidebarTrigger.d.ts +0 -0
  338. /package/dist/types/{packages/excalidraw → excalidraw}/components/Sidebar/common.d.ts +0 -0
  339. /package/dist/types/{packages/excalidraw → excalidraw}/components/Spinner.d.ts +0 -0
  340. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stack.d.ts +0 -0
  341. /package/dist/types/{packages/excalidraw → excalidraw}/components/Stats/index.d.ts +0 -0
  342. /package/dist/types/{packages/excalidraw → excalidraw}/components/Switch.d.ts +0 -0
  343. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/MermaidToExcalidraw.d.ts +0 -0
  344. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialog.d.ts +0 -0
  345. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogInput.d.ts +0 -0
  346. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogOutput.d.ts +0 -0
  347. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanel.d.ts +0 -0
  348. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogPanels.d.ts +0 -0
  349. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +0 -0
  350. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTab.d.ts +0 -0
  351. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTrigger.d.ts +0 -0
  352. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabTriggers.d.ts +0 -0
  353. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/TTDDialogTabs.d.ts +0 -0
  354. /package/dist/types/{packages/excalidraw → excalidraw}/components/TTDDialog/common.d.ts +0 -0
  355. /package/dist/types/{packages/excalidraw → excalidraw}/components/Toast.d.ts +0 -0
  356. /package/dist/types/{packages/excalidraw → excalidraw}/components/ToolButton.d.ts +0 -0
  357. /package/dist/types/{packages/excalidraw → excalidraw}/components/Tooltip.d.ts +0 -0
  358. /package/dist/types/{packages/excalidraw → excalidraw}/components/Trans.d.ts +0 -0
  359. /package/dist/types/{packages/excalidraw → excalidraw}/components/UserList.d.ts +0 -0
  360. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/NewElementCanvas.d.ts +0 -0
  361. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/StaticCanvas.d.ts +0 -0
  362. /package/dist/types/{packages/excalidraw → excalidraw}/components/canvases/index.d.ts +0 -0
  363. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuGroup.d.ts +0 -0
  364. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItem.d.ts +0 -0
  365. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContent.d.ts +0 -0
  366. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +0 -0
  367. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemCustom.d.ts +0 -0
  368. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuItemLink.d.ts +0 -0
  369. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuSeparator.d.ts +0 -0
  370. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/DropdownMenuTrigger.d.ts +0 -0
  371. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/common.d.ts +0 -0
  372. /package/dist/types/{packages/excalidraw → excalidraw}/components/dropdownMenu/dropdownMenuUtils.d.ts +0 -0
  373. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/Footer.d.ts +0 -0
  374. /package/dist/types/{packages/excalidraw → excalidraw}/components/footer/FooterCenter.d.ts +0 -0
  375. /package/dist/types/{packages/excalidraw → excalidraw}/components/hoc/withInternalFallback.d.ts +0 -0
  376. /package/dist/types/{packages/excalidraw → excalidraw}/components/live-collaboration/LiveCollaborationTrigger.d.ts +0 -0
  377. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/DefaultItems.d.ts +0 -0
  378. /package/dist/types/{packages/excalidraw → excalidraw}/components/main-menu/MainMenu.d.ts +0 -0
  379. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Center.d.ts +0 -0
  380. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.Hints.d.ts +0 -0
  381. /package/dist/types/{packages/excalidraw → excalidraw}/components/welcome-screen/WelcomeScreen.d.ts +0 -0
  382. /package/dist/types/{packages/excalidraw → excalidraw}/context/tunnels.d.ts +0 -0
  383. /package/dist/types/{packages/excalidraw → excalidraw}/context/ui-appState.d.ts +0 -0
  384. /package/dist/types/{packages/excalidraw → excalidraw}/cursor.d.ts +0 -0
  385. /package/dist/types/{packages/excalidraw → excalidraw}/data/EditorLocalStorage.d.ts +0 -0
  386. /package/dist/types/{packages/excalidraw → excalidraw}/data/ai/types.d.ts +0 -0
  387. /package/dist/types/{packages/excalidraw → excalidraw}/data/encode.d.ts +0 -0
  388. /package/dist/types/{packages/excalidraw → excalidraw}/data/encryption.d.ts +0 -0
  389. /package/dist/types/{packages/excalidraw → excalidraw}/data/filesystem.d.ts +0 -0
  390. /package/dist/types/{packages/excalidraw → excalidraw}/data/image.d.ts +0 -0
  391. /package/dist/types/{packages/excalidraw → excalidraw}/data/index.d.ts +0 -0
  392. /package/dist/types/{packages/excalidraw → excalidraw}/data/json.d.ts +0 -0
  393. /package/dist/types/{packages/excalidraw → excalidraw}/data/library.d.ts +0 -0
  394. /package/dist/types/{packages/excalidraw → excalidraw}/data/resave.d.ts +0 -0
  395. /package/dist/types/{packages/excalidraw → excalidraw}/deburr.d.ts +0 -0
  396. /package/dist/types/{packages/excalidraw → excalidraw}/errors.d.ts +0 -0
  397. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Cascadia/index.d.ts +0 -0
  398. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ComicShanns/index.d.ts +0 -0
  399. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Emoji/index.d.ts +0 -0
  400. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/ExcalidrawFontFace.d.ts +0 -0
  401. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Excalifont/index.d.ts +0 -0
  402. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Helvetica/index.d.ts +0 -0
  403. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Liberation/index.d.ts +0 -0
  404. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Lilita/index.d.ts +0 -0
  405. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Nunito/index.d.ts +0 -0
  406. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Virgil/index.d.ts +0 -0
  407. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/Xiaolai/index.d.ts +0 -0
  408. /package/dist/types/{packages/excalidraw → excalidraw}/fonts/index.d.ts +0 -0
  409. /package/dist/types/{packages/excalidraw → excalidraw}/gesture.d.ts +0 -0
  410. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCallbackRefState.d.ts +0 -0
  411. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCopiedIndicator.d.ts +0 -0
  412. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useCreatePortalContainer.d.ts +0 -0
  413. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useOutsideClick.d.ts +0 -0
  414. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useScrollPosition.d.ts +0 -0
  415. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStable.d.ts +0 -0
  416. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useStableCallback.d.ts +0 -0
  417. /package/dist/types/{packages/excalidraw → excalidraw}/hooks/useTransition.d.ts +0 -0
  418. /package/dist/types/{packages/excalidraw → excalidraw}/i18n.d.ts +0 -0
  419. /package/dist/types/{packages/excalidraw → excalidraw}/index-node.d.ts +0 -0
  420. /package/dist/types/{packages/excalidraw → excalidraw}/laser-trails.d.ts +0 -0
  421. /package/dist/types/{packages/excalidraw → excalidraw}/mermaid.d.ts +0 -0
  422. /package/dist/types/{packages/excalidraw → excalidraw}/polyfill.d.ts +0 -0
  423. /package/dist/types/{packages/excalidraw → excalidraw}/reactUtils.d.ts +0 -0
  424. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/interactiveScene.d.ts +0 -0
  425. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderNewElementScene.d.ts +0 -0
  426. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/renderSnaps.d.ts +0 -0
  427. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/roundRect.d.ts +0 -0
  428. /package/dist/types/{packages/excalidraw → excalidraw}/renderer/staticSvgScene.d.ts +0 -0
  429. /package/dist/types/{packages/excalidraw → excalidraw}/scene/export.d.ts +0 -0
  430. /package/dist/types/{packages/excalidraw → excalidraw}/scene/normalize.d.ts +0 -0
  431. /package/dist/types/{packages/excalidraw → excalidraw}/scene/scroll.d.ts +0 -0
  432. /package/dist/types/{packages/excalidraw → excalidraw}/scene/zoom.d.ts +0 -0
  433. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-bindings.d.ts +0 -0
  434. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-loader.d.ts +0 -0
  435. /package/dist/types/{packages/excalidraw → excalidraw}/subset/harfbuzz/harfbuzz-wasm.d.ts +0 -0
  436. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-main.d.ts +0 -0
  437. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-shared.chunk.d.ts +0 -0
  438. /package/dist/types/{packages/excalidraw → excalidraw}/subset/subset-worker.chunk.d.ts +0 -0
  439. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-bindings.d.ts +0 -0
  440. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-loader.d.ts +0 -0
  441. /package/dist/types/{packages/excalidraw → excalidraw}/subset/woff2/woff2-wasm.d.ts +0 -0
  442. /package/dist/types/{packages/excalidraw → excalidraw}/workers.d.ts +0 -0
  443. /package/dist/types/{packages/math → math}/src/ellipse.d.ts +0 -0
  444. /package/dist/types/{packages/math → math}/src/line.d.ts +0 -0
  445. /package/dist/types/{packages/math → math}/src/range.d.ts +0 -0
  446. /package/dist/types/{packages/math → math}/src/triangle.d.ts +0 -0
  447. /package/dist/types/{packages/math → math}/src/utils.d.ts +0 -0
  448. /package/dist/types/{packages/utils → utils}/src/export.d.ts +0 -0
  449. /package/dist/types/{packages/utils → utils}/src/shape.d.ts +0 -0
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { LinearElementEditor } from "@excalidraw/element/linearElementEditor";
2
+ import { LinearElementEditor } from "@excalidraw/element";
3
3
  import type { Arrowhead, ExcalidrawBindableElement, ExcalidrawElement, ExcalidrawLinearElement } from "@excalidraw/element/types";
4
4
  import type { AppClassProperties, AppState, Primitive } from "../types";
5
5
  export declare const changeProperty: (elements: readonly ExcalidrawElement[], appState: AppState, callback: (element: ExcalidrawElement) => ExcalidrawElement, includeBoundText?: boolean) => ExcalidrawElement[];
6
- export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], appState: AppState, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
6
+ export declare const getFormValue: <T extends Primitive>(elements: readonly ExcalidrawElement[], app: AppClassProperties, getAttribute: (element: ExcalidrawElement) => T, isRelevantElement: true | ((element: ExcalidrawElement) => boolean), defaultValue: T | ((isSomeElementSelected: boolean) => T)) => T;
7
7
  export declare const actionChangeStrokeColor: {
8
8
  name: "changeStrokeColor";
9
9
  label: string;
10
10
  trackEvent: false;
11
11
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
12
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
12
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
13
13
  } & {
14
14
  keyTest?: undefined;
15
15
  };
@@ -17,8 +17,16 @@ export declare const actionChangeBackgroundColor: {
17
17
  name: "changeBackgroundColor";
18
18
  label: string;
19
19
  trackEvent: false;
20
- perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any) => any;
21
- PanelComponent: ({ elements, appState, updateData, appProps }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
20
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
21
+ appState: any;
22
+ captureUpdate: "EVENTUALLY";
23
+ elements?: undefined;
24
+ } | {
25
+ elements: ExcalidrawElement[];
26
+ appState: any;
27
+ captureUpdate: "IMMEDIATELY";
28
+ };
29
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
22
30
  } & {
23
31
  keyTest?: undefined;
24
32
  };
@@ -40,7 +48,7 @@ export declare const actionChangeFillStyle: {
40
48
  errorMessage: import("react").ReactNode;
41
49
  activeEmbeddable: {
42
50
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
43
- state: "hover" | "active";
51
+ state: "active" | "hover";
44
52
  } | null;
45
53
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
46
54
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -48,7 +56,7 @@ export declare const actionChangeFillStyle: {
48
56
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
49
57
  isBindingEnabled: boolean;
50
58
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
51
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
59
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
52
60
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
53
61
  frameRendering: {
54
62
  enabled: boolean;
@@ -59,11 +67,15 @@ export declare const actionChangeFillStyle: {
59
67
  editingFrame: string | null;
60
68
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
61
69
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
62
- editingLinearElement: LinearElementEditor | null;
63
70
  activeTool: {
64
71
  lastActiveTool: import("../types").ActiveTool | null;
65
72
  locked: boolean;
73
+ fromSelection: boolean;
66
74
  } & import("../types").ActiveTool;
75
+ preferredSelectionTool: {
76
+ type: "selection" | "lasso";
77
+ initialized: boolean;
78
+ };
67
79
  penMode: boolean;
68
80
  penDetected: boolean;
69
81
  exportBackground: boolean;
@@ -95,8 +107,8 @@ export declare const actionChangeFillStyle: {
95
107
  zoom: Readonly<{
96
108
  value: import("../types").NormalizedZoomValue;
97
109
  }>;
98
- openMenu: "shape" | "canvas" | null;
99
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
110
+ openMenu: "canvas" | null;
111
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
100
112
  openSidebar: {
101
113
  name: string;
102
114
  tab?: string | undefined;
@@ -105,7 +117,7 @@ export declare const actionChangeFillStyle: {
105
117
  name: "imageExport" | "help" | "jsonExport";
106
118
  } | {
107
119
  name: "ttd";
108
- tab: "text-to-diagram" | "mermaid";
120
+ tab: "mermaid" | "text-to-diagram";
109
121
  } | {
110
122
  name: "commandPalette";
111
123
  } | {
@@ -177,7 +189,6 @@ export declare const actionChangeFillStyle: {
177
189
  shown: true;
178
190
  data: import("../charts").Spreadsheet;
179
191
  };
180
- pendingImageElementId: string | null;
181
192
  showHyperlinkPopup: false | "editor" | "info";
182
193
  selectedLinearElement: LinearElementEditor | null;
183
194
  snapLines: readonly import("../snapping").SnapLine[];
@@ -190,20 +201,19 @@ export declare const actionChangeFillStyle: {
190
201
  followedBy: Set<import("../types").SocketId>;
191
202
  isCropping: boolean;
192
203
  croppingElementId: string | null;
193
- searchMatches: readonly {
194
- id: string;
195
- focus: boolean;
196
- matchedLines: {
197
- offsetX: number;
198
- offsetY: number;
199
- width: number;
200
- height: number;
201
- }[];
202
- }[];
204
+ searchMatches: Readonly<{
205
+ focusedId: string | null;
206
+ matches: readonly import("../types").SearchMatch[];
207
+ }> | null;
208
+ activeLockedId: string | null;
209
+ lockedMultiSelections: {
210
+ [groupId: string]: true;
211
+ };
212
+ stylesPanelMode: "compact" | "full" | "mobile";
203
213
  };
204
214
  captureUpdate: "IMMEDIATELY";
205
215
  };
206
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
216
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
207
217
  } & {
208
218
  keyTest?: undefined;
209
219
  };
@@ -225,7 +235,7 @@ export declare const actionChangeStrokeWidth: {
225
235
  errorMessage: import("react").ReactNode;
226
236
  activeEmbeddable: {
227
237
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
228
- state: "hover" | "active";
238
+ state: "active" | "hover";
229
239
  } | null;
230
240
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
231
241
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -233,7 +243,7 @@ export declare const actionChangeStrokeWidth: {
233
243
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
234
244
  isBindingEnabled: boolean;
235
245
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
236
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
246
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
237
247
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
238
248
  frameRendering: {
239
249
  enabled: boolean;
@@ -244,11 +254,15 @@ export declare const actionChangeStrokeWidth: {
244
254
  editingFrame: string | null;
245
255
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
246
256
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
247
- editingLinearElement: LinearElementEditor | null;
248
257
  activeTool: {
249
258
  lastActiveTool: import("../types").ActiveTool | null;
250
259
  locked: boolean;
260
+ fromSelection: boolean;
251
261
  } & import("../types").ActiveTool;
262
+ preferredSelectionTool: {
263
+ type: "selection" | "lasso";
264
+ initialized: boolean;
265
+ };
252
266
  penMode: boolean;
253
267
  penDetected: boolean;
254
268
  exportBackground: boolean;
@@ -280,8 +294,8 @@ export declare const actionChangeStrokeWidth: {
280
294
  zoom: Readonly<{
281
295
  value: import("../types").NormalizedZoomValue;
282
296
  }>;
283
- openMenu: "shape" | "canvas" | null;
284
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
297
+ openMenu: "canvas" | null;
298
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
285
299
  openSidebar: {
286
300
  name: string;
287
301
  tab?: string | undefined;
@@ -290,7 +304,7 @@ export declare const actionChangeStrokeWidth: {
290
304
  name: "imageExport" | "help" | "jsonExport";
291
305
  } | {
292
306
  name: "ttd";
293
- tab: "text-to-diagram" | "mermaid";
307
+ tab: "mermaid" | "text-to-diagram";
294
308
  } | {
295
309
  name: "commandPalette";
296
310
  } | {
@@ -362,7 +376,6 @@ export declare const actionChangeStrokeWidth: {
362
376
  shown: true;
363
377
  data: import("../charts").Spreadsheet;
364
378
  };
365
- pendingImageElementId: string | null;
366
379
  showHyperlinkPopup: false | "editor" | "info";
367
380
  selectedLinearElement: LinearElementEditor | null;
368
381
  snapLines: readonly import("../snapping").SnapLine[];
@@ -375,20 +388,19 @@ export declare const actionChangeStrokeWidth: {
375
388
  followedBy: Set<import("../types").SocketId>;
376
389
  isCropping: boolean;
377
390
  croppingElementId: string | null;
378
- searchMatches: readonly {
379
- id: string;
380
- focus: boolean;
381
- matchedLines: {
382
- offsetX: number;
383
- offsetY: number;
384
- width: number;
385
- height: number;
386
- }[];
387
- }[];
391
+ searchMatches: Readonly<{
392
+ focusedId: string | null;
393
+ matches: readonly import("../types").SearchMatch[];
394
+ }> | null;
395
+ activeLockedId: string | null;
396
+ lockedMultiSelections: {
397
+ [groupId: string]: true;
398
+ };
399
+ stylesPanelMode: "compact" | "full" | "mobile";
388
400
  };
389
401
  captureUpdate: "IMMEDIATELY";
390
402
  };
391
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
403
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
392
404
  } & {
393
405
  keyTest?: undefined;
394
406
  };
@@ -410,7 +422,7 @@ export declare const actionChangeSloppiness: {
410
422
  errorMessage: import("react").ReactNode;
411
423
  activeEmbeddable: {
412
424
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
413
- state: "hover" | "active";
425
+ state: "active" | "hover";
414
426
  } | null;
415
427
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
416
428
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -418,7 +430,7 @@ export declare const actionChangeSloppiness: {
418
430
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
419
431
  isBindingEnabled: boolean;
420
432
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
421
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
433
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
422
434
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
423
435
  frameRendering: {
424
436
  enabled: boolean;
@@ -429,11 +441,15 @@ export declare const actionChangeSloppiness: {
429
441
  editingFrame: string | null;
430
442
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
431
443
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
432
- editingLinearElement: LinearElementEditor | null;
433
444
  activeTool: {
434
445
  lastActiveTool: import("../types").ActiveTool | null;
435
446
  locked: boolean;
447
+ fromSelection: boolean;
436
448
  } & import("../types").ActiveTool;
449
+ preferredSelectionTool: {
450
+ type: "selection" | "lasso";
451
+ initialized: boolean;
452
+ };
437
453
  penMode: boolean;
438
454
  penDetected: boolean;
439
455
  exportBackground: boolean;
@@ -465,8 +481,8 @@ export declare const actionChangeSloppiness: {
465
481
  zoom: Readonly<{
466
482
  value: import("../types").NormalizedZoomValue;
467
483
  }>;
468
- openMenu: "shape" | "canvas" | null;
469
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
484
+ openMenu: "canvas" | null;
485
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
470
486
  openSidebar: {
471
487
  name: string;
472
488
  tab?: string | undefined;
@@ -475,7 +491,7 @@ export declare const actionChangeSloppiness: {
475
491
  name: "imageExport" | "help" | "jsonExport";
476
492
  } | {
477
493
  name: "ttd";
478
- tab: "text-to-diagram" | "mermaid";
494
+ tab: "mermaid" | "text-to-diagram";
479
495
  } | {
480
496
  name: "commandPalette";
481
497
  } | {
@@ -547,7 +563,6 @@ export declare const actionChangeSloppiness: {
547
563
  shown: true;
548
564
  data: import("../charts").Spreadsheet;
549
565
  };
550
- pendingImageElementId: string | null;
551
566
  showHyperlinkPopup: false | "editor" | "info";
552
567
  selectedLinearElement: LinearElementEditor | null;
553
568
  snapLines: readonly import("../snapping").SnapLine[];
@@ -560,20 +575,19 @@ export declare const actionChangeSloppiness: {
560
575
  followedBy: Set<import("../types").SocketId>;
561
576
  isCropping: boolean;
562
577
  croppingElementId: string | null;
563
- searchMatches: readonly {
564
- id: string;
565
- focus: boolean;
566
- matchedLines: {
567
- offsetX: number;
568
- offsetY: number;
569
- width: number;
570
- height: number;
571
- }[];
572
- }[];
578
+ searchMatches: Readonly<{
579
+ focusedId: string | null;
580
+ matches: readonly import("../types").SearchMatch[];
581
+ }> | null;
582
+ activeLockedId: string | null;
583
+ lockedMultiSelections: {
584
+ [groupId: string]: true;
585
+ };
586
+ stylesPanelMode: "compact" | "full" | "mobile";
573
587
  };
574
588
  captureUpdate: "IMMEDIATELY";
575
589
  };
576
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
590
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
577
591
  } & {
578
592
  keyTest?: undefined;
579
593
  };
@@ -595,7 +609,7 @@ export declare const actionChangeStrokeStyle: {
595
609
  errorMessage: import("react").ReactNode;
596
610
  activeEmbeddable: {
597
611
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
598
- state: "hover" | "active";
612
+ state: "active" | "hover";
599
613
  } | null;
600
614
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
601
615
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -603,7 +617,7 @@ export declare const actionChangeStrokeStyle: {
603
617
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
604
618
  isBindingEnabled: boolean;
605
619
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
606
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
620
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
607
621
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
608
622
  frameRendering: {
609
623
  enabled: boolean;
@@ -614,11 +628,15 @@ export declare const actionChangeStrokeStyle: {
614
628
  editingFrame: string | null;
615
629
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
616
630
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
617
- editingLinearElement: LinearElementEditor | null;
618
631
  activeTool: {
619
632
  lastActiveTool: import("../types").ActiveTool | null;
620
633
  locked: boolean;
634
+ fromSelection: boolean;
621
635
  } & import("../types").ActiveTool;
636
+ preferredSelectionTool: {
637
+ type: "selection" | "lasso";
638
+ initialized: boolean;
639
+ };
622
640
  penMode: boolean;
623
641
  penDetected: boolean;
624
642
  exportBackground: boolean;
@@ -650,8 +668,8 @@ export declare const actionChangeStrokeStyle: {
650
668
  zoom: Readonly<{
651
669
  value: import("../types").NormalizedZoomValue;
652
670
  }>;
653
- openMenu: "shape" | "canvas" | null;
654
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
671
+ openMenu: "canvas" | null;
672
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
655
673
  openSidebar: {
656
674
  name: string;
657
675
  tab?: string | undefined;
@@ -660,7 +678,7 @@ export declare const actionChangeStrokeStyle: {
660
678
  name: "imageExport" | "help" | "jsonExport";
661
679
  } | {
662
680
  name: "ttd";
663
- tab: "text-to-diagram" | "mermaid";
681
+ tab: "mermaid" | "text-to-diagram";
664
682
  } | {
665
683
  name: "commandPalette";
666
684
  } | {
@@ -732,7 +750,6 @@ export declare const actionChangeStrokeStyle: {
732
750
  shown: true;
733
751
  data: import("../charts").Spreadsheet;
734
752
  };
735
- pendingImageElementId: string | null;
736
753
  showHyperlinkPopup: false | "editor" | "info";
737
754
  selectedLinearElement: LinearElementEditor | null;
738
755
  snapLines: readonly import("../snapping").SnapLine[];
@@ -745,20 +762,19 @@ export declare const actionChangeStrokeStyle: {
745
762
  followedBy: Set<import("../types").SocketId>;
746
763
  isCropping: boolean;
747
764
  croppingElementId: string | null;
748
- searchMatches: readonly {
749
- id: string;
750
- focus: boolean;
751
- matchedLines: {
752
- offsetX: number;
753
- offsetY: number;
754
- width: number;
755
- height: number;
756
- }[];
757
- }[];
765
+ searchMatches: Readonly<{
766
+ focusedId: string | null;
767
+ matches: readonly import("../types").SearchMatch[];
768
+ }> | null;
769
+ activeLockedId: string | null;
770
+ lockedMultiSelections: {
771
+ [groupId: string]: true;
772
+ };
773
+ stylesPanelMode: "compact" | "full" | "mobile";
758
774
  };
759
775
  captureUpdate: "IMMEDIATELY";
760
776
  };
761
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
777
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
762
778
  } & {
763
779
  keyTest?: undefined;
764
780
  };
@@ -780,7 +796,7 @@ export declare const actionChangeOpacity: {
780
796
  errorMessage: import("react").ReactNode;
781
797
  activeEmbeddable: {
782
798
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
783
- state: "hover" | "active";
799
+ state: "active" | "hover";
784
800
  } | null;
785
801
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
786
802
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -788,7 +804,7 @@ export declare const actionChangeOpacity: {
788
804
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
789
805
  isBindingEnabled: boolean;
790
806
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
791
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
807
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
792
808
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
793
809
  frameRendering: {
794
810
  enabled: boolean;
@@ -799,11 +815,15 @@ export declare const actionChangeOpacity: {
799
815
  editingFrame: string | null;
800
816
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
801
817
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
802
- editingLinearElement: LinearElementEditor | null;
803
818
  activeTool: {
804
819
  lastActiveTool: import("../types").ActiveTool | null;
805
820
  locked: boolean;
821
+ fromSelection: boolean;
806
822
  } & import("../types").ActiveTool;
823
+ preferredSelectionTool: {
824
+ type: "selection" | "lasso";
825
+ initialized: boolean;
826
+ };
807
827
  penMode: boolean;
808
828
  penDetected: boolean;
809
829
  exportBackground: boolean;
@@ -835,8 +855,8 @@ export declare const actionChangeOpacity: {
835
855
  zoom: Readonly<{
836
856
  value: import("../types").NormalizedZoomValue;
837
857
  }>;
838
- openMenu: "shape" | "canvas" | null;
839
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
858
+ openMenu: "canvas" | null;
859
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
840
860
  openSidebar: {
841
861
  name: string;
842
862
  tab?: string | undefined;
@@ -845,7 +865,7 @@ export declare const actionChangeOpacity: {
845
865
  name: "imageExport" | "help" | "jsonExport";
846
866
  } | {
847
867
  name: "ttd";
848
- tab: "text-to-diagram" | "mermaid";
868
+ tab: "mermaid" | "text-to-diagram";
849
869
  } | {
850
870
  name: "commandPalette";
851
871
  } | {
@@ -917,7 +937,6 @@ export declare const actionChangeOpacity: {
917
937
  shown: true;
918
938
  data: import("../charts").Spreadsheet;
919
939
  };
920
- pendingImageElementId: string | null;
921
940
  showHyperlinkPopup: false | "editor" | "info";
922
941
  selectedLinearElement: LinearElementEditor | null;
923
942
  snapLines: readonly import("../snapping").SnapLine[];
@@ -930,20 +949,19 @@ export declare const actionChangeOpacity: {
930
949
  followedBy: Set<import("../types").SocketId>;
931
950
  isCropping: boolean;
932
951
  croppingElementId: string | null;
933
- searchMatches: readonly {
934
- id: string;
935
- focus: boolean;
936
- matchedLines: {
937
- offsetX: number;
938
- offsetY: number;
939
- width: number;
940
- height: number;
941
- }[];
942
- }[];
952
+ searchMatches: Readonly<{
953
+ focusedId: string | null;
954
+ matches: readonly import("../types").SearchMatch[];
955
+ }> | null;
956
+ activeLockedId: string | null;
957
+ lockedMultiSelections: {
958
+ [groupId: string]: true;
959
+ };
960
+ stylesPanelMode: "compact" | "full" | "mobile";
943
961
  };
944
962
  captureUpdate: "IMMEDIATELY";
945
963
  };
946
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
964
+ PanelComponent: ({ app, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
947
965
  } & {
948
966
  keyTest?: undefined;
949
967
  };
@@ -965,7 +983,7 @@ export declare const actionChangeFontSize: {
965
983
  errorMessage: import("react").ReactNode;
966
984
  activeEmbeddable: {
967
985
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
968
- state: "hover" | "active";
986
+ state: "active" | "hover";
969
987
  } | null;
970
988
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
971
989
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -973,7 +991,7 @@ export declare const actionChangeFontSize: {
973
991
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
974
992
  isBindingEnabled: boolean;
975
993
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
976
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
994
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
977
995
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
978
996
  frameRendering: {
979
997
  enabled: boolean;
@@ -984,11 +1002,15 @@ export declare const actionChangeFontSize: {
984
1002
  editingFrame: string | null;
985
1003
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
986
1004
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
987
- editingLinearElement: LinearElementEditor | null;
988
1005
  activeTool: {
989
1006
  lastActiveTool: import("../types").ActiveTool | null;
990
1007
  locked: boolean;
1008
+ fromSelection: boolean;
991
1009
  } & import("../types").ActiveTool;
1010
+ preferredSelectionTool: {
1011
+ type: "selection" | "lasso";
1012
+ initialized: boolean;
1013
+ };
992
1014
  penMode: boolean;
993
1015
  penDetected: boolean;
994
1016
  exportBackground: boolean;
@@ -1020,8 +1042,8 @@ export declare const actionChangeFontSize: {
1020
1042
  zoom: Readonly<{
1021
1043
  value: import("../types").NormalizedZoomValue;
1022
1044
  }>;
1023
- openMenu: "shape" | "canvas" | null;
1024
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1045
+ openMenu: "canvas" | null;
1046
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1025
1047
  openSidebar: {
1026
1048
  name: string;
1027
1049
  tab?: string | undefined;
@@ -1030,7 +1052,7 @@ export declare const actionChangeFontSize: {
1030
1052
  name: "imageExport" | "help" | "jsonExport";
1031
1053
  } | {
1032
1054
  name: "ttd";
1033
- tab: "text-to-diagram" | "mermaid";
1055
+ tab: "mermaid" | "text-to-diagram";
1034
1056
  } | {
1035
1057
  name: "commandPalette";
1036
1058
  } | {
@@ -1102,7 +1124,6 @@ export declare const actionChangeFontSize: {
1102
1124
  shown: true;
1103
1125
  data: import("../charts").Spreadsheet;
1104
1126
  };
1105
- pendingImageElementId: string | null;
1106
1127
  showHyperlinkPopup: false | "editor" | "info";
1107
1128
  selectedLinearElement: LinearElementEditor | null;
1108
1129
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1115,20 +1136,19 @@ export declare const actionChangeFontSize: {
1115
1136
  followedBy: Set<import("../types").SocketId>;
1116
1137
  isCropping: boolean;
1117
1138
  croppingElementId: string | null;
1118
- searchMatches: readonly {
1119
- id: string;
1120
- focus: boolean;
1121
- matchedLines: {
1122
- offsetX: number;
1123
- offsetY: number;
1124
- width: number;
1125
- height: number;
1126
- }[];
1127
- }[];
1139
+ searchMatches: Readonly<{
1140
+ focusedId: string | null;
1141
+ matches: readonly import("../types").SearchMatch[];
1142
+ }> | null;
1143
+ activeLockedId: string | null;
1144
+ lockedMultiSelections: {
1145
+ [groupId: string]: true;
1146
+ };
1147
+ stylesPanelMode: "compact" | "full" | "mobile";
1128
1148
  };
1129
1149
  captureUpdate: "IMMEDIATELY";
1130
1150
  };
1131
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1151
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
1132
1152
  } & {
1133
1153
  keyTest?: undefined;
1134
1154
  };
@@ -1151,7 +1171,7 @@ export declare const actionDecreaseFontSize: {
1151
1171
  errorMessage: import("react").ReactNode;
1152
1172
  activeEmbeddable: {
1153
1173
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1154
- state: "hover" | "active";
1174
+ state: "active" | "hover";
1155
1175
  } | null;
1156
1176
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1157
1177
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1159,7 +1179,7 @@ export declare const actionDecreaseFontSize: {
1159
1179
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1160
1180
  isBindingEnabled: boolean;
1161
1181
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1162
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1182
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1163
1183
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1164
1184
  frameRendering: {
1165
1185
  enabled: boolean;
@@ -1170,11 +1190,15 @@ export declare const actionDecreaseFontSize: {
1170
1190
  editingFrame: string | null;
1171
1191
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1172
1192
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1173
- editingLinearElement: LinearElementEditor | null;
1174
1193
  activeTool: {
1175
1194
  lastActiveTool: import("../types").ActiveTool | null;
1176
1195
  locked: boolean;
1196
+ fromSelection: boolean;
1177
1197
  } & import("../types").ActiveTool;
1198
+ preferredSelectionTool: {
1199
+ type: "selection" | "lasso";
1200
+ initialized: boolean;
1201
+ };
1178
1202
  penMode: boolean;
1179
1203
  penDetected: boolean;
1180
1204
  exportBackground: boolean;
@@ -1206,8 +1230,8 @@ export declare const actionDecreaseFontSize: {
1206
1230
  zoom: Readonly<{
1207
1231
  value: import("../types").NormalizedZoomValue;
1208
1232
  }>;
1209
- openMenu: "shape" | "canvas" | null;
1210
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1233
+ openMenu: "canvas" | null;
1234
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1211
1235
  openSidebar: {
1212
1236
  name: string;
1213
1237
  tab?: string | undefined;
@@ -1216,7 +1240,7 @@ export declare const actionDecreaseFontSize: {
1216
1240
  name: "imageExport" | "help" | "jsonExport";
1217
1241
  } | {
1218
1242
  name: "ttd";
1219
- tab: "text-to-diagram" | "mermaid";
1243
+ tab: "mermaid" | "text-to-diagram";
1220
1244
  } | {
1221
1245
  name: "commandPalette";
1222
1246
  } | {
@@ -1288,7 +1312,6 @@ export declare const actionDecreaseFontSize: {
1288
1312
  shown: true;
1289
1313
  data: import("../charts").Spreadsheet;
1290
1314
  };
1291
- pendingImageElementId: string | null;
1292
1315
  showHyperlinkPopup: false | "editor" | "info";
1293
1316
  selectedLinearElement: LinearElementEditor | null;
1294
1317
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1301,16 +1324,15 @@ export declare const actionDecreaseFontSize: {
1301
1324
  followedBy: Set<import("../types").SocketId>;
1302
1325
  isCropping: boolean;
1303
1326
  croppingElementId: string | null;
1304
- searchMatches: readonly {
1305
- id: string;
1306
- focus: boolean;
1307
- matchedLines: {
1308
- offsetX: number;
1309
- offsetY: number;
1310
- width: number;
1311
- height: number;
1312
- }[];
1313
- }[];
1327
+ searchMatches: Readonly<{
1328
+ focusedId: string | null;
1329
+ matches: readonly import("../types").SearchMatch[];
1330
+ }> | null;
1331
+ activeLockedId: string | null;
1332
+ lockedMultiSelections: {
1333
+ [groupId: string]: true;
1334
+ };
1335
+ stylesPanelMode: "compact" | "full" | "mobile";
1314
1336
  };
1315
1337
  captureUpdate: "IMMEDIATELY";
1316
1338
  };
@@ -1337,7 +1359,7 @@ export declare const actionIncreaseFontSize: {
1337
1359
  errorMessage: import("react").ReactNode;
1338
1360
  activeEmbeddable: {
1339
1361
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1340
- state: "hover" | "active";
1362
+ state: "active" | "hover";
1341
1363
  } | null;
1342
1364
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1343
1365
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1345,7 +1367,7 @@ export declare const actionIncreaseFontSize: {
1345
1367
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1346
1368
  isBindingEnabled: boolean;
1347
1369
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1348
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1370
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1349
1371
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1350
1372
  frameRendering: {
1351
1373
  enabled: boolean;
@@ -1356,11 +1378,15 @@ export declare const actionIncreaseFontSize: {
1356
1378
  editingFrame: string | null;
1357
1379
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1358
1380
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1359
- editingLinearElement: LinearElementEditor | null;
1360
1381
  activeTool: {
1361
1382
  lastActiveTool: import("../types").ActiveTool | null;
1362
1383
  locked: boolean;
1384
+ fromSelection: boolean;
1363
1385
  } & import("../types").ActiveTool;
1386
+ preferredSelectionTool: {
1387
+ type: "selection" | "lasso";
1388
+ initialized: boolean;
1389
+ };
1364
1390
  penMode: boolean;
1365
1391
  penDetected: boolean;
1366
1392
  exportBackground: boolean;
@@ -1392,8 +1418,8 @@ export declare const actionIncreaseFontSize: {
1392
1418
  zoom: Readonly<{
1393
1419
  value: import("../types").NormalizedZoomValue;
1394
1420
  }>;
1395
- openMenu: "shape" | "canvas" | null;
1396
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1421
+ openMenu: "canvas" | null;
1422
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1397
1423
  openSidebar: {
1398
1424
  name: string;
1399
1425
  tab?: string | undefined;
@@ -1402,7 +1428,7 @@ export declare const actionIncreaseFontSize: {
1402
1428
  name: "imageExport" | "help" | "jsonExport";
1403
1429
  } | {
1404
1430
  name: "ttd";
1405
- tab: "text-to-diagram" | "mermaid";
1431
+ tab: "mermaid" | "text-to-diagram";
1406
1432
  } | {
1407
1433
  name: "commandPalette";
1408
1434
  } | {
@@ -1474,7 +1500,6 @@ export declare const actionIncreaseFontSize: {
1474
1500
  shown: true;
1475
1501
  data: import("../charts").Spreadsheet;
1476
1502
  };
1477
- pendingImageElementId: string | null;
1478
1503
  showHyperlinkPopup: false | "editor" | "info";
1479
1504
  selectedLinearElement: LinearElementEditor | null;
1480
1505
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1487,16 +1512,15 @@ export declare const actionIncreaseFontSize: {
1487
1512
  followedBy: Set<import("../types").SocketId>;
1488
1513
  isCropping: boolean;
1489
1514
  croppingElementId: string | null;
1490
- searchMatches: readonly {
1491
- id: string;
1492
- focus: boolean;
1493
- matchedLines: {
1494
- offsetX: number;
1495
- offsetY: number;
1496
- width: number;
1497
- height: number;
1498
- }[];
1499
- }[];
1515
+ searchMatches: Readonly<{
1516
+ focusedId: string | null;
1517
+ matches: readonly import("../types").SearchMatch[];
1518
+ }> | null;
1519
+ activeLockedId: string | null;
1520
+ lockedMultiSelections: {
1521
+ [groupId: string]: true;
1522
+ };
1523
+ stylesPanelMode: "compact" | "full" | "mobile";
1500
1524
  };
1501
1525
  captureUpdate: "IMMEDIATELY";
1502
1526
  };
@@ -1510,9 +1534,9 @@ export declare const actionChangeFontFamily: {
1510
1534
  trackEvent: false;
1511
1535
  perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => {
1512
1536
  appState: {
1513
- currentHoveredFontFamily: number | null;
1514
1537
  currentItemFontFamily: number;
1515
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1538
+ currentHoveredFontFamily: number | null;
1539
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1516
1540
  contextMenu: {
1517
1541
  items: import("../components/ContextMenu").ContextMenuItems;
1518
1542
  top: number;
@@ -1523,7 +1547,7 @@ export declare const actionChangeFontFamily: {
1523
1547
  errorMessage: import("react").ReactNode;
1524
1548
  activeEmbeddable: {
1525
1549
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1526
- state: "hover" | "active";
1550
+ state: "active" | "hover";
1527
1551
  } | null;
1528
1552
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1529
1553
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1531,7 +1555,7 @@ export declare const actionChangeFontFamily: {
1531
1555
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1532
1556
  isBindingEnabled: boolean;
1533
1557
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1534
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1558
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1535
1559
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1536
1560
  frameRendering: {
1537
1561
  enabled: boolean;
@@ -1542,11 +1566,15 @@ export declare const actionChangeFontFamily: {
1542
1566
  editingFrame: string | null;
1543
1567
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1544
1568
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1545
- editingLinearElement: LinearElementEditor | null;
1546
1569
  activeTool: {
1547
1570
  lastActiveTool: import("../types").ActiveTool | null;
1548
1571
  locked: boolean;
1572
+ fromSelection: boolean;
1549
1573
  } & import("../types").ActiveTool;
1574
+ preferredSelectionTool: {
1575
+ type: "selection" | "lasso";
1576
+ initialized: boolean;
1577
+ };
1550
1578
  penMode: boolean;
1551
1579
  penDetected: boolean;
1552
1580
  exportBackground: boolean;
@@ -1577,7 +1605,7 @@ export declare const actionChangeFontFamily: {
1577
1605
  zoom: Readonly<{
1578
1606
  value: import("../types").NormalizedZoomValue;
1579
1607
  }>;
1580
- openMenu: "shape" | "canvas" | null;
1608
+ openMenu: "canvas" | null;
1581
1609
  openSidebar: {
1582
1610
  name: string;
1583
1611
  tab?: string | undefined;
@@ -1586,7 +1614,7 @@ export declare const actionChangeFontFamily: {
1586
1614
  name: "imageExport" | "help" | "jsonExport";
1587
1615
  } | {
1588
1616
  name: "ttd";
1589
- tab: "text-to-diagram" | "mermaid";
1617
+ tab: "mermaid" | "text-to-diagram";
1590
1618
  } | {
1591
1619
  name: "commandPalette";
1592
1620
  } | {
@@ -1658,7 +1686,6 @@ export declare const actionChangeFontFamily: {
1658
1686
  shown: true;
1659
1687
  data: import("../charts").Spreadsheet;
1660
1688
  };
1661
- pendingImageElementId: string | null;
1662
1689
  showHyperlinkPopup: false | "editor" | "info";
1663
1690
  selectedLinearElement: LinearElementEditor | null;
1664
1691
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1671,24 +1698,23 @@ export declare const actionChangeFontFamily: {
1671
1698
  followedBy: Set<import("../types").SocketId>;
1672
1699
  isCropping: boolean;
1673
1700
  croppingElementId: string | null;
1674
- searchMatches: readonly {
1675
- id: string;
1676
- focus: boolean;
1677
- matchedLines: {
1678
- offsetX: number;
1679
- offsetY: number;
1680
- width: number;
1681
- height: number;
1682
- }[];
1683
- }[];
1701
+ searchMatches: Readonly<{
1702
+ focusedId: string | null;
1703
+ matches: readonly import("../types").SearchMatch[];
1704
+ }> | null;
1705
+ activeLockedId: string | null;
1706
+ lockedMultiSelections: {
1707
+ [groupId: string]: true;
1708
+ };
1709
+ stylesPanelMode: "compact" | "full" | "mobile";
1684
1710
  };
1685
1711
  captureUpdate: "IMMEDIATELY" | "EVENTUALLY";
1686
1712
  } | {
1687
1713
  elements: ExcalidrawElement[];
1688
1714
  appState: {
1689
- currentHoveredFontFamily: number | null;
1690
1715
  currentItemFontFamily: number;
1691
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1716
+ currentHoveredFontFamily: number | null;
1717
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1692
1718
  contextMenu: {
1693
1719
  items: import("../components/ContextMenu").ContextMenuItems;
1694
1720
  top: number;
@@ -1699,7 +1725,7 @@ export declare const actionChangeFontFamily: {
1699
1725
  errorMessage: import("react").ReactNode;
1700
1726
  activeEmbeddable: {
1701
1727
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1702
- state: "hover" | "active";
1728
+ state: "active" | "hover";
1703
1729
  } | null;
1704
1730
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1705
1731
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1707,7 +1733,7 @@ export declare const actionChangeFontFamily: {
1707
1733
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1708
1734
  isBindingEnabled: boolean;
1709
1735
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1710
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1736
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1711
1737
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1712
1738
  frameRendering: {
1713
1739
  enabled: boolean;
@@ -1718,11 +1744,15 @@ export declare const actionChangeFontFamily: {
1718
1744
  editingFrame: string | null;
1719
1745
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1720
1746
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1721
- editingLinearElement: LinearElementEditor | null;
1722
1747
  activeTool: {
1723
1748
  lastActiveTool: import("../types").ActiveTool | null;
1724
1749
  locked: boolean;
1750
+ fromSelection: boolean;
1725
1751
  } & import("../types").ActiveTool;
1752
+ preferredSelectionTool: {
1753
+ type: "selection" | "lasso";
1754
+ initialized: boolean;
1755
+ };
1726
1756
  penMode: boolean;
1727
1757
  penDetected: boolean;
1728
1758
  exportBackground: boolean;
@@ -1753,7 +1783,7 @@ export declare const actionChangeFontFamily: {
1753
1783
  zoom: Readonly<{
1754
1784
  value: import("../types").NormalizedZoomValue;
1755
1785
  }>;
1756
- openMenu: "shape" | "canvas" | null;
1786
+ openMenu: "canvas" | null;
1757
1787
  openSidebar: {
1758
1788
  name: string;
1759
1789
  tab?: string | undefined;
@@ -1762,7 +1792,7 @@ export declare const actionChangeFontFamily: {
1762
1792
  name: "imageExport" | "help" | "jsonExport";
1763
1793
  } | {
1764
1794
  name: "ttd";
1765
- tab: "text-to-diagram" | "mermaid";
1795
+ tab: "mermaid" | "text-to-diagram";
1766
1796
  } | {
1767
1797
  name: "commandPalette";
1768
1798
  } | {
@@ -1834,7 +1864,6 @@ export declare const actionChangeFontFamily: {
1834
1864
  shown: true;
1835
1865
  data: import("../charts").Spreadsheet;
1836
1866
  };
1837
- pendingImageElementId: string | null;
1838
1867
  showHyperlinkPopup: false | "editor" | "info";
1839
1868
  selectedLinearElement: LinearElementEditor | null;
1840
1869
  snapLines: readonly import("../snapping").SnapLine[];
@@ -1847,16 +1876,15 @@ export declare const actionChangeFontFamily: {
1847
1876
  followedBy: Set<import("../types").SocketId>;
1848
1877
  isCropping: boolean;
1849
1878
  croppingElementId: string | null;
1850
- searchMatches: readonly {
1851
- id: string;
1852
- focus: boolean;
1853
- matchedLines: {
1854
- offsetX: number;
1855
- offsetY: number;
1856
- width: number;
1857
- height: number;
1858
- }[];
1859
- }[];
1879
+ searchMatches: Readonly<{
1880
+ focusedId: string | null;
1881
+ matches: readonly import("../types").SearchMatch[];
1882
+ }> | null;
1883
+ activeLockedId: string | null;
1884
+ lockedMultiSelections: {
1885
+ [groupId: string]: true;
1886
+ };
1887
+ stylesPanelMode: "compact" | "full" | "mobile";
1860
1888
  };
1861
1889
  captureUpdate: "NEVER";
1862
1890
  };
@@ -1882,7 +1910,7 @@ export declare const actionChangeTextAlign: {
1882
1910
  errorMessage: import("react").ReactNode;
1883
1911
  activeEmbeddable: {
1884
1912
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
1885
- state: "hover" | "active";
1913
+ state: "active" | "hover";
1886
1914
  } | null;
1887
1915
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
1888
1916
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -1890,7 +1918,7 @@ export declare const actionChangeTextAlign: {
1890
1918
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1891
1919
  isBindingEnabled: boolean;
1892
1920
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
1893
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
1921
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
1894
1922
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
1895
1923
  frameRendering: {
1896
1924
  enabled: boolean;
@@ -1901,11 +1929,15 @@ export declare const actionChangeTextAlign: {
1901
1929
  editingFrame: string | null;
1902
1930
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
1903
1931
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
1904
- editingLinearElement: LinearElementEditor | null;
1905
1932
  activeTool: {
1906
1933
  lastActiveTool: import("../types").ActiveTool | null;
1907
1934
  locked: boolean;
1935
+ fromSelection: boolean;
1908
1936
  } & import("../types").ActiveTool;
1937
+ preferredSelectionTool: {
1938
+ type: "selection" | "lasso";
1939
+ initialized: boolean;
1940
+ };
1909
1941
  penMode: boolean;
1910
1942
  penDetected: boolean;
1911
1943
  exportBackground: boolean;
@@ -1937,8 +1969,8 @@ export declare const actionChangeTextAlign: {
1937
1969
  zoom: Readonly<{
1938
1970
  value: import("../types").NormalizedZoomValue;
1939
1971
  }>;
1940
- openMenu: "shape" | "canvas" | null;
1941
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
1972
+ openMenu: "canvas" | null;
1973
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
1942
1974
  openSidebar: {
1943
1975
  name: string;
1944
1976
  tab?: string | undefined;
@@ -1947,7 +1979,7 @@ export declare const actionChangeTextAlign: {
1947
1979
  name: "imageExport" | "help" | "jsonExport";
1948
1980
  } | {
1949
1981
  name: "ttd";
1950
- tab: "text-to-diagram" | "mermaid";
1982
+ tab: "mermaid" | "text-to-diagram";
1951
1983
  } | {
1952
1984
  name: "commandPalette";
1953
1985
  } | {
@@ -2019,7 +2051,6 @@ export declare const actionChangeTextAlign: {
2019
2051
  shown: true;
2020
2052
  data: import("../charts").Spreadsheet;
2021
2053
  };
2022
- pendingImageElementId: string | null;
2023
2054
  showHyperlinkPopup: false | "editor" | "info";
2024
2055
  selectedLinearElement: LinearElementEditor | null;
2025
2056
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2032,20 +2063,19 @@ export declare const actionChangeTextAlign: {
2032
2063
  followedBy: Set<import("../types").SocketId>;
2033
2064
  isCropping: boolean;
2034
2065
  croppingElementId: string | null;
2035
- searchMatches: readonly {
2036
- id: string;
2037
- focus: boolean;
2038
- matchedLines: {
2039
- offsetX: number;
2040
- offsetY: number;
2041
- width: number;
2042
- height: number;
2043
- }[];
2044
- }[];
2066
+ searchMatches: Readonly<{
2067
+ focusedId: string | null;
2068
+ matches: readonly import("../types").SearchMatch[];
2069
+ }> | null;
2070
+ activeLockedId: string | null;
2071
+ lockedMultiSelections: {
2072
+ [groupId: string]: true;
2073
+ };
2074
+ stylesPanelMode: "compact" | "full" | "mobile";
2045
2075
  };
2046
2076
  captureUpdate: "IMMEDIATELY";
2047
2077
  };
2048
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2078
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2049
2079
  } & {
2050
2080
  keyTest?: undefined;
2051
2081
  };
@@ -2068,7 +2098,7 @@ export declare const actionChangeVerticalAlign: {
2068
2098
  errorMessage: import("react").ReactNode;
2069
2099
  activeEmbeddable: {
2070
2100
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2071
- state: "hover" | "active";
2101
+ state: "active" | "hover";
2072
2102
  } | null;
2073
2103
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2074
2104
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2076,7 +2106,7 @@ export declare const actionChangeVerticalAlign: {
2076
2106
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2077
2107
  isBindingEnabled: boolean;
2078
2108
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2079
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2109
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2080
2110
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2081
2111
  frameRendering: {
2082
2112
  enabled: boolean;
@@ -2087,11 +2117,15 @@ export declare const actionChangeVerticalAlign: {
2087
2117
  editingFrame: string | null;
2088
2118
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2089
2119
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2090
- editingLinearElement: LinearElementEditor | null;
2091
2120
  activeTool: {
2092
2121
  lastActiveTool: import("../types").ActiveTool | null;
2093
2122
  locked: boolean;
2123
+ fromSelection: boolean;
2094
2124
  } & import("../types").ActiveTool;
2125
+ preferredSelectionTool: {
2126
+ type: "selection" | "lasso";
2127
+ initialized: boolean;
2128
+ };
2095
2129
  penMode: boolean;
2096
2130
  penDetected: boolean;
2097
2131
  exportBackground: boolean;
@@ -2124,8 +2158,8 @@ export declare const actionChangeVerticalAlign: {
2124
2158
  zoom: Readonly<{
2125
2159
  value: import("../types").NormalizedZoomValue;
2126
2160
  }>;
2127
- openMenu: "shape" | "canvas" | null;
2128
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2161
+ openMenu: "canvas" | null;
2162
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2129
2163
  openSidebar: {
2130
2164
  name: string;
2131
2165
  tab?: string | undefined;
@@ -2134,7 +2168,7 @@ export declare const actionChangeVerticalAlign: {
2134
2168
  name: "imageExport" | "help" | "jsonExport";
2135
2169
  } | {
2136
2170
  name: "ttd";
2137
- tab: "text-to-diagram" | "mermaid";
2171
+ tab: "mermaid" | "text-to-diagram";
2138
2172
  } | {
2139
2173
  name: "commandPalette";
2140
2174
  } | {
@@ -2206,7 +2240,6 @@ export declare const actionChangeVerticalAlign: {
2206
2240
  shown: true;
2207
2241
  data: import("../charts").Spreadsheet;
2208
2242
  };
2209
- pendingImageElementId: string | null;
2210
2243
  showHyperlinkPopup: false | "editor" | "info";
2211
2244
  selectedLinearElement: LinearElementEditor | null;
2212
2245
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2219,20 +2252,19 @@ export declare const actionChangeVerticalAlign: {
2219
2252
  followedBy: Set<import("../types").SocketId>;
2220
2253
  isCropping: boolean;
2221
2254
  croppingElementId: string | null;
2222
- searchMatches: readonly {
2223
- id: string;
2224
- focus: boolean;
2225
- matchedLines: {
2226
- offsetX: number;
2227
- offsetY: number;
2228
- width: number;
2229
- height: number;
2230
- }[];
2231
- }[];
2255
+ searchMatches: Readonly<{
2256
+ focusedId: string | null;
2257
+ matches: readonly import("../types").SearchMatch[];
2258
+ }> | null;
2259
+ activeLockedId: string | null;
2260
+ lockedMultiSelections: {
2261
+ [groupId: string]: true;
2262
+ };
2263
+ stylesPanelMode: "compact" | "full" | "mobile";
2232
2264
  };
2233
2265
  captureUpdate: "IMMEDIATELY";
2234
2266
  };
2235
- PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2267
+ PanelComponent: ({ elements, appState, updateData, app, data }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2236
2268
  } & {
2237
2269
  keyTest?: undefined;
2238
2270
  };
@@ -2254,7 +2286,7 @@ export declare const actionChangeRoundness: {
2254
2286
  errorMessage: import("react").ReactNode;
2255
2287
  activeEmbeddable: {
2256
2288
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2257
- state: "hover" | "active";
2289
+ state: "active" | "hover";
2258
2290
  } | null;
2259
2291
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2260
2292
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2262,7 +2294,7 @@ export declare const actionChangeRoundness: {
2262
2294
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2263
2295
  isBindingEnabled: boolean;
2264
2296
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2265
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2297
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2266
2298
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2267
2299
  frameRendering: {
2268
2300
  enabled: boolean;
@@ -2273,11 +2305,15 @@ export declare const actionChangeRoundness: {
2273
2305
  editingFrame: string | null;
2274
2306
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2275
2307
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2276
- editingLinearElement: LinearElementEditor | null;
2277
2308
  activeTool: {
2278
2309
  lastActiveTool: import("../types").ActiveTool | null;
2279
2310
  locked: boolean;
2311
+ fromSelection: boolean;
2280
2312
  } & import("../types").ActiveTool;
2313
+ preferredSelectionTool: {
2314
+ type: "selection" | "lasso";
2315
+ initialized: boolean;
2316
+ };
2281
2317
  penMode: boolean;
2282
2318
  penDetected: boolean;
2283
2319
  exportBackground: boolean;
@@ -2309,8 +2345,8 @@ export declare const actionChangeRoundness: {
2309
2345
  zoom: Readonly<{
2310
2346
  value: import("../types").NormalizedZoomValue;
2311
2347
  }>;
2312
- openMenu: "shape" | "canvas" | null;
2313
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2348
+ openMenu: "canvas" | null;
2349
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2314
2350
  openSidebar: {
2315
2351
  name: string;
2316
2352
  tab?: string | undefined;
@@ -2319,7 +2355,7 @@ export declare const actionChangeRoundness: {
2319
2355
  name: "imageExport" | "help" | "jsonExport";
2320
2356
  } | {
2321
2357
  name: "ttd";
2322
- tab: "text-to-diagram" | "mermaid";
2358
+ tab: "mermaid" | "text-to-diagram";
2323
2359
  } | {
2324
2360
  name: "commandPalette";
2325
2361
  } | {
@@ -2391,7 +2427,6 @@ export declare const actionChangeRoundness: {
2391
2427
  shown: true;
2392
2428
  data: import("../charts").Spreadsheet;
2393
2429
  };
2394
- pendingImageElementId: string | null;
2395
2430
  showHyperlinkPopup: false | "editor" | "info";
2396
2431
  selectedLinearElement: LinearElementEditor | null;
2397
2432
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2404,20 +2439,19 @@ export declare const actionChangeRoundness: {
2404
2439
  followedBy: Set<import("../types").SocketId>;
2405
2440
  isCropping: boolean;
2406
2441
  croppingElementId: string | null;
2407
- searchMatches: readonly {
2408
- id: string;
2409
- focus: boolean;
2410
- matchedLines: {
2411
- offsetX: number;
2412
- offsetY: number;
2413
- width: number;
2414
- height: number;
2415
- }[];
2416
- }[];
2442
+ searchMatches: Readonly<{
2443
+ focusedId: string | null;
2444
+ matches: readonly import("../types").SearchMatch[];
2445
+ }> | null;
2446
+ activeLockedId: string | null;
2447
+ lockedMultiSelections: {
2448
+ [groupId: string]: true;
2449
+ };
2450
+ stylesPanelMode: "compact" | "full" | "mobile";
2417
2451
  };
2418
2452
  captureUpdate: "IMMEDIATELY";
2419
2453
  };
2420
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2454
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2421
2455
  } & {
2422
2456
  keyTest?: undefined;
2423
2457
  };
@@ -2441,7 +2475,7 @@ export declare const actionChangeArrowhead: {
2441
2475
  errorMessage: import("react").ReactNode;
2442
2476
  activeEmbeddable: {
2443
2477
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2444
- state: "hover" | "active";
2478
+ state: "active" | "hover";
2445
2479
  } | null;
2446
2480
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2447
2481
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2449,7 +2483,7 @@ export declare const actionChangeArrowhead: {
2449
2483
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2450
2484
  isBindingEnabled: boolean;
2451
2485
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2452
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2486
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2453
2487
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2454
2488
  frameRendering: {
2455
2489
  enabled: boolean;
@@ -2460,11 +2494,15 @@ export declare const actionChangeArrowhead: {
2460
2494
  editingFrame: string | null;
2461
2495
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2462
2496
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2463
- editingLinearElement: LinearElementEditor | null;
2464
2497
  activeTool: {
2465
2498
  lastActiveTool: import("../types").ActiveTool | null;
2466
2499
  locked: boolean;
2500
+ fromSelection: boolean;
2467
2501
  } & import("../types").ActiveTool;
2502
+ preferredSelectionTool: {
2503
+ type: "selection" | "lasso";
2504
+ initialized: boolean;
2505
+ };
2468
2506
  penMode: boolean;
2469
2507
  penDetected: boolean;
2470
2508
  exportBackground: boolean;
@@ -2497,8 +2535,8 @@ export declare const actionChangeArrowhead: {
2497
2535
  zoom: Readonly<{
2498
2536
  value: import("../types").NormalizedZoomValue;
2499
2537
  }>;
2500
- openMenu: "shape" | "canvas" | null;
2501
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2538
+ openMenu: "canvas" | null;
2539
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2502
2540
  openSidebar: {
2503
2541
  name: string;
2504
2542
  tab?: string | undefined;
@@ -2507,7 +2545,7 @@ export declare const actionChangeArrowhead: {
2507
2545
  name: "imageExport" | "help" | "jsonExport";
2508
2546
  } | {
2509
2547
  name: "ttd";
2510
- tab: "text-to-diagram" | "mermaid";
2548
+ tab: "mermaid" | "text-to-diagram";
2511
2549
  } | {
2512
2550
  name: "commandPalette";
2513
2551
  } | {
@@ -2579,7 +2617,6 @@ export declare const actionChangeArrowhead: {
2579
2617
  shown: true;
2580
2618
  data: import("../charts").Spreadsheet;
2581
2619
  };
2582
- pendingImageElementId: string | null;
2583
2620
  showHyperlinkPopup: false | "editor" | "info";
2584
2621
  selectedLinearElement: LinearElementEditor | null;
2585
2622
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2592,20 +2629,28 @@ export declare const actionChangeArrowhead: {
2592
2629
  followedBy: Set<import("../types").SocketId>;
2593
2630
  isCropping: boolean;
2594
2631
  croppingElementId: string | null;
2595
- searchMatches: readonly {
2596
- id: string;
2597
- focus: boolean;
2598
- matchedLines: {
2599
- offsetX: number;
2600
- offsetY: number;
2601
- width: number;
2602
- height: number;
2603
- }[];
2604
- }[];
2632
+ searchMatches: Readonly<{
2633
+ focusedId: string | null;
2634
+ matches: readonly import("../types").SearchMatch[];
2635
+ }> | null;
2636
+ activeLockedId: string | null;
2637
+ lockedMultiSelections: {
2638
+ [groupId: string]: true;
2639
+ };
2640
+ stylesPanelMode: "compact" | "full" | "mobile";
2605
2641
  };
2606
2642
  captureUpdate: "IMMEDIATELY";
2607
2643
  };
2608
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2644
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2645
+ } & {
2646
+ keyTest?: undefined;
2647
+ };
2648
+ export declare const actionChangeArrowProperties: {
2649
+ name: "changeArrowProperties";
2650
+ label: string;
2651
+ trackEvent: false;
2652
+ perform: (elements: readonly import("@excalidraw/element/types").OrderedExcalidrawElement[], appState: Readonly<AppState>, value: any, app: AppClassProperties) => false;
2653
+ PanelComponent: ({ elements, appState, updateData, app, renderAction }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2609
2654
  } & {
2610
2655
  keyTest?: undefined;
2611
2656
  };
@@ -2627,7 +2672,7 @@ export declare const actionChangeArrowType: {
2627
2672
  errorMessage: import("react").ReactNode;
2628
2673
  activeEmbeddable: {
2629
2674
  element: import("@excalidraw/element/types").NonDeletedExcalidrawElement;
2630
- state: "hover" | "active";
2675
+ state: "active" | "hover";
2631
2676
  } | null;
2632
2677
  newElement: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawNonSelectionElement> | null;
2633
2678
  resizingElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
@@ -2635,7 +2680,7 @@ export declare const actionChangeArrowType: {
2635
2680
  selectionElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2636
2681
  isBindingEnabled: boolean;
2637
2682
  startBoundElement: import("@excalidraw/element/types").NonDeleted<ExcalidrawBindableElement> | null;
2638
- suggestedBindings: import("@excalidraw/element/binding").SuggestedBinding[];
2683
+ suggestedBindings: import("@excalidraw/element").SuggestedBinding[];
2639
2684
  frameToHighlight: import("@excalidraw/element/types").NonDeleted<import("@excalidraw/element/types").ExcalidrawFrameLikeElement> | null;
2640
2685
  frameRendering: {
2641
2686
  enabled: boolean;
@@ -2646,11 +2691,15 @@ export declare const actionChangeArrowType: {
2646
2691
  editingFrame: string | null;
2647
2692
  elementsToHighlight: import("@excalidraw/element/types").NonDeleted<ExcalidrawElement>[] | null;
2648
2693
  editingTextElement: import("@excalidraw/element/types").NonDeletedExcalidrawElement | null;
2649
- editingLinearElement: LinearElementEditor | null;
2650
2694
  activeTool: {
2651
2695
  lastActiveTool: import("../types").ActiveTool | null;
2652
2696
  locked: boolean;
2697
+ fromSelection: boolean;
2653
2698
  } & import("../types").ActiveTool;
2699
+ preferredSelectionTool: {
2700
+ type: "selection" | "lasso";
2701
+ initialized: boolean;
2702
+ };
2654
2703
  penMode: boolean;
2655
2704
  penDetected: boolean;
2656
2705
  exportBackground: boolean;
@@ -2682,8 +2731,8 @@ export declare const actionChangeArrowType: {
2682
2731
  zoom: Readonly<{
2683
2732
  value: import("../types").NormalizedZoomValue;
2684
2733
  }>;
2685
- openMenu: "shape" | "canvas" | null;
2686
- openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | null;
2734
+ openMenu: "canvas" | null;
2735
+ openPopup: "fontFamily" | "canvasBackground" | "elementBackground" | "elementStroke" | "compactTextProperties" | "compactStrokeStyles" | "compactOtherProperties" | "compactArrowProperties" | null;
2687
2736
  openSidebar: {
2688
2737
  name: string;
2689
2738
  tab?: string | undefined;
@@ -2692,7 +2741,7 @@ export declare const actionChangeArrowType: {
2692
2741
  name: "imageExport" | "help" | "jsonExport";
2693
2742
  } | {
2694
2743
  name: "ttd";
2695
- tab: "text-to-diagram" | "mermaid";
2744
+ tab: "mermaid" | "text-to-diagram";
2696
2745
  } | {
2697
2746
  name: "commandPalette";
2698
2747
  } | {
@@ -2764,7 +2813,6 @@ export declare const actionChangeArrowType: {
2764
2813
  shown: true;
2765
2814
  data: import("../charts").Spreadsheet;
2766
2815
  };
2767
- pendingImageElementId: string | null;
2768
2816
  showHyperlinkPopup: false | "editor" | "info";
2769
2817
  selectedLinearElement: LinearElementEditor | null;
2770
2818
  snapLines: readonly import("../snapping").SnapLine[];
@@ -2777,20 +2825,19 @@ export declare const actionChangeArrowType: {
2777
2825
  followedBy: Set<import("../types").SocketId>;
2778
2826
  isCropping: boolean;
2779
2827
  croppingElementId: string | null;
2780
- searchMatches: readonly {
2781
- id: string;
2782
- focus: boolean;
2783
- matchedLines: {
2784
- offsetX: number;
2785
- offsetY: number;
2786
- width: number;
2787
- height: number;
2788
- }[];
2789
- }[];
2828
+ searchMatches: Readonly<{
2829
+ focusedId: string | null;
2830
+ matches: readonly import("../types").SearchMatch[];
2831
+ }> | null;
2832
+ activeLockedId: string | null;
2833
+ lockedMultiSelections: {
2834
+ [groupId: string]: true;
2835
+ };
2836
+ stylesPanelMode: "compact" | "full" | "mobile";
2790
2837
  };
2791
2838
  captureUpdate: "IMMEDIATELY";
2792
2839
  };
2793
- PanelComponent: ({ elements, appState, updateData }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2840
+ PanelComponent: ({ elements, appState, updateData, app }: import("./types").PanelComponentProps) => import("react/jsx-runtime").JSX.Element;
2794
2841
  } & {
2795
2842
  keyTest?: undefined;
2796
2843
  };