@dwelle/excalidraw 0.3.31 → 0.3.35
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 -0
- package/README_NEXT.md +18 -0
- package/dist/excalidraw-assets-dev/{image-e50a452aa26d28419e39.js → image-f696fa36e3535df5e97a.js} +0 -0
- package/dist/excalidraw.development.js +25 -25
- package/dist/excalidraw.production.min.js +1 -1
- package/package.json +11 -8
- package/types/align.d.ts +0 -1
- package/types/constants.d.ts +1 -1
- package/types/disitrubte.d.ts +0 -1
- package/types/element/bounds.d.ts +4 -0
- package/types/element/dragElements.d.ts +2 -2
- package/types/element/textElement.d.ts +4 -4
- package/types/groups.d.ts +1 -0
- package/types/packages/excalidraw/dist/excalidraw-assets-dev/image-f696fa36e3535df5e97a.d.ts +0 -0
- package/types/packages/excalidraw/example/App.d.ts +1 -0
- package/types/packages/excalidraw/example/index.d.ts +1 -0
- package/types/packages/excalidraw/example/initialData.d.ts +138 -0
- package/types/packages/excalidraw/example/sidebar/Sidebar.d.ts +1 -0
- package/types/packages/excalidraw/webpack.dev-server.config.d.ts +19 -0
- package/types/scene/comparisons.d.ts +1 -1
- package/types/utils.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -64,8 +64,15 @@ Please add the latest change on the top under the correct section.
|
|
|
64
64
|
|
|
65
65
|
The `Appearance` type is now removed and renamed to `Theme` so `Theme` type needs to be used.
|
|
66
66
|
|
|
67
|
+
### Fixes
|
|
68
|
+
|
|
69
|
+
- Panning the canvas using `mousewheel-drag` and `space-drag` now prevents the browser from scrolling the container/page [#4489](https://github.com/excalidraw/excalidraw/pull/4489).
|
|
70
|
+
- Scope drag and drop events to Excalidraw container to prevent overriding host application drag and drop events.
|
|
71
|
+
|
|
67
72
|
### Build
|
|
68
73
|
|
|
74
|
+
- Added an example to test and develop the package [locally](https://github.com/excalidraw/excalidraw/blob/master/src/packages/excalidraw/README.md#Development) using `yarn start`
|
|
75
|
+
|
|
69
76
|
- Remove `file-loader` so font assets are not duplicated by webpack and use webpack asset modules for font generation [#4380](https://github.com/excalidraw/excalidraw/pull/4380)
|
|
70
77
|
|
|
71
78
|
- We're now compiling to `es2017` target. Notably, `async/await` is not compiled down to generators. [#4341](https://github.com/excalidraw/excalidraw/pull/4341)
|
package/README_NEXT.md
CHANGED
|
@@ -1008,3 +1008,21 @@ Defaults to `THEME.LIGHT` unless passed in `initialData.appState.theme`
|
|
|
1008
1008
|
## Need help?
|
|
1009
1009
|
|
|
1010
1010
|
Check out the existing [Q&A](https://github.com/excalidraw/excalidraw/discussions?discussions_q=label%3Apackage%3Aexcalidraw). If you have any queries or need help, ask us [here](https://github.com/excalidraw/excalidraw/discussions?discussions_q=label%3Apackage%3Aexcalidraw).
|
|
1011
|
+
|
|
1012
|
+
### Development
|
|
1013
|
+
|
|
1014
|
+
#### Install the dependencies
|
|
1015
|
+
|
|
1016
|
+
```bash
|
|
1017
|
+
yarn
|
|
1018
|
+
```
|
|
1019
|
+
|
|
1020
|
+
#### Start the server
|
|
1021
|
+
|
|
1022
|
+
```bash
|
|
1023
|
+
yarn start
|
|
1024
|
+
```
|
|
1025
|
+
|
|
1026
|
+
[http://localhost:3001](http://localhost:3001) will open in your default browser.
|
|
1027
|
+
|
|
1028
|
+
The example is same as the [codesandbox example](https://ehlz3.csb.app/)
|
package/dist/excalidraw-assets-dev/{image-e50a452aa26d28419e39.js → image-f696fa36e3535df5e97a.js}
RENAMED
|
File without changes
|