@myoc/excalidraw 0.19.529 → 0.19.530

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
@@ -5587,5 +5587,57 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
5587
5587
 
5588
5588
  - Incorrect import for color (was moved to common)
5589
5589
 
5590
+ ---## Excalidraw Library
5591
+
5592
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
5593
+
5594
+ ### Features
5595
+
5596
+ - Add ability to turn off compression for files that are smaller than a given size
5597
+
5598
+ - Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
5599
+
5600
+ - Add view mode button
5601
+
5602
+ - Add multiple image copy paste or drag and drop
5603
+
5604
+ - Multiple image additions from clipboard
5605
+
5606
+ - Add arrange elements action
5607
+
5608
+ - Add top picks to appProps for both stoke color and background color
5609
+
5610
+ ### Fixes
5611
+
5612
+ - Issues
5613
+
5614
+ - Make mobile mode more myoc looking
5615
+
5616
+ - Add normalise functionality
5617
+
5618
+ - Update with excalidraw
5619
+
5620
+ - Fix imports
5621
+
5622
+ - Fix mutateGroup to use scene.mutateGroup
5623
+
5624
+ - Imports
5625
+
5626
+ - Ensure that fileId is different for compressed vs uncompressed file
5627
+
5628
+ - Remove not working prop for dontResizeLimitMBs
5629
+
5630
+ - Add smartview for mobile
5631
+
5632
+ - Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
5633
+
5634
+ - Use css vars already provided instead of hard coding directly from oc-gray
5635
+
5636
+ - Remove unused variables
5637
+
5638
+ - Pass the new top pick color props properly
5639
+
5640
+ - Incorrect import for color (was moved to common)
5641
+
5590
5642
  ---
5591
5643
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  define_import_meta_env_default
3
- } from "./chunk-H5L4PT3U.js";
3
+ } from "./chunk-XSA46KXZ.js";
4
4
  import {
5
5
  __publicField
6
6
  } from "./chunk-XDFCUUT6.js";
@@ -5401,7 +5401,7 @@ var parseFileContents = async (blob) => {
5401
5401
  let contents;
5402
5402
  if (blob.type === MIME_TYPES6.png) {
5403
5403
  try {
5404
- return await (await import("./data/image-GYAOLTNI.js")).decodePngMetadata(blob);
5404
+ return await (await import("./data/image-AYT4E6ZF.js")).decodePngMetadata(blob);
5405
5405
  } catch (error) {
5406
5406
  if (error.message === "INVALID") {
5407
5407
  throw new ImageSceneDataError(
@@ -5838,4 +5838,4 @@ export {
5838
5838
  createFile,
5839
5839
  normalizeFile
5840
5840
  };
5841
- //# sourceMappingURL=chunk-7GX2B2N5.js.map
5841
+ //# sourceMappingURL=chunk-ROEGCKS3.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.528", 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.529", DEV: true };
3
3
 
4
4
  export {
5
5
  define_import_meta_env_default
6
6
  };
7
- //# sourceMappingURL=chunk-H5L4PT3U.js.map
7
+ //# sourceMappingURL=chunk-XSA46KXZ.js.map
@@ -2,12 +2,12 @@ import {
2
2
  decodePngMetadata,
3
3
  encodePngMetadata,
4
4
  getTEXtChunk
5
- } from "../chunk-7GX2B2N5.js";
6
- import "../chunk-H5L4PT3U.js";
5
+ } from "../chunk-ROEGCKS3.js";
6
+ import "../chunk-XSA46KXZ.js";
7
7
  import "../chunk-XDFCUUT6.js";
8
8
  export {
9
9
  decodePngMetadata,
10
10
  encodePngMetadata,
11
11
  getTEXtChunk
12
12
  };
13
- //# sourceMappingURL=image-GYAOLTNI.js.map
13
+ //# sourceMappingURL=image-AYT4E6ZF.js.map
@@ -5875,8 +5875,8 @@ body.excalidraw-cursor-resize * {
5875
5875
  width: calc(100% - 28px);
5876
5876
  max-width: 450px;
5877
5877
  bottom: 0;
5878
- left: 50%;
5879
- transform: translateX(-50%);
5878
+ left: 14px;
5879
+ transform: none;
5880
5880
  --bar-padding: calc(4 * var(--space-factor));
5881
5881
  z-index: var(--zIndex-ui-bottom);
5882
5882
  display: flex;
@@ -5943,7 +5943,7 @@ body.excalidraw-cursor-resize * {
5943
5943
  }
5944
5944
  .excalidraw .App-toolbar {
5945
5945
  display: flex;
5946
- justify-content: center;
5946
+ justify-content: flex-start;
5947
5947
  }
5948
5948
  .excalidraw .App-toolbar .eraser.ToolIcon:hover {
5949
5949
  --icon-fill-color: #fff;