@myoc/excalidraw 0.19.524 → 0.19.525

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
@@ -5320,4 +5320,57 @@ First release of `@excalidraw/excalidraw`## Excalidraw Library
5320
5320
  - Incorrect import for color (was moved to common)
5321
5321
 
5322
5322
  ---
5323
+ ## Excalidraw Library
5324
+
5325
+ **_This section lists the updates made to the excalidraw library and will not affect the integration._**
5326
+
5327
+ ### Features
5328
+
5329
+ - Add ability to turn off compression for files that are smaller than a given size
5330
+
5331
+ - Add lock tool to the dropdown and also add the status of the extra tools to be the same icon as the selected tool
5332
+
5333
+ - Add view mode button
5334
+
5335
+ - Add multiple image copy paste or drag and drop
5336
+
5337
+ - Multiple image additions from clipboard
5338
+
5339
+ - Add arrange elements action
5340
+
5341
+ - Add top picks to appProps for both stoke color and background color
5342
+
5343
+ ### Fixes
5344
+
5345
+ - Issues
5346
+
5347
+ - Make mobile mode more myoc looking
5348
+
5349
+ - Add normalise functionality
5350
+
5351
+ - Update with excalidraw
5352
+
5353
+ - Fix imports
5354
+
5355
+ - Fix mutateGroup to use scene.mutateGroup
5356
+
5357
+ - Imports
5358
+
5359
+ - Ensure that fileId is different for compressed vs uncompressed file
5360
+
5361
+ - Remove not working prop for dontResizeLimitMBs
5362
+
5363
+ - Add smartview for mobile
5364
+
5365
+ - Hide the alignment buttons if there is only one group selected (they do nothing if only one group is selected)
5366
+
5367
+ - Use css vars already provided instead of hard coding directly from oc-gray
5368
+
5369
+ - Remove unused variables
5370
+
5371
+ - Pass the new top pick color props properly
5372
+
5373
+ - Incorrect import for color (was moved to common)
5374
+
5375
+ ---
5323
5376
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  define_import_meta_env_default
3
- } from "./chunk-W3K3P2GO.js";
3
+ } from "./chunk-BT3FFAFC.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-F4TDOTKO.js")).decodePngMetadata(blob);
5392
+ return await (await import("./data/image-JSJUP7H5.js")).decodePngMetadata(blob);
5393
5393
  } catch (error) {
5394
5394
  if (error.message === "INVALID") {
5395
5395
  throw new ImageSceneDataError(
@@ -5825,4 +5825,4 @@ export {
5825
5825
  createFile,
5826
5826
  normalizeFile
5827
5827
  };
5828
- //# sourceMappingURL=chunk-3SND5YQP.js.map
5828
+ //# sourceMappingURL=chunk-5JBEU7F3.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.523", 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.524", DEV: true };
3
3
 
4
4
  export {
5
5
  define_import_meta_env_default
6
6
  };
7
- //# sourceMappingURL=chunk-W3K3P2GO.js.map
7
+ //# sourceMappingURL=chunk-BT3FFAFC.js.map
@@ -2,12 +2,12 @@ import {
2
2
  decodePngMetadata,
3
3
  encodePngMetadata,
4
4
  getTEXtChunk
5
- } from "../chunk-3SND5YQP.js";
6
- import "../chunk-W3K3P2GO.js";
5
+ } from "../chunk-5JBEU7F3.js";
6
+ import "../chunk-BT3FFAFC.js";
7
7
  import "../chunk-XDFCUUT6.js";
8
8
  export {
9
9
  decodePngMetadata,
10
10
  encodePngMetadata,
11
11
  getTEXtChunk
12
12
  };
13
- //# sourceMappingURL=image-F4TDOTKO.js.map
13
+ //# sourceMappingURL=image-JSJUP7H5.js.map
@@ -4425,18 +4425,9 @@ body.excalidraw-color-dnd-active * {
4425
4425
  border: 1px solid var(--sidebar-border-color);
4426
4426
  border-radius: var(--border-radius-lg);
4427
4427
  background: var(--sidebar-bg-color);
4428
- box-shadow: none;
4429
- isolation: isolate;
4430
- overflow: visible;
4431
- }
4432
- .excalidraw .default-sidebar.default-sidebar--search-only::before {
4433
- content: "";
4434
- position: absolute;
4435
- inset: 0;
4436
- z-index: -1;
4437
- border-radius: inherit;
4438
4428
  box-shadow: var(--sidebar-shadow);
4439
- pointer-events: none;
4429
+ isolation: isolate;
4430
+ overflow: hidden;
4440
4431
  }
4441
4432
  :root[dir=rtl] .excalidraw .default-sidebar.default-sidebar--search-only {
4442
4433
  right: auto;
@@ -4446,13 +4437,13 @@ body.excalidraw-color-dnd-active * {
4446
4437
  .excalidraw .default-sidebar.default-sidebar--search-only .sidebar-tabs-root {
4447
4438
  display: block;
4448
4439
  padding: 0;
4449
- overflow: visible;
4440
+ overflow: hidden;
4450
4441
  border-radius: inherit;
4451
4442
  background: var(--sidebar-bg-color);
4452
4443
  }
4453
4444
  .excalidraw .default-sidebar.default-sidebar--search-only [role=tabpanel] {
4454
4445
  display: block;
4455
- overflow: visible;
4446
+ overflow: hidden;
4456
4447
  }
4457
4448
 
4458
4449
  /* components/Card.scss */