@myoc/excalidraw 0.19.526 → 0.19.528
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 +106 -0
- package/dist/dev/{chunk-WQAS3ONQ.js → chunk-6FFT5HLH.js} +2 -2
- package/dist/dev/{chunk-UKYYHFTM.js → chunk-NY5S5VQK.js} +4 -3
- package/dist/dev/data/{image-ILRWTLER.js → image-V7WKCORB.js} +3 -3
- package/dist/dev/index.js +137 -164
- package/dist/dev/index.js.map +4 -4
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-Q5HWUYDM.js → chunk-ELA2R5XK.js} +1 -1
- package/dist/prod/{chunk-HNA67ODG.js → chunk-JCJ2YNSV.js} +2 -2
- package/dist/prod/data/image-OSFJHW22.js +1 -0
- package/dist/prod/index.js +13 -13
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/actions/actionElementLink.d.ts +0 -27
- package/dist/types/excalidraw/actions/types.d.ts +1 -1
- package/dist/types/excalidraw/components/App.d.ts +3 -0
- package/package.json +4 -4
- package/dist/prod/data/image-WGUGXKQD.js +0 -1
- /package/dist/dev/{chunk-WQAS3ONQ.js.map → chunk-6FFT5HLH.js.map} +0 -0
- /package/dist/dev/{chunk-UKYYHFTM.js.map → chunk-NY5S5VQK.js.map} +0 -0
- /package/dist/dev/data/{image-ILRWTLER.js.map → image-V7WKCORB.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5426,4 +5426,110 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
|
|
|
5426
5426
|
- Incorrect import for color (was moved to common)
|
|
5427
5427
|
|
|
5428
5428
|
---
|
|
5429
|
+
## Excalidraw Library
|
|
5430
|
+
|
|
5431
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
5432
|
+
|
|
5433
|
+
### Features
|
|
5434
|
+
|
|
5435
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
5436
|
+
|
|
5437
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
5438
|
+
|
|
5439
|
+
- Add view mode button
|
|
5440
|
+
|
|
5441
|
+
- Add multiple image copy paste or drag and drop
|
|
5442
|
+
|
|
5443
|
+
- Multiple image additions from clipboard
|
|
5444
|
+
|
|
5445
|
+
- Add arrange elements action
|
|
5446
|
+
|
|
5447
|
+
- Add top picks to appProps for both stoke color and background color
|
|
5448
|
+
|
|
5449
|
+
### Fixes
|
|
5450
|
+
|
|
5451
|
+
- Issues
|
|
5452
|
+
|
|
5453
|
+
- Make mobile mode more myoc looking
|
|
5454
|
+
|
|
5455
|
+
- Add normalise functionality
|
|
5456
|
+
|
|
5457
|
+
- Update with excalidraw
|
|
5458
|
+
|
|
5459
|
+
- Fix imports
|
|
5460
|
+
|
|
5461
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
5462
|
+
|
|
5463
|
+
- Imports
|
|
5464
|
+
|
|
5465
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
5466
|
+
|
|
5467
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
5468
|
+
|
|
5469
|
+
- Add smartview for mobile
|
|
5470
|
+
|
|
5471
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
5472
|
+
|
|
5473
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
5474
|
+
|
|
5475
|
+
- Remove unused variables
|
|
5476
|
+
|
|
5477
|
+
- Pass the new top pick color props properly
|
|
5478
|
+
|
|
5479
|
+
- Incorrect import for color (was moved to common)
|
|
5480
|
+
|
|
5481
|
+
---
|
|
5482
|
+
## Excalidraw Library
|
|
5483
|
+
|
|
5484
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
5485
|
+
|
|
5486
|
+
### Features
|
|
5487
|
+
|
|
5488
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
5489
|
+
|
|
5490
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
5491
|
+
|
|
5492
|
+
- Add view mode button
|
|
5493
|
+
|
|
5494
|
+
- Add multiple image copy paste or drag and drop
|
|
5495
|
+
|
|
5496
|
+
- Multiple image additions from clipboard
|
|
5497
|
+
|
|
5498
|
+
- Add arrange elements action
|
|
5499
|
+
|
|
5500
|
+
- Add top picks to appProps for both stoke color and background color
|
|
5501
|
+
|
|
5502
|
+
### Fixes
|
|
5503
|
+
|
|
5504
|
+
- Issues
|
|
5505
|
+
|
|
5506
|
+
- Make mobile mode more myoc looking
|
|
5507
|
+
|
|
5508
|
+
- Add normalise functionality
|
|
5509
|
+
|
|
5510
|
+
- Update with excalidraw
|
|
5511
|
+
|
|
5512
|
+
- Fix imports
|
|
5513
|
+
|
|
5514
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
5515
|
+
|
|
5516
|
+
- Imports
|
|
5517
|
+
|
|
5518
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
5519
|
+
|
|
5520
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
5521
|
+
|
|
5522
|
+
- Add smartview for mobile
|
|
5523
|
+
|
|
5524
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
5525
|
+
|
|
5526
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
5527
|
+
|
|
5528
|
+
- Remove unused variables
|
|
5529
|
+
|
|
5530
|
+
- Pass the new top pick color props properly
|
|
5531
|
+
|
|
5532
|
+
- Incorrect import for color (was moved to common)
|
|
5533
|
+
|
|
5534
|
+
---
|
|
5429
5535
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// <define:import.meta.env>
|
|
2
|
-
var define_import_meta_env_default = { MODE: "development", VITE_APP_BACKEND_V2_GET_URL: "https://json-dev.excalidraw.com/api/v2/", VITE_APP_BACKEND_V2_POST_URL: "https://json-dev.excalidraw.com/api/v2/post/", VITE_APP_LIBRARY_URL: "https://libraries.excalidraw.com", VITE_APP_LIBRARY_BACKEND: "https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries", VITE_APP_WS_SERVER_URL: "http://localhost:3002", VITE_APP_PLUS_LP: "https://plus.excalidraw.com", VITE_APP_PLUS_APP: "http://localhost:3000", VITE_APP_AI_BACKEND: "http://localhost:3016", VITE_APP_FIREBASE_CONFIG: '{"apiKey":"AIzaSyCMkxA60XIW8KbqMYL7edC4qT5l4qHX2h8","authDomain":"excalidraw-oss-dev.firebaseapp.com","projectId":"excalidraw-oss-dev","storageBucket":"excalidraw-oss-dev.appspot.com","messagingSenderId":"664559512677","appId":"1:664559512677:web:a385181f2928d328a7aa8c"}', VITE_APP_DEV_DISABLE_LIVE_RELOAD: "", VITE_APP_ENABLE_TRACKING: "true", FAST_REFRESH: "false", VITE_APP_PORT: "3001", VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX: "", VITE_APP_COLLAPSE_OVERLAY: "true", VITE_APP_ENABLE_ESLINT: "true", VITE_APP_ENABLE_PWA: "false", VITE_APP_PLUS_EXPORT_PUBLIC_KEY: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm2g5T+Rub6Kbf1Mf57t0\n7r2zeHuVg4dla3r5ryXMswtzz6x767octl6oLThn33mQsPSy3GKglFZoCTXJR4ij\nba8SxB04sL/N8eRrKja7TFWjCVtRwTTfyy771NYYNFVJclkxHyE5qw4m27crHF1y\nUNWEjuqNMi/lwAErS9fFa2oJlWyT8U7zzv/5kQREkxZI6y9v0AF3qcbsy2731FnD\ns9ChJvOUW9toIab2gsIdrKW8ZNpu084ZFVKb6LNjvIXI1Se4oMTHeszXzNptzlot\nkdxxjOoaQMAyfljFSot1F1FlU6MQlag7UnFGvFjRHN1JI5q4K+n3a67DX+TMyRqS\nHQIDAQAB", VITE_APP_DISABLE_PREVENT_UNLOAD: "", PKG_NAME: "@myoc/excalidraw", PKG_VERSION: "0.19.
|
|
2
|
+
var define_import_meta_env_default = { MODE: "development", VITE_APP_BACKEND_V2_GET_URL: "https://json-dev.excalidraw.com/api/v2/", VITE_APP_BACKEND_V2_POST_URL: "https://json-dev.excalidraw.com/api/v2/post/", VITE_APP_LIBRARY_URL: "https://libraries.excalidraw.com", VITE_APP_LIBRARY_BACKEND: "https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries", VITE_APP_WS_SERVER_URL: "http://localhost:3002", VITE_APP_PLUS_LP: "https://plus.excalidraw.com", VITE_APP_PLUS_APP: "http://localhost:3000", VITE_APP_AI_BACKEND: "http://localhost:3016", VITE_APP_FIREBASE_CONFIG: '{"apiKey":"AIzaSyCMkxA60XIW8KbqMYL7edC4qT5l4qHX2h8","authDomain":"excalidraw-oss-dev.firebaseapp.com","projectId":"excalidraw-oss-dev","storageBucket":"excalidraw-oss-dev.appspot.com","messagingSenderId":"664559512677","appId":"1:664559512677:web:a385181f2928d328a7aa8c"}', VITE_APP_DEV_DISABLE_LIVE_RELOAD: "", VITE_APP_ENABLE_TRACKING: "true", FAST_REFRESH: "false", VITE_APP_PORT: "3001", VITE_APP_DEBUG_ENABLE_TEXT_CONTAINER_BOUNDING_BOX: "", VITE_APP_COLLAPSE_OVERLAY: "true", VITE_APP_ENABLE_ESLINT: "true", VITE_APP_ENABLE_PWA: "false", VITE_APP_PLUS_EXPORT_PUBLIC_KEY: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm2g5T+Rub6Kbf1Mf57t0\n7r2zeHuVg4dla3r5ryXMswtzz6x767octl6oLThn33mQsPSy3GKglFZoCTXJR4ij\nba8SxB04sL/N8eRrKja7TFWjCVtRwTTfyy771NYYNFVJclkxHyE5qw4m27crHF1y\nUNWEjuqNMi/lwAErS9fFa2oJlWyT8U7zzv/5kQREkxZI6y9v0AF3qcbsy2731FnD\ns9ChJvOUW9toIab2gsIdrKW8ZNpu084ZFVKb6LNjvIXI1Se4oMTHeszXzNptzlot\nkdxxjOoaQMAyfljFSot1F1FlU6MQlag7UnFGvFjRHN1JI5q4K+n3a67DX+TMyRqS\nHQIDAQAB", VITE_APP_DISABLE_PREVENT_UNLOAD: "", PKG_NAME: "@myoc/excalidraw", PKG_VERSION: "0.19.527", DEV: true };
|
|
3
3
|
|
|
4
4
|
export {
|
|
5
5
|
define_import_meta_env_default
|
|
6
6
|
};
|
|
7
|
-
//# sourceMappingURL=chunk-
|
|
7
|
+
//# sourceMappingURL=chunk-6FFT5HLH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
define_import_meta_env_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6FFT5HLH.js";
|
|
4
4
|
import {
|
|
5
5
|
__publicField
|
|
6
6
|
} from "./chunk-XDFCUUT6.js";
|
|
@@ -5389,7 +5389,7 @@ var parseFileContents = async (blob) => {
|
|
|
5389
5389
|
let contents;
|
|
5390
5390
|
if (blob.type === MIME_TYPES6.png) {
|
|
5391
5391
|
try {
|
|
5392
|
-
return await (await import("./data/image-
|
|
5392
|
+
return await (await import("./data/image-V7WKCORB.js")).decodePngMetadata(blob);
|
|
5393
5393
|
} catch (error) {
|
|
5394
5394
|
if (error.message === "INVALID") {
|
|
5395
5395
|
throw new ImageSceneDataError(
|
|
@@ -5791,6 +5791,7 @@ export {
|
|
|
5791
5791
|
saveAsJSON,
|
|
5792
5792
|
loadFromJSON,
|
|
5793
5793
|
getLinkHandleFromCoords,
|
|
5794
|
+
isPointHittingLinkIcon,
|
|
5794
5795
|
isPointHittingLink,
|
|
5795
5796
|
fillCircle,
|
|
5796
5797
|
getNormalizedCanvasDimensions,
|
|
@@ -5825,4 +5826,4 @@ export {
|
|
|
5825
5826
|
createFile,
|
|
5826
5827
|
normalizeFile
|
|
5827
5828
|
};
|
|
5828
|
-
//# sourceMappingURL=chunk-
|
|
5829
|
+
//# sourceMappingURL=chunk-NY5S5VQK.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
decodePngMetadata,
|
|
3
3
|
encodePngMetadata,
|
|
4
4
|
getTEXtChunk
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-NY5S5VQK.js";
|
|
6
|
+
import "../chunk-6FFT5HLH.js";
|
|
7
7
|
import "../chunk-XDFCUUT6.js";
|
|
8
8
|
export {
|
|
9
9
|
decodePngMetadata,
|
|
10
10
|
encodePngMetadata,
|
|
11
11
|
getTEXtChunk
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=image-
|
|
13
|
+
//# sourceMappingURL=image-V7WKCORB.js.map
|