@dwelle/excalidraw 0.6.0-rc.1 → 0.6.0-rc.2

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 (227) hide show
  1. package/README.md +3 -2
  2. package/dist/dev/{chunk-EFVS2MI5.js → chunk-LCPOPWNR.js} +2 -2
  3. package/dist/dev/{chunk-EFVS2MI5.js.map → chunk-LCPOPWNR.js.map} +1 -1
  4. package/dist/dev/chunk-NGUTX5QY.js +25914 -0
  5. package/dist/dev/chunk-NGUTX5QY.js.map +7 -0
  6. package/dist/dev/data/image-2IPPJHZ4.js +13 -0
  7. package/dist/dev/index.css.map +1 -1
  8. package/dist/dev/index.js +33216 -35
  9. package/dist/dev/index.js.map +4 -4
  10. package/dist/dev/subset-shared.chunk.js +1 -1
  11. package/dist/dev/subset-worker.chunk.js +1 -1
  12. package/dist/prod/{chunk-P7457GAF.js → chunk-BE2LY6VO.js} +1 -1
  13. package/dist/prod/chunk-R7OERAXD.js +46 -0
  14. package/dist/prod/data/image-DXJVNPGL.js +1 -0
  15. package/dist/prod/index.js +108 -1
  16. package/dist/prod/subset-shared.chunk.js +1 -1
  17. package/dist/prod/subset-worker.chunk.js +1 -1
  18. package/dist/types/excalidraw/actions/actionAlign.d.ts +12 -12
  19. package/dist/types/excalidraw/actions/actionCanvas.d.ts +18 -18
  20. package/dist/types/excalidraw/actions/actionClipboard.d.ts +4 -4
  21. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +2 -2
  23. package/dist/types/excalidraw/actions/actionDistribute.d.ts +2 -2
  24. package/dist/types/excalidraw/actions/actionDuplicateSelection.d.ts +2 -2
  25. package/dist/types/excalidraw/actions/actionElementLink.d.ts +2 -2
  26. package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  27. package/dist/types/excalidraw/actions/actionExport.d.ts +19 -19
  28. package/dist/types/excalidraw/actions/actionFinalize.d.ts +1 -1
  29. package/dist/types/excalidraw/actions/actionFlip.d.ts +2 -2
  30. package/dist/types/excalidraw/actions/actionFrame.d.ts +2 -2
  31. package/dist/types/excalidraw/actions/actionGroup.d.ts +4 -4
  32. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +1 -1
  33. package/dist/types/excalidraw/actions/actionLink.d.ts +2 -2
  34. package/dist/types/excalidraw/actions/actionMenu.d.ts +3 -3
  35. package/dist/types/excalidraw/actions/actionNavigate.d.ts +1 -1
  36. package/dist/types/excalidraw/actions/actionProperties.d.ts +16 -16
  37. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +1 -1
  38. package/dist/types/excalidraw/actions/actionStyles.d.ts +2 -2
  39. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  40. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  41. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  42. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  43. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  44. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +1 -1
  45. package/dist/types/excalidraw/actions/actionZindex.d.ts +10 -10
  46. package/dist/types/excalidraw/actions/manager.d.ts +1 -1
  47. package/dist/types/excalidraw/appState.d.ts +9 -9
  48. package/dist/types/excalidraw/clipboard.d.ts +4 -4
  49. package/dist/types/excalidraw/components/Actions.d.ts +6 -7
  50. package/dist/types/excalidraw/components/ActiveConfirmDialog.d.ts +1 -2
  51. package/dist/types/excalidraw/components/App.d.ts +1 -1
  52. package/dist/types/excalidraw/components/Avatar.d.ts +1 -1
  53. package/dist/types/excalidraw/components/BraveMeasureTextError.d.ts +1 -2
  54. package/dist/types/excalidraw/components/Button.d.ts +1 -1
  55. package/dist/types/excalidraw/components/ButtonIcon.d.ts +1 -1
  56. package/dist/types/excalidraw/components/ButtonIconCycle.d.ts +2 -2
  57. package/dist/types/excalidraw/components/ButtonIconSelect.d.ts +2 -2
  58. package/dist/types/excalidraw/components/ButtonSelect.d.ts +1 -2
  59. package/dist/types/excalidraw/components/ButtonSeparator.d.ts +1 -2
  60. package/dist/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -2
  61. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -2
  62. package/dist/types/excalidraw/components/ColorPicker/CustomColorList.d.ts +1 -2
  63. package/dist/types/excalidraw/components/ColorPicker/HotkeyLabel.d.ts +1 -2
  64. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +1 -1
  65. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -2
  66. package/dist/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
  67. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -2
  68. package/dist/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -2
  69. package/dist/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -2
  70. package/dist/types/excalidraw/components/ConfirmDialog.d.ts +1 -2
  71. package/dist/types/excalidraw/components/ContextMenu.d.ts +1 -1
  72. package/dist/types/excalidraw/components/DarkModeToggle.d.ts +1 -2
  73. package/dist/types/excalidraw/components/DefaultSidebar.d.ts +1 -1
  74. package/dist/types/excalidraw/components/Dialog.d.ts +1 -1
  75. package/dist/types/excalidraw/components/DialogActionButton.d.ts +1 -1
  76. package/dist/types/excalidraw/components/ElementLinkDialog.d.ts +1 -2
  77. package/dist/types/excalidraw/components/ErrorDialog.d.ts +1 -1
  78. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  79. package/dist/types/excalidraw/components/FixedSideContainer.d.ts +1 -1
  80. package/dist/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -2
  81. package/dist/types/excalidraw/components/FontPicker/FontPicker.d.ts +2 -2
  82. package/dist/types/excalidraw/components/FontPicker/FontPickerList.d.ts +2 -1
  83. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +1 -2
  84. package/dist/types/excalidraw/components/FontPicker/keyboardNavHandlers.d.ts +1 -1
  85. package/dist/types/excalidraw/components/HandButton.d.ts +1 -2
  86. package/dist/types/excalidraw/components/HelpButton.d.ts +1 -2
  87. package/dist/types/excalidraw/components/HelpDialog.d.ts +1 -2
  88. package/dist/types/excalidraw/components/HintViewer.d.ts +1 -2
  89. package/dist/types/excalidraw/components/IconPicker.d.ts +2 -2
  90. package/dist/types/excalidraw/components/ImageExportDialog.d.ts +2 -3
  91. package/dist/types/excalidraw/components/InitializeApp.d.ts +1 -1
  92. package/dist/types/excalidraw/components/InlineIcon.d.ts +1 -2
  93. package/dist/types/excalidraw/components/JSONExportDialog.d.ts +1 -1
  94. package/dist/types/excalidraw/components/LaserPointerButton.d.ts +1 -2
  95. package/dist/types/excalidraw/components/LayerUI.d.ts +1 -1
  96. package/dist/types/excalidraw/components/LibraryMenu.d.ts +1 -1
  97. package/dist/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -2
  98. package/dist/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -2
  99. package/dist/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +1 -1
  100. package/dist/types/excalidraw/components/LibraryMenuItems.d.ts +1 -2
  101. package/dist/types/excalidraw/components/LibraryMenuSection.d.ts +2 -2
  102. package/dist/types/excalidraw/components/LibraryUnit.d.ts +2 -2
  103. package/dist/types/excalidraw/components/LockButton.d.ts +1 -2
  104. package/dist/types/excalidraw/components/MagicButton.d.ts +2 -2
  105. package/dist/types/excalidraw/components/MobileMenu.d.ts +2 -1
  106. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirm.d.ts +4 -4
  107. package/dist/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmActions.d.ts +6 -6
  108. package/dist/types/excalidraw/components/Paragraph.d.ts +1 -2
  109. package/dist/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
  110. package/dist/types/excalidraw/components/PenModeButton.d.ts +1 -2
  111. package/dist/types/excalidraw/components/Popover.d.ts +1 -1
  112. package/dist/types/excalidraw/components/ProjectName.d.ts +1 -2
  113. package/dist/types/excalidraw/components/PublishLibrary.d.ts +1 -2
  114. package/dist/types/excalidraw/components/RadioGroup.d.ts +1 -1
  115. package/dist/types/excalidraw/components/Range.d.ts +1 -2
  116. package/dist/types/excalidraw/components/SVGLayer.d.ts +1 -2
  117. package/dist/types/excalidraw/components/ScrollableList.d.ts +1 -1
  118. package/dist/types/excalidraw/components/SearchMenu.d.ts +1 -2
  119. package/dist/types/excalidraw/components/ShareableLinkDialog.d.ts +1 -2
  120. package/dist/types/excalidraw/components/Sidebar/Sidebar.d.ts +6 -6
  121. package/dist/types/excalidraw/components/Sidebar/SidebarHeader.d.ts +1 -2
  122. package/dist/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
  123. package/dist/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
  124. package/dist/types/excalidraw/components/Sidebar/SidebarTabTriggers.d.ts +1 -1
  125. package/dist/types/excalidraw/components/Sidebar/SidebarTabs.d.ts +1 -1
  126. package/dist/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -2
  127. package/dist/types/excalidraw/components/Sidebar/common.d.ts +1 -0
  128. package/dist/types/excalidraw/components/Spinner.d.ts +1 -2
  129. package/dist/types/excalidraw/components/Stack.d.ts +2 -3
  130. package/dist/types/excalidraw/components/Stats/Angle.d.ts +1 -2
  131. package/dist/types/excalidraw/components/Stats/CanvasGrid.d.ts +1 -1
  132. package/dist/types/excalidraw/components/Stats/Collapsible.d.ts +1 -1
  133. package/dist/types/excalidraw/components/Stats/Dimension.d.ts +1 -2
  134. package/dist/types/excalidraw/components/Stats/DragInput.d.ts +1 -1
  135. package/dist/types/excalidraw/components/Stats/FontSize.d.ts +1 -2
  136. package/dist/types/excalidraw/components/Stats/MultiAngle.d.ts +1 -2
  137. package/dist/types/excalidraw/components/Stats/MultiDimension.d.ts +1 -2
  138. package/dist/types/excalidraw/components/Stats/MultiFontSize.d.ts +1 -2
  139. package/dist/types/excalidraw/components/Stats/MultiPosition.d.ts +1 -2
  140. package/dist/types/excalidraw/components/Stats/Position.d.ts +1 -2
  141. package/dist/types/excalidraw/components/Stats/index.d.ts +4 -4
  142. package/dist/types/excalidraw/components/Switch.d.ts +1 -2
  143. package/dist/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +1 -2
  144. package/dist/types/excalidraw/components/TTDDialog/TTDDialog.d.ts +1 -1
  145. package/dist/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
  146. package/dist/types/excalidraw/components/TTDDialog/TTDDialogOutput.d.ts +2 -2
  147. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
  148. package/dist/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
  149. package/dist/types/excalidraw/components/TTDDialog/TTDDialogSubmitShortcut.d.ts +1 -2
  150. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTab.d.ts +1 -1
  151. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTrigger.d.ts +1 -1
  152. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabTriggers.d.ts +1 -1
  153. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
  154. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +2 -1
  155. package/dist/types/excalidraw/components/TTDDialog/common.d.ts +1 -1
  156. package/dist/types/excalidraw/components/Toast.d.ts +1 -1
  157. package/dist/types/excalidraw/components/Tooltip.d.ts +1 -1
  158. package/dist/types/excalidraw/components/UserList.d.ts +1 -1
  159. package/dist/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -2
  160. package/dist/types/excalidraw/components/canvases/NewElementCanvas.d.ts +1 -2
  161. package/dist/types/excalidraw/components/canvases/StaticCanvas.d.ts +1 -1
  162. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +11 -11
  163. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +1 -1
  164. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuGroup.d.ts +1 -1
  165. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItem.d.ts +4 -3
  166. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContent.d.ts +2 -2
  167. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +1 -1
  168. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemCustom.d.ts +1 -1
  169. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuItemLink.d.ts +2 -1
  170. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuSeparator.d.ts +1 -2
  171. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  172. package/dist/types/excalidraw/components/dropdownMenu/dropdownMenuUtils.d.ts +2 -2
  173. package/dist/types/excalidraw/components/footer/Footer.d.ts +1 -2
  174. package/dist/types/excalidraw/components/footer/FooterCenter.d.ts +1 -2
  175. package/dist/types/excalidraw/components/hyperlink/Hyperlink.d.ts +1 -2
  176. package/dist/types/excalidraw/components/icons.d.ts +178 -178
  177. package/dist/types/excalidraw/components/live-collaboration/LiveCollaborationTrigger.d.ts +1 -1
  178. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -13
  179. package/dist/types/excalidraw/components/main-menu/MainMenu.d.ts +9 -9
  180. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Center.d.ts +10 -10
  181. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.Hints.d.ts +3 -4
  182. package/dist/types/excalidraw/components/welcome-screen/WelcomeScreen.d.ts +15 -15
  183. package/dist/types/excalidraw/constants.d.ts +1 -0
  184. package/dist/types/excalidraw/data/blob.d.ts +1 -1
  185. package/dist/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -2
  186. package/dist/types/excalidraw/element/binding.d.ts +1 -2
  187. package/dist/types/excalidraw/element/collision.d.ts +10 -1
  188. package/dist/types/excalidraw/element/distance.d.ts +3 -0
  189. package/dist/types/excalidraw/element/newElement.d.ts +1 -1
  190. package/dist/types/excalidraw/element/transformHandles.d.ts +2 -2
  191. package/dist/types/excalidraw/element/types.d.ts +1 -1
  192. package/dist/types/excalidraw/element/utils.d.ts +21 -0
  193. package/dist/types/excalidraw/fonts/FontMetadata.d.ts +1 -1
  194. package/dist/types/excalidraw/hooks/useOutsideClick.d.ts +1 -1
  195. package/dist/types/excalidraw/hooks/useScrollPosition.d.ts +1 -1
  196. package/dist/types/excalidraw/index.d.ts +1 -3
  197. package/dist/types/excalidraw/shapes.d.ts +11 -12
  198. package/dist/types/excalidraw/types.d.ts +1 -0
  199. package/dist/types/excalidraw/utils.d.ts +3 -3
  200. package/dist/types/excalidraw/visualdebug.d.ts +7 -8
  201. package/dist/types/excalidraw/zindex.d.ts +2 -2
  202. package/dist/types/math/curve.d.ts +22 -14
  203. package/dist/types/math/ellipse.d.ts +44 -0
  204. package/dist/types/math/index.d.ts +1 -1
  205. package/dist/types/math/line.d.ts +2 -30
  206. package/dist/types/math/point.d.ts +1 -29
  207. package/dist/types/math/rectangle.d.ts +3 -0
  208. package/dist/types/math/segment.d.ts +8 -1
  209. package/dist/types/math/types.d.ts +15 -6
  210. package/dist/types/math/vector.d.ts +0 -4
  211. package/dist/types/utils/export.d.ts +1 -1
  212. package/package.json +5 -5
  213. package/dist/dev/chunk-637CAVTS.js +0 -57639
  214. package/dist/dev/chunk-637CAVTS.js.map +0 -7
  215. package/dist/dev/data/image-N6Y7BWW6.css +0 -6753
  216. package/dist/dev/data/image-N6Y7BWW6.css.map +0 -7
  217. package/dist/dev/data/image-QMQX6YR5.js +0 -15
  218. package/dist/prod/chunk-PEDHHNBJ.js +0 -153
  219. package/dist/prod/data/image-IP6M4LZC.js +0 -1
  220. package/dist/prod/data/image-KGQIL6Y4.css +0 -1
  221. package/dist/types/math/arc.d.ts +0 -6
  222. package/dist/types/math/ga/ga.d.ts +0 -63
  223. package/dist/types/math/ga/gadirections.d.ts +0 -8
  224. package/dist/types/math/ga/galines.d.ts +0 -22
  225. package/dist/types/math/ga/gapoints.d.ts +0 -7
  226. package/dist/types/math/ga/gatransforms.d.ts +0 -10
  227. /package/dist/dev/data/{image-QMQX6YR5.js.map → image-2IPPJHZ4.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  subsetToBinary,
5
5
  toBase64
6
6
  } from "./chunk-OKSO7T74.js";
7
- import "./chunk-EFVS2MI5.js";
7
+ import "./chunk-LCPOPWNR.js";
8
8
  import "./chunk-XDFCUUT6.js";
9
9
  export {
10
10
  Commands,
@@ -2,7 +2,7 @@ import {
2
2
  Commands,
3
3
  subsetToBinary
4
4
  } from "./chunk-OKSO7T74.js";
5
- import "./chunk-EFVS2MI5.js";
5
+ import "./chunk-LCPOPWNR.js";
6
6
  import "./chunk-XDFCUUT6.js";
7
7
 
8
8
  // subset/subset-worker.chunk.ts
@@ -4,4 +4,4 @@ kPOPxhz+nxUrIoWCD/V4NGmUA1lxwHuO21HN1gzKrN3xHg5EGjyouR9vibT9VDGF
4
4
  gq6+4Ic/kJX+AD2MM7Yre2+FsOdysrmuW2Fu3ahuC1uQE7pOe1j0k7auNP0y1q53
5
5
  PrB8Ts2LUpepWC1l7zIXFm4ViDULuyWXTEpUcHSsEH8vpd1tckjypxCwkipfZsXx
6
6
  iPszy0o0Dx2iArPfWMXlFAI9mvyFCyFC3+nSvfyAUb2C4uZgCwAuyFh/ydPF4DEE
7
- PQIDAQAB`,VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX:"false",VITE_APP_COLLAPSE_OVERLAY:"false",VITE_APP_ENABLE_ESLINT:"false",VITE_PKG_NAME:"@dwelle/excalidraw",VITE_PKG_VERSION:"0.6.0",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0,PROD:!0};export{c as a};
7
+ PQIDAQAB`,VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX:"false",VITE_APP_COLLAPSE_OVERLAY:"false",VITE_APP_ENABLE_ESLINT:"false",VITE_PKG_NAME:"@dwelle/excalidraw",VITE_PKG_VERSION:"0.6.0-rc.2",VITE_IS_EXCALIDRAW_NPM_PACKAGE:!0,PROD:!0};export{c as a};