@myoc/excalidraw 0.19.544 → 0.19.546

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 CHANGED
@@ -6325,5 +6325,110 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
6325
6325
 
6326
6326
  - Incorrect import for color (was moved to common)
6327
6327
 
6328
+ ---## Excalidraw Library
6329
+
6330
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
6331
+
6332
+ ### Features
6333
+
6334
+ - Add ability to turn off compression for files that are smaller than a given size
6335
+
6336
+ - Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
6337
+
6338
+ - Add view mode button
6339
+
6340
+ - Add multiple image copy paste or drag and drop
6341
+
6342
+ - Multiple image additions from clipboard
6343
+
6344
+ - Add arrange elements action
6345
+
6346
+ - Add top picks to appProps for both stoke color and background color
6347
+
6348
+ ### Fixes
6349
+
6350
+ - Issues
6351
+
6352
+ - Make mobile mode more myoc looking
6353
+
6354
+ - Add normalise functionality
6355
+
6356
+ - Update with excalidraw
6357
+
6358
+ - Fix imports
6359
+
6360
+ - Fix mutateGroup to use scene.mutateGroup
6361
+
6362
+ - Imports
6363
+
6364
+ - Ensure that fileId is different for compressed vs uncompressed file
6365
+
6366
+ - Remove not working prop for dontResizeLimitMBs
6367
+
6368
+ - Add smartview for mobile
6369
+
6370
+ - Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
6371
+
6372
+ - Use css vars already provided instead of hard coding directly from oc-gray
6373
+
6374
+ - Remove unused variables
6375
+
6376
+ - Pass the new top pick color props properly
6377
+
6378
+ - Incorrect import for color (was moved to common)
6379
+
6380
+ ---
6381
+ ## Excalidraw Library
6382
+
6383
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
6384
+
6385
+ ### Features
6386
+
6387
+ - Add ability to turn off compression for files that are smaller than a given size
6388
+
6389
+ - Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
6390
+
6391
+ - Add view mode button
6392
+
6393
+ - Add multiple image copy paste or drag and drop
6394
+
6395
+ - Multiple image additions from clipboard
6396
+
6397
+ - Add arrange elements action
6398
+
6399
+ - Add top picks to appProps for both stoke color and background color
6400
+
6401
+ ### Fixes
6402
+
6403
+ - Issues
6404
+
6405
+ - Make mobile mode more myoc looking
6406
+
6407
+ - Add normalise functionality
6408
+
6409
+ - Update with excalidraw
6410
+
6411
+ - Fix imports
6412
+
6413
+ - Fix mutateGroup to use scene.mutateGroup
6414
+
6415
+ - Imports
6416
+
6417
+ - Ensure that fileId is different for compressed vs uncompressed file
6418
+
6419
+ - Remove not working prop for dontResizeLimitMBs
6420
+
6421
+ - Add smartview for mobile
6422
+
6423
+ - Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
6424
+
6425
+ - Use css vars already provided instead of hard coding directly from oc-gray
6426
+
6427
+ - Remove unused variables
6428
+
6429
+ - Pass the new top pick color props properly
6430
+
6431
+ - Incorrect import for color (was moved to common)
6432
+
6328
6433
  ---
6329
6434
 
@@ -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.543", DEV: true };
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.545", DEV: true };
3
3
 
4
4
  export {
5
5
  define_import_meta_env_default
6
6
  };
7
- //# sourceMappingURL=chunk-AKYL2SH7.js.map
7
+ //# sourceMappingURL=chunk-GEFQQ6MF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  define_import_meta_env_default
3
- } from "./chunk-AKYL2SH7.js";
3
+ } from "./chunk-GEFQQ6MF.js";
4
4
  import {
5
5
  __publicField
6
6
  } from "./chunk-XDFCUUT6.js";
@@ -5455,7 +5455,7 @@ var parseFileContents = async (blob) => {
5455
5455
  let contents;
5456
5456
  if (blob.type === MIME_TYPES6.png) {
5457
5457
  try {
5458
- return await (await import("./data/image-AIHWJUYD.js")).decodePngMetadata(blob);
5458
+ return await (await import("./data/image-K27274LO.js")).decodePngMetadata(blob);
5459
5459
  } catch (error) {
5460
5460
  if (error.message === "INVALID") {
5461
5461
  throw new ImageSceneDataError(
@@ -5906,4 +5906,4 @@ export {
5906
5906
  createFile,
5907
5907
  normalizeFile
5908
5908
  };
5909
- //# sourceMappingURL=chunk-DPY7NUSG.js.map
5909
+ //# sourceMappingURL=chunk-XE3CQOUC.js.map
@@ -2,12 +2,12 @@ import {
2
2
  decodePngMetadata,
3
3
  encodePngMetadata,
4
4
  getTEXtChunk
5
- } from "../chunk-DPY7NUSG.js";
6
- import "../chunk-AKYL2SH7.js";
5
+ } from "../chunk-XE3CQOUC.js";
6
+ import "../chunk-GEFQQ6MF.js";
7
7
  import "../chunk-XDFCUUT6.js";
8
8
  export {
9
9
  decodePngMetadata,
10
10
  encodePngMetadata,
11
11
  getTEXtChunk
12
12
  };
13
- //# sourceMappingURL=image-AIHWJUYD.js.map
13
+ //# sourceMappingURL=image-K27274LO.js.map
@@ -3745,23 +3745,8 @@ body.excalidraw-color-dnd-active * {
3745
3745
  font-weight: 600;
3746
3746
  }
3747
3747
  .excalidraw .gif-playback-controls--deferred {
3748
- transform: translateX(-100%);
3749
- }
3750
- .excalidraw .gif-playback-controls__deferred-badge {
3751
- display: inline-flex;
3752
- align-items: center;
3753
- justify-content: center;
3754
- width: 1.5rem;
3755
- height: 1.5rem;
3756
- color: white;
3757
- opacity: 0.78;
3758
- pointer-events: none;
3759
3748
  transform: translate(-100%, -100%);
3760
3749
  }
3761
- .excalidraw .gif-playback-controls__deferred-badge svg {
3762
- width: 100%;
3763
- height: 100%;
3764
- }
3765
3750
  .excalidraw .gif-playback-controls__load-large {
3766
3751
  display: inline-flex;
3767
3752
  align-items: center;