@myoc/excalidraw 0.19.522 → 0.19.523

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/dev/{chunk-6T5HZJCI.js → chunk-BZ4RT7VO.js} +2 -2
  3. package/dist/dev/{chunk-BCNQXIBK.js → chunk-TFX2VD6V.js} +5 -4
  4. package/dist/dev/{chunk-BCNQXIBK.js.map → chunk-TFX2VD6V.js.map} +2 -2
  5. package/dist/dev/data/{image-NFLICJEW.js → image-PHXNKDOA.js} +3 -3
  6. package/dist/dev/index.css +52 -0
  7. package/dist/dev/index.css.map +2 -2
  8. package/dist/dev/index.js +1326 -1106
  9. package/dist/dev/index.js.map +4 -4
  10. package/dist/dev/subset-shared.chunk.js +1 -1
  11. package/dist/dev/subset-worker.chunk.js +1 -1
  12. package/dist/prod/{chunk-66O5T5YX.js → chunk-CLLD5JHX.js} +2 -2
  13. package/dist/prod/{chunk-SZWH77NQ.js → chunk-HWRIEZWY.js} +1 -1
  14. package/dist/prod/data/image-DCK4K5JA.js +1 -0
  15. package/dist/prod/index.css +1 -1
  16. package/dist/prod/index.js +16 -16
  17. package/dist/prod/subset-shared.chunk.js +1 -1
  18. package/dist/prod/subset-worker.chunk.js +1 -1
  19. package/dist/types/excalidraw/actions/actionCanvas.d.ts +6 -6
  20. package/dist/types/excalidraw/actions/index.d.ts +1 -1
  21. package/dist/types/excalidraw/actions/shortcuts.d.ts +1 -1
  22. package/dist/types/excalidraw/actions/types.d.ts +1 -1
  23. package/dist/types/excalidraw/components/Actions.d.ts +1 -2
  24. package/dist/types/excalidraw/components/App.d.ts +5 -1
  25. package/dist/types/excalidraw/components/MobileToolbar.d.ts +3 -1
  26. package/dist/types/excalidraw/components/Toolbar.d.ts +3 -1
  27. package/dist/types/excalidraw/components/Tools.d.ts +9 -4
  28. package/dist/types/excalidraw/components/main-menu/DefaultItems.d.ts +0 -2
  29. package/dist/types/excalidraw/types.d.ts +9 -1
  30. package/package.json +4 -4
  31. package/dist/prod/data/image-AAJBLI3M.js +0 -1
  32. package/dist/types/excalidraw/actions/actionToggleZenMode.d.ts +0 -191
  33. /package/dist/dev/{chunk-6T5HZJCI.js.map → chunk-BZ4RT7VO.js.map} +0 -0
  34. /package/dist/dev/data/{image-NFLICJEW.js.map → image-PHXNKDOA.js.map} +0 -0
@@ -2,12 +2,12 @@ import {
2
2
  decodePngMetadata,
3
3
  encodePngMetadata,
4
4
  getTEXtChunk
5
- } from "../chunk-BCNQXIBK.js";
6
- import "../chunk-6T5HZJCI.js";
5
+ } from "../chunk-TFX2VD6V.js";
6
+ import "../chunk-BZ4RT7VO.js";
7
7
  import "../chunk-XDFCUUT6.js";
8
8
  export {
9
9
  decodePngMetadata,
10
10
  encodePngMetadata,
11
11
  getTEXtChunk
12
12
  };
13
- //# sourceMappingURL=image-NFLICJEW.js.map
13
+ //# sourceMappingURL=image-PHXNKDOA.js.map
@@ -2035,6 +2035,9 @@ body.excalidraw-color-dnd-active * {
2035
2035
  width: 1rem;
2036
2036
  height: 1rem;
2037
2037
  }
2038
+ .excalidraw .mobile-toolbar .ToolIcon .ToolIcon__keybinding {
2039
+ display: none;
2040
+ }
2038
2041
  .excalidraw .mobile-toolbar .App-toolbar__extra-tools-dropdown {
2039
2042
  min-width: 160px;
2040
2043
  z-index: var(--zIndex-layerUI);
@@ -5798,6 +5801,55 @@ body.excalidraw-cursor-resize * {
5798
5801
  flex-direction: column;
5799
5802
  pointer-events: var(--ui-pointerEvents);
5800
5803
  }
5804
+ .excalidraw .App-bottom-bar__actions-row {
5805
+ display: flex;
5806
+ align-items: center;
5807
+ gap: 6px;
5808
+ width: 100%;
5809
+ }
5810
+ .excalidraw .mobile-canvas-actions {
5811
+ display: flex;
5812
+ flex-direction: row;
5813
+ gap: 6px;
5814
+ flex: 0 0 auto;
5815
+ padding: 4px;
5816
+ margin-bottom: 4px;
5817
+ pointer-events: var(--ui-pointerEvents);
5818
+ }
5819
+ .excalidraw .mobile-canvas-actions .view-mode-button button,
5820
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button {
5821
+ width: var(--mobile-action-button-size);
5822
+ height: var(--mobile-action-button-size);
5823
+ min-width: var(--mobile-action-button-size);
5824
+ min-height: var(--mobile-action-button-size);
5825
+ margin-inline-start: 0;
5826
+ border-radius: var(--border-radius-lg);
5827
+ background-color: transparent;
5828
+ box-shadow: none;
5829
+ }
5830
+ .excalidraw .mobile-canvas-actions .view-mode-button button.enabled,
5831
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button.enabled {
5832
+ background-color: transparent;
5833
+ }
5834
+ .excalidraw .mobile-canvas-actions .view-mode-button button.enabled .ToolIcon__icon:hover,
5835
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button.enabled .ToolIcon__icon:hover {
5836
+ background-color: transparent;
5837
+ }
5838
+ .excalidraw .mobile-canvas-actions .view-mode-button button .ToolIcon__icon,
5839
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button .ToolIcon__icon {
5840
+ width: 100%;
5841
+ height: 100%;
5842
+ background-color: transparent;
5843
+ }
5844
+ .excalidraw .mobile-canvas-actions .view-mode-button button .ToolIcon__keybinding,
5845
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button .ToolIcon__keybinding {
5846
+ display: none;
5847
+ }
5848
+ .excalidraw .mobile-canvas-actions .view-mode-button button svg,
5849
+ .excalidraw .mobile-canvas-actions .smart-zoom-button button svg {
5850
+ width: 1rem;
5851
+ height: 1rem;
5852
+ }
5801
5853
  .excalidraw .App-toolbar {
5802
5854
  display: flex;
5803
5855
  justify-content: center;