@dwelle/excalidraw 0.3.35 → 0.3.36
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 +2 -0
- package/README_NEXT.md +1 -0
- package/dist/excalidraw-assets-dev/{image-f696fa36e3535df5e97a.js → image-8825d180ee32659f8996.js} +0 -0
- package/dist/excalidraw.development.js +25 -25
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +7 -7
- package/types/actions/actionAddToLibrary.d.ts +268 -1
- package/types/actions/actionAlign.d.ts +73 -6
- package/types/actions/actionCanvas.d.ts +673 -8
- package/types/actions/actionClipboard.d.ts +493 -4
- package/types/actions/actionDeleteSelected.d.ts +292 -1
- package/types/actions/actionDistribute.d.ts +27 -2
- package/types/actions/actionDuplicateSelection.d.ts +19 -1
- package/types/actions/actionExport.d.ts +849 -8
- package/types/actions/actionFinalize.d.ts +186 -1
- package/types/actions/actionFlip.d.ts +29 -2
- package/types/actions/actionGroup.d.ts +39 -2
- package/types/actions/actionMenu.d.ts +293 -4
- package/types/actions/actionNavigate.d.ts +11 -1
- package/types/actions/actionProperties.d.ts +1160 -12
- package/types/actions/actionSelectAll.d.ts +12 -1
- package/types/actions/actionStyles.d.ts +110 -2
- package/types/actions/actionToggleGridMode.d.ts +98 -1
- package/types/actions/actionToggleStats.d.ts +97 -1
- package/types/actions/actionToggleViewMode.d.ts +97 -1
- package/types/actions/actionToggleZenMode.d.ts +97 -1
- package/types/actions/actionZindex.d.ts +55 -4
- package/types/actions/register.d.ts +3 -1
- package/types/actions/types.d.ts +1 -1
- package/types/components/App.d.ts +1 -0
- package/types/components/Popover.d.ts +5 -1
- package/types/constants.d.ts +0 -3
- package/types/element/newElement.d.ts +1 -1
- package/types/element/textElement.d.ts +3 -0
- package/types/element/textWysiwyg.d.ts +5 -3
- package/types/keys.d.ts +4 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-8825d180ee32659f8996.d.ts +0 -0
- package/types/shapes.d.ts +1 -1
- package/types/types.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -19,6 +19,8 @@ Please add the latest change on the top under the correct section.
|
|
|
19
19
|
|
|
20
20
|
### Features
|
|
21
21
|
|
|
22
|
+
- Support updating library using [`updateScene`](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#updateScene) API [#4546](https://github.com/excalidraw/excalidraw/pull/4546).
|
|
23
|
+
|
|
22
24
|
- Introduced primary colors to the app. The colors can be overriden. Check [readme](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#customizing-styles) on how to do so.
|
|
23
25
|
|
|
24
26
|
- #### BREAKING CHANGE
|
package/README_NEXT.md
CHANGED
|
@@ -509,6 +509,7 @@ You can use this function to update the scene with the sceneData. It accepts the
|
|
|
509
509
|
| `appState` | [`ImportedDataState["appState"]`](https://github.com/excalidraw/excalidraw/blob/master/src/data/types.ts#L18) | The `appState` to be updated in the scene. |
|
|
510
510
|
| `collaborators` | <pre>Map<string, <a href="https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L29">Collaborator></a></pre> | The list of collaborators to be updated in the scene. |
|
|
511
511
|
| `commitToHistory` | `boolean` | Implies if the `history (undo/redo)` should be recorded. Defaults to `false`. |
|
|
512
|
+
| `libraryItems` | [LibraryItems](https://github.com/excalidraw/excalidraw/blob/master/src/types.ts#L258) | The `libraryItems` to be update in the scene. |
|
|
512
513
|
|
|
513
514
|
### `addFiles`
|
|
514
515
|
|
package/dist/excalidraw-assets-dev/{image-f696fa36e3535df5e97a.js → image-8825d180ee32659f8996.js}
RENAMED
|
File without changes
|