@myoc/excalidraw 0.19.531 → 0.19.532
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 +53 -0
- package/dist/dev/{chunk-6NFVXSAY.js → chunk-ITMOGRAW.js} +3 -3
- package/dist/dev/chunk-ITMOGRAW.js.map +7 -0
- package/dist/dev/data/{image-PZBZVE3P.js → image-S7APFFV6.js} +2 -2
- package/dist/dev/index.js +11 -5
- package/dist/dev/index.js.map +2 -2
- package/dist/prod/{chunk-EX4VEL2N.js → chunk-U3WBDUKM.js} +1 -1
- package/dist/prod/data/{image-6NUYGTMZ.js → image-MWFLMJV7.js} +1 -1
- package/dist/prod/index.js +11 -11
- package/package.json +4 -4
- package/dist/dev/chunk-6NFVXSAY.js.map +0 -7
- /package/dist/dev/data/{image-PZBZVE3P.js.map → image-S7APFFV6.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5745,4 +5745,57 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
|
|
|
5745
5745
|
- Incorrect import for color (was moved to common)
|
|
5746
5746
|
|
|
5747
5747
|
---
|
|
5748
|
+
## Excalidraw Library
|
|
5749
|
+
|
|
5750
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
5751
|
+
|
|
5752
|
+
### Features
|
|
5753
|
+
|
|
5754
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
5755
|
+
|
|
5756
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
5757
|
+
|
|
5758
|
+
- Add view mode button
|
|
5759
|
+
|
|
5760
|
+
- Add multiple image copy paste or drag and drop
|
|
5761
|
+
|
|
5762
|
+
- Multiple image additions from clipboard
|
|
5763
|
+
|
|
5764
|
+
- Add arrange elements action
|
|
5765
|
+
|
|
5766
|
+
- Add top picks to appProps for both stoke color and background color
|
|
5767
|
+
|
|
5768
|
+
### Fixes
|
|
5769
|
+
|
|
5770
|
+
- Issues
|
|
5771
|
+
|
|
5772
|
+
- Make mobile mode more myoc looking
|
|
5773
|
+
|
|
5774
|
+
- Add normalise functionality
|
|
5775
|
+
|
|
5776
|
+
- Update with excalidraw
|
|
5777
|
+
|
|
5778
|
+
- Fix imports
|
|
5779
|
+
|
|
5780
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
5781
|
+
|
|
5782
|
+
- Imports
|
|
5783
|
+
|
|
5784
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
5785
|
+
|
|
5786
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
5787
|
+
|
|
5788
|
+
- Add smartview for mobile
|
|
5789
|
+
|
|
5790
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
5791
|
+
|
|
5792
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
5793
|
+
|
|
5794
|
+
- Remove unused variables
|
|
5795
|
+
|
|
5796
|
+
- Pass the new top pick color props properly
|
|
5797
|
+
|
|
5798
|
+
- Incorrect import for color (was moved to common)
|
|
5799
|
+
|
|
5800
|
+
---
|
|
5748
5801
|
|
|
@@ -5413,7 +5413,7 @@ var parseFileContents = async (blob) => {
|
|
|
5413
5413
|
let contents;
|
|
5414
5414
|
if (blob.type === MIME_TYPES6.png) {
|
|
5415
5415
|
try {
|
|
5416
|
-
return await (await import("./data/image-
|
|
5416
|
+
return await (await import("./data/image-S7APFFV6.js")).decodePngMetadata(blob);
|
|
5417
5417
|
} catch (error) {
|
|
5418
5418
|
if (error.message === "INVALID") {
|
|
5419
5419
|
throw new ImageSceneDataError(
|
|
@@ -5712,7 +5712,7 @@ var normalizeFile = async (file) => {
|
|
|
5712
5712
|
}
|
|
5713
5713
|
if (file?.name?.endsWith(".excalidraw")) {
|
|
5714
5714
|
file = createFile(file, MIME_TYPES6.excalidraw, file.name);
|
|
5715
|
-
} else if (!file.type || file.type
|
|
5715
|
+
} else if (!file.type || file.type.startsWith("image/") || file.type === "application/octet-stream") {
|
|
5716
5716
|
const mimeType = await getActualMimeTypeFromImage(file);
|
|
5717
5717
|
if (mimeType && mimeType !== file.type) {
|
|
5718
5718
|
file = createFile(file, mimeType, file.name);
|
|
@@ -5851,4 +5851,4 @@ export {
|
|
|
5851
5851
|
createFile,
|
|
5852
5852
|
normalizeFile
|
|
5853
5853
|
};
|
|
5854
|
-
//# sourceMappingURL=chunk-
|
|
5854
|
+
//# sourceMappingURL=chunk-ITMOGRAW.js.map
|