@dwelle/excalidraw 0.3.55 → 0.3.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/excalidraw-assets-dev/{image-73be8b3c1837ea26950c.js → image-eddc6ed66acd3a3f3d46.js} +0 -0
- package/dist/excalidraw.development.js +23 -23
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +2 -2
- package/types/actions/actionAddToLibrary.d.ts +9 -3
- package/types/actions/actionBoundText.d.ts +3 -1
- package/types/actions/actionCanvas.d.ts +24 -8
- package/types/actions/actionClipboard.d.ts +15 -5
- package/types/actions/actionDeleteSelected.d.ts +9 -3
- package/types/actions/actionExport.d.ts +27 -9
- package/types/actions/actionFinalize.d.ts +6 -2
- package/types/actions/actionMenu.d.ts +9 -3
- package/types/actions/actionProperties.d.ts +39 -13
- package/types/actions/actionStyles.d.ts +3 -1
- package/types/actions/actionToggleGridMode.d.ts +3 -1
- package/types/actions/actionToggleStats.d.ts +3 -1
- package/types/actions/actionToggleViewMode.d.ts +3 -1
- package/types/actions/actionToggleZenMode.d.ts +3 -1
- package/types/appState.d.ts +7 -3
- package/types/components/Actions.d.ts +4 -4
- package/types/components/App.d.ts +2 -1
- package/types/components/ToolButton.d.ts +3 -0
- package/types/constants.d.ts +1 -0
- package/types/data/restore.d.ts +1 -1
- package/types/element/Hyperlink.d.ts +3 -1
- package/types/element/dragElements.d.ts +1 -1
- package/types/element/linearElementEditor.d.ts +3 -1
- package/types/element/sizeHelpers.d.ts +2 -1
- package/types/element/typeChecks.d.ts +2 -2
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-eddc6ed66acd3a3f3d46.d.ts +0 -0
- package/types/types.d.ts +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,18 @@ The change should be grouped under one of the below section and must contain PR
|
|
|
11
11
|
Please add the latest change on the top under the correct section.
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## Unreleased
|
|
15
|
+
|
|
16
|
+
### Excalidraw API
|
|
17
|
+
|
|
18
|
+
#### Refactor
|
|
19
|
+
|
|
20
|
+
- Rename `appState.elementType` to [`appState.activeTool`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L80) which is now an object.
|
|
21
|
+
|
|
22
|
+
##### BREAKING CHANGE
|
|
23
|
+
|
|
24
|
+
You will need to pass `activeTool` instead of `elementType` from now onwards in `appState`
|
|
25
|
+
|
|
14
26
|
## 0.11.0 (2022-02-17)
|
|
15
27
|
|
|
16
28
|
## Excalidraw API
|
package/dist/excalidraw-assets-dev/{image-73be8b3c1837ea26950c.js → image-eddc6ed66acd3a3f3d46.js}
RENAMED
|
File without changes
|