@excalidraw/element 0.18.0-835eb8d → 0.18.0-8608d7b

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 (49) hide show
  1. package/dist/dev/index.js +1 -1
  2. package/dist/dev/index.js.map +2 -2
  3. package/dist/prod/index.js +1 -1
  4. package/dist/types/common/src/constants.d.ts +3 -0
  5. package/dist/types/excalidraw/actions/actionAddToLibrary.d.ts +15 -3
  6. package/dist/types/excalidraw/actions/actionBoundText.d.ts +10 -2
  7. package/dist/types/excalidraw/actions/actionCanvas.d.ts +65 -13
  8. package/dist/types/excalidraw/actions/actionClipboard.d.ts +30 -6
  9. package/dist/types/excalidraw/actions/actionCropEditor.d.ts +5 -1
  10. package/dist/types/excalidraw/actions/actionDeleteSelected.d.ts +15 -3
  11. package/dist/types/excalidraw/actions/actionElementLink.d.ts +5 -1
  12. package/dist/types/excalidraw/actions/actionElementLock.d.ts +10 -2
  13. package/dist/types/excalidraw/actions/actionEmbeddable.d.ts +5 -1
  14. package/dist/types/excalidraw/actions/actionExport.d.ts +45 -9
  15. package/dist/types/excalidraw/actions/actionFinalize.d.ts +10 -2
  16. package/dist/types/excalidraw/actions/actionFrame.d.ts +20 -4
  17. package/dist/types/excalidraw/actions/actionGroup.d.ts +10 -2
  18. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +5 -1
  19. package/dist/types/excalidraw/actions/actionLink.d.ts +5 -1
  20. package/dist/types/excalidraw/actions/actionMenu.d.ts +15 -3
  21. package/dist/types/excalidraw/actions/actionNavigate.d.ts +10 -2
  22. package/dist/types/excalidraw/actions/actionProperties.d.ts +76 -16
  23. package/dist/types/excalidraw/actions/actionSelectAll.d.ts +5 -1
  24. package/dist/types/excalidraw/actions/actionStyles.d.ts +5 -1
  25. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +5 -1
  26. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +5 -1
  27. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +5 -1
  28. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +5 -1
  29. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +5 -1
  30. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +5 -1
  31. package/dist/types/excalidraw/appState.d.ts +4 -1
  32. package/dist/types/excalidraw/components/Actions.d.ts +9 -2
  33. package/dist/types/excalidraw/components/App.d.ts +8 -3
  34. package/dist/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +1 -1
  35. package/dist/types/excalidraw/components/ColorPicker/Picker.d.ts +2 -0
  36. package/dist/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +2 -1
  37. package/dist/types/excalidraw/components/ColorPicker/ShadeList.d.ts +2 -1
  38. package/dist/types/excalidraw/components/ExcalidrawLogo.d.ts +1 -1
  39. package/dist/types/excalidraw/components/FontPicker/FontPickerTrigger.d.ts +2 -1
  40. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  41. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -5
  42. package/dist/types/excalidraw/components/MobileToolBar.d.ts +11 -0
  43. package/dist/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -2
  44. package/dist/types/excalidraw/components/ToolPopover.d.ts +25 -0
  45. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenu.d.ts +4 -2
  46. package/dist/types/excalidraw/components/dropdownMenu/DropdownMenuContent.d.ts +2 -1
  47. package/dist/types/excalidraw/components/icons.d.ts +0 -1
  48. package/dist/types/excalidraw/types.d.ts +7 -2
  49. package/package.json +3 -3
package/dist/dev/index.js CHANGED
@@ -11310,7 +11310,7 @@ function getSvgPathFromStroke(points) {
11310
11310
  // src/comparisons.ts
11311
11311
  init_define_import_meta_env();
11312
11312
  var hasBackground = (type) => type === "rectangle" || type === "iframe" || type === "embeddable" || type === "ellipse" || type === "diamond" || type === "line" || type === "freedraw";
11313
- var hasStrokeColor = (type) => type !== "image" && type !== "frame" && type !== "magicframe";
11313
+ var hasStrokeColor = (type) => type === "rectangle" || type === "ellipse" || type === "diamond" || type === "freedraw" || type === "arrow" || type === "line" || type === "text";
11314
11314
  var hasStrokeWidth = (type) => type === "rectangle" || type === "iframe" || type === "embeddable" || type === "ellipse" || type === "diamond" || type === "freedraw" || type === "arrow" || type === "line";
11315
11315
  var hasStrokeStyle = (type) => type === "rectangle" || type === "iframe" || type === "embeddable" || type === "ellipse" || type === "diamond" || type === "arrow" || type === "line";
11316
11316
  var canChangeRoundness = (type) => type === "rectangle" || type === "iframe" || type === "embeddable" || type === "line" || type === "diamond" || type === "image";