@dwelle/excalidraw 0.3.56 → 0.3.57
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 +7 -1
- package/dist/excalidraw.development.js +41 -41
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +1 -1
- package/types/actions/actionAddToLibrary.d.ts +9 -3
- package/types/actions/actionAlign.d.ts +18 -0
- package/types/actions/actionBoundText.d.ts +8 -1
- package/types/actions/actionCanvas.d.ts +44 -11
- package/types/actions/actionClipboard.d.ts +22 -5
- package/types/actions/actionDeleteSelected.d.ts +10 -3
- package/types/actions/actionDistribute.d.ts +6 -0
- package/types/actions/actionDuplicateSelection.d.ts +3 -0
- package/types/actions/actionExport.d.ts +44 -9
- package/types/actions/actionFinalize.d.ts +5 -2
- package/types/actions/actionFlip.d.ts +6 -0
- package/types/actions/actionGroup.d.ts +6 -0
- package/types/actions/actionMenu.d.ts +20 -3
- package/types/actions/actionNavigate.d.ts +3 -0
- package/types/actions/actionProperties.d.ts +43 -13
- package/types/actions/actionSelectAll.d.ts +3 -0
- package/types/actions/actionStyles.d.ts +8 -1
- package/types/actions/actionToggleGridMode.d.ts +6 -1
- package/types/actions/actionToggleStats.d.ts +5 -1
- package/types/actions/actionToggleViewMode.d.ts +6 -1
- package/types/actions/actionToggleZenMode.d.ts +6 -1
- package/types/actions/actionZindex.d.ts +12 -0
- package/types/actions/manager.d.ts +3 -3
- package/types/actions/types.d.ts +6 -8
- package/types/appState.d.ts +2 -1
- package/types/components/App.d.ts +1 -1
- package/types/components/ImageExportDialog.d.ts +2 -2
- package/types/components/JSONExportDialog.d.ts +2 -2
- package/types/element/Hyperlink.d.ts +6 -2
- package/types/element/linearElementEditor.d.ts +2 -1
- package/types/scene/Scene.d.ts +1 -1
- package/types/types.d.ts +3 -1
- package/types/utils.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -17,7 +17,13 @@ Please add the latest change on the top under the correct section.
|
|
|
17
17
|
|
|
18
18
|
#### Refactor
|
|
19
19
|
|
|
20
|
-
- Rename `appState.
|
|
20
|
+
- Rename `appState.elementLocked` to `appState.activeTool.locked` [#4983](https://github.com/excalidraw/excalidraw/pull/4983).
|
|
21
|
+
|
|
22
|
+
##### BREAKING CHANGE
|
|
23
|
+
|
|
24
|
+
You will need to pass `activeTool.locked` instead of `elementType` from now onwards in `appState`.
|
|
25
|
+
|
|
26
|
+
- Rename `appState.elementType` to [`appState.activeTool`](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L80) which is now an object [#4698](https://github.com/excalidraw/excalidraw/pull/4968).
|
|
21
27
|
|
|
22
28
|
##### BREAKING CHANGE
|
|
23
29
|
|