@myoc/excalidraw 0.19.533 → 0.19.534
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-AR7I2OPB.js → chunk-LMB2JFA3.js} +3 -3
- package/dist/dev/{chunk-5CVRJMG3.js → chunk-LXITAORX.js} +2 -2
- package/dist/dev/data/{image-XXT3R6SF.js → image-42C5IMES.js} +3 -3
- package/dist/dev/index.css +10 -1
- package/dist/dev/index.css.map +2 -2
- package/dist/dev/index.js +87 -7
- package/dist/dev/index.js.map +2 -2
- package/dist/dev/subset-shared.chunk.js +1 -1
- package/dist/dev/subset-worker.chunk.js +1 -1
- package/dist/prod/{chunk-AS35EYHE.js → chunk-GTKIAGSI.js} +2 -2
- package/dist/prod/{chunk-6D6KWUBN.js → chunk-J5EM63O7.js} +1 -1
- package/dist/prod/data/image-SPSR2YYO.js +1 -0
- package/dist/prod/index.css +1 -1
- package/dist/prod/index.js +18 -18
- package/dist/prod/subset-shared.chunk.js +1 -1
- package/dist/prod/subset-worker.chunk.js +1 -1
- package/dist/types/excalidraw/index.d.ts +1 -1
- package/package.json +4 -4
- package/dist/prod/data/image-6PNCNKLO.js +0 -1
- /package/dist/dev/{chunk-AR7I2OPB.js.map → chunk-LMB2JFA3.js.map} +0 -0
- /package/dist/dev/{chunk-5CVRJMG3.js.map → chunk-LXITAORX.js.map} +0 -0
- /package/dist/dev/data/{image-XXT3R6SF.js.map → image-42C5IMES.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5852,6 +5852,7 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
|
|
|
5852
5852
|
- Incorrect import for color (was moved to common)
|
|
5853
5853
|
|
|
5854
5854
|
---
|
|
5855
|
+
|
|
5855
5856
|
## Excalidraw Library
|
|
5856
5857
|
|
|
5857
5858
|
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
@@ -5904,5 +5905,57 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
|
|
|
5904
5905
|
|
|
5905
5906
|
- Incorrect import for color (was moved to common)
|
|
5906
5907
|
|
|
5908
|
+
---## Excalidraw Library
|
|
5909
|
+
|
|
5910
|
+
**_This section lists the updates made to the excalidraw library and will not affect the integration._**
|
|
5911
|
+
|
|
5912
|
+
### Features
|
|
5913
|
+
|
|
5914
|
+
- Add ability to turn off compression for files that are smaller than a given size
|
|
5915
|
+
|
|
5916
|
+
- Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
|
|
5917
|
+
|
|
5918
|
+
- Add view mode button
|
|
5919
|
+
|
|
5920
|
+
- Add multiple image copy paste or drag and drop
|
|
5921
|
+
|
|
5922
|
+
- Multiple image additions from clipboard
|
|
5923
|
+
|
|
5924
|
+
- Add arrange elements action
|
|
5925
|
+
|
|
5926
|
+
- Add top picks to appProps for both stoke color and background color
|
|
5927
|
+
|
|
5928
|
+
### Fixes
|
|
5929
|
+
|
|
5930
|
+
- Issues
|
|
5931
|
+
|
|
5932
|
+
- Make mobile mode more myoc looking
|
|
5933
|
+
|
|
5934
|
+
- Add normalise functionality
|
|
5935
|
+
|
|
5936
|
+
- Update with excalidraw
|
|
5937
|
+
|
|
5938
|
+
- Fix imports
|
|
5939
|
+
|
|
5940
|
+
- Fix mutateGroup to use scene.mutateGroup
|
|
5941
|
+
|
|
5942
|
+
- Imports
|
|
5943
|
+
|
|
5944
|
+
- Ensure that fileId is different for compressed vs uncompressed file
|
|
5945
|
+
|
|
5946
|
+
- Remove not working prop for dontResizeLimitMBs
|
|
5947
|
+
|
|
5948
|
+
- Add smartview for mobile
|
|
5949
|
+
|
|
5950
|
+
- Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
|
|
5951
|
+
|
|
5952
|
+
- Use css vars already provided instead of hard coding directly from oc-gray
|
|
5953
|
+
|
|
5954
|
+
- Remove unused variables
|
|
5955
|
+
|
|
5956
|
+
- Pass the new top pick color props properly
|
|
5957
|
+
|
|
5958
|
+
- Incorrect import for color (was moved to common)
|
|
5959
|
+
|
|
5907
5960
|
---
|
|
5908
5961
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
define_import_meta_env_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LXITAORX.js";
|
|
4
4
|
import {
|
|
5
5
|
__publicField
|
|
6
6
|
} from "./chunk-XDFCUUT6.js";
|
|
@@ -5428,7 +5428,7 @@ var parseFileContents = async (blob) => {
|
|
|
5428
5428
|
let contents;
|
|
5429
5429
|
if (blob.type === MIME_TYPES6.png) {
|
|
5430
5430
|
try {
|
|
5431
|
-
return await (await import("./data/image-
|
|
5431
|
+
return await (await import("./data/image-42C5IMES.js")).decodePngMetadata(blob);
|
|
5432
5432
|
} catch (error) {
|
|
5433
5433
|
if (error.message === "INVALID") {
|
|
5434
5434
|
throw new ImageSceneDataError(
|
|
@@ -5866,4 +5866,4 @@ export {
|
|
|
5866
5866
|
createFile,
|
|
5867
5867
|
normalizeFile
|
|
5868
5868
|
};
|
|
5869
|
-
//# sourceMappingURL=chunk-
|
|
5869
|
+
//# sourceMappingURL=chunk-LMB2JFA3.js.map
|
|
@@ -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.533", DEV: true };
|
|
3
3
|
|
|
4
4
|
export {
|
|
5
5
|
define_import_meta_env_default
|
|
6
6
|
};
|
|
7
|
-
//# sourceMappingURL=chunk-
|
|
7
|
+
//# sourceMappingURL=chunk-LXITAORX.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-LMB2JFA3.js";
|
|
6
|
+
import "../chunk-LXITAORX.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-42C5IMES.js.map
|
package/dist/dev/index.css
CHANGED
|
@@ -3721,6 +3721,12 @@ body.excalidraw-color-dnd-active * {
|
|
|
3721
3721
|
box-shadow: var(--shadow-island);
|
|
3722
3722
|
scrollbar-color: var(--scrollbar-thumb) transparent;
|
|
3723
3723
|
scrollbar-width: thin;
|
|
3724
|
+
cursor: grab;
|
|
3725
|
+
touch-action: pan-x;
|
|
3726
|
+
user-select: none;
|
|
3727
|
+
}
|
|
3728
|
+
.excalidraw .gif-frame-gallery--dragging {
|
|
3729
|
+
cursor: grabbing;
|
|
3724
3730
|
}
|
|
3725
3731
|
.excalidraw .gif-frame-gallery::-webkit-scrollbar {
|
|
3726
3732
|
height: 2px;
|
|
@@ -3786,7 +3792,8 @@ body.excalidraw-color-dnd-active * {
|
|
|
3786
3792
|
border: 2px solid transparent;
|
|
3787
3793
|
border-radius: var(--border-radius-md);
|
|
3788
3794
|
background: var(--color-surface-low);
|
|
3789
|
-
cursor:
|
|
3795
|
+
cursor: inherit;
|
|
3796
|
+
touch-action: pan-x;
|
|
3790
3797
|
overflow: hidden;
|
|
3791
3798
|
}
|
|
3792
3799
|
.excalidraw .gif-frame-gallery__frame--selected {
|
|
@@ -3796,6 +3803,7 @@ body.excalidraw-color-dnd-active * {
|
|
|
3796
3803
|
width: 100%;
|
|
3797
3804
|
height: 100%;
|
|
3798
3805
|
object-fit: cover;
|
|
3806
|
+
touch-action: pan-x;
|
|
3799
3807
|
}
|
|
3800
3808
|
.excalidraw .gif-frame-gallery__frame span {
|
|
3801
3809
|
position: absolute;
|
|
@@ -3810,6 +3818,7 @@ body.excalidraw-color-dnd-active * {
|
|
|
3810
3818
|
font-weight: 700;
|
|
3811
3819
|
line-height: 1.125rem;
|
|
3812
3820
|
text-align: center;
|
|
3821
|
+
touch-action: pan-x;
|
|
3813
3822
|
}
|
|
3814
3823
|
|
|
3815
3824
|
/* components/HelpDialog.scss */
|