@zsviczian/excalidraw 0.17.1-obsidian-20 → 0.17.1-obsidian-22
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/dist/excalidraw.development.js +217 -96
- package/dist/excalidraw.production.min.js +1 -1
- package/dist/styles.development.css +88 -63
- package/dist/styles.production.css +6 -6
- package/package.json +2 -1
- package/types/excalidraw/actions/actionAddToLibrary.d.ts +4 -4
- package/types/excalidraw/actions/actionAlign.d.ts +22 -22
- package/types/excalidraw/actions/actionBoundText.d.ts +10 -10
- package/types/excalidraw/actions/actionCanvas.d.ts +68 -68
- package/types/excalidraw/actions/actionClipboard.d.ts +24 -24
- package/types/excalidraw/actions/actionDeleteSelected.d.ts +10 -10
- package/types/excalidraw/actions/actionDistribute.d.ts +10 -10
- package/types/excalidraw/actions/actionDuplicateSelection.d.ts +7 -8
- package/types/excalidraw/actions/actionElementLock.d.ts +9 -9
- package/types/excalidraw/actions/actionExport.d.ts +33 -33
- package/types/excalidraw/actions/actionFinalize.d.ts +9 -9
- package/types/excalidraw/actions/actionFlip.d.ts +10 -10
- package/types/excalidraw/actions/actionFrame.d.ts +16 -204
- package/types/excalidraw/actions/actionGroup.d.ts +12 -388
- package/types/excalidraw/actions/actionHistory.d.ts +4 -3
- package/types/excalidraw/actions/actionLinearEditor.d.ts +6 -4
- package/types/excalidraw/actions/actionLink.d.ts +5 -5
- package/types/excalidraw/actions/actionMenu.d.ts +8 -8
- package/types/excalidraw/actions/actionNavigate.d.ts +4 -4
- package/types/excalidraw/actions/actionProperties.d.ts +34 -34
- package/types/excalidraw/actions/actionSelectAll.d.ts +5 -5
- package/types/excalidraw/actions/actionStyles.d.ts +9 -12
- package/types/excalidraw/actions/actionTextAutoResize.d.ts +17 -0
- package/types/excalidraw/actions/actionToggleGridMode.d.ts +7 -5
- package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleStats.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleViewMode.d.ts +4 -4
- package/types/excalidraw/actions/actionToggleZenMode.d.ts +4 -4
- package/types/excalidraw/actions/actionZindex.d.ts +22 -19
- package/types/excalidraw/actions/manager.d.ts +5 -5
- package/types/excalidraw/actions/register.d.ts +1 -1
- package/types/excalidraw/actions/shortcuts.d.ts +2 -2
- package/types/excalidraw/actions/types.d.ts +8 -8
- package/types/excalidraw/align.d.ts +1 -1
- package/types/excalidraw/animated-trail.d.ts +2 -2
- package/types/excalidraw/appState.d.ts +5 -5
- package/types/excalidraw/change.d.ts +191 -0
- package/types/excalidraw/charts.d.ts +1 -1
- package/types/excalidraw/clients.d.ts +2 -2
- package/types/excalidraw/clipboard.d.ts +3 -3
- package/types/excalidraw/colors.d.ts +1 -1
- package/types/excalidraw/components/Actions.d.ts +3 -3
- package/types/excalidraw/components/App.d.ts +28 -14
- package/types/excalidraw/components/ColorPicker/ColorInput.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/ColorPicker.d.ts +4 -4
- package/types/excalidraw/components/ColorPicker/Picker.d.ts +3 -3
- package/types/excalidraw/components/ColorPicker/PickerColorList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/PickerHeading.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/ShadeList.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/TopPicks.d.ts +1 -1
- package/types/excalidraw/components/ColorPicker/colorPickerUtils.d.ts +2 -2
- package/types/excalidraw/components/ColorPicker/keyboardNavHandlers.d.ts +2 -2
- package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +1 -1
- package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +1 -1
- package/types/excalidraw/components/CommandPalette/types.d.ts +3 -3
- package/types/excalidraw/components/ConfirmDialog.d.ts +1 -1
- package/types/excalidraw/components/ContextMenu.d.ts +2 -2
- package/types/excalidraw/components/DarkModeToggle.d.ts +1 -1
- package/types/excalidraw/components/DefaultSidebar.d.ts +2 -2
- package/types/excalidraw/components/DialogActionButton.d.ts +1 -1
- package/types/excalidraw/components/EyeDropper.d.ts +2 -2
- package/types/excalidraw/components/FollowMode/FollowMode.d.ts +1 -1
- package/types/excalidraw/components/HintViewer.d.ts +1 -1
- package/types/excalidraw/components/ImageExportDialog.d.ts +1 -1
- package/types/excalidraw/components/InitializeApp.d.ts +2 -2
- package/types/excalidraw/components/JSONExportDialog.d.ts +3 -3
- package/types/excalidraw/components/LayerUI.d.ts +4 -4
- package/types/excalidraw/components/LibraryMenu.d.ts +2 -2
- package/types/excalidraw/components/LibraryMenuBrowseButton.d.ts +1 -1
- package/types/excalidraw/components/LibraryMenuControlButtons.d.ts +1 -1
- package/types/excalidraw/components/LibraryMenuHeaderContent.d.ts +2 -2
- package/types/excalidraw/components/LibraryMenuItems.d.ts +1 -1
- package/types/excalidraw/components/LibraryMenuSection.d.ts +5 -4
- package/types/excalidraw/components/LibraryUnit.d.ts +2 -2
- package/types/excalidraw/components/LoadingMessage.d.ts +1 -1
- package/types/excalidraw/components/MobileMenu.d.ts +3 -3
- package/types/excalidraw/components/Modal.d.ts +1 -1
- package/types/excalidraw/components/OverwriteConfirm/OverwriteConfirmState.d.ts +1 -1
- package/types/excalidraw/components/PasteChartDialog.d.ts +1 -1
- package/types/excalidraw/components/PublishLibrary.d.ts +1 -1
- package/types/excalidraw/components/RadioGroup.d.ts +2 -1
- package/types/excalidraw/components/SVGLayer.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/SidebarTab.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/SidebarTabTrigger.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/SidebarTrigger.d.ts +1 -1
- package/types/excalidraw/components/Sidebar/common.d.ts +1 -1
- package/types/excalidraw/components/Stats.d.ts +2 -2
- package/types/excalidraw/components/TTDDialog/MermaidToExcalidraw.d.ts +2 -2
- package/types/excalidraw/components/TTDDialog/TTDDialogInput.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/TTDDialogPanel.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/TTDDialogPanels.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/TTDDialogTabs.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/TTDDialogTrigger.d.ts +1 -1
- package/types/excalidraw/components/TTDDialog/common.d.ts +4 -4
- package/types/excalidraw/components/TextField.d.ts +1 -1
- package/types/excalidraw/components/Toast.d.ts +1 -1
- package/types/excalidraw/components/ToolButton.d.ts +4 -2
- package/types/excalidraw/components/Trans.d.ts +1 -1
- package/types/excalidraw/components/UserList.d.ts +1 -1
- package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +3 -2
- package/types/excalidraw/components/canvases/StaticCanvas.d.ts +2 -2
- package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -0
- package/types/excalidraw/components/footer/Footer.d.ts +2 -2
- package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
- package/types/excalidraw/components/hyperlink/helpers.d.ts +3 -3
- package/types/excalidraw/components/icons.d.ts +6 -1
- package/types/excalidraw/components/main-menu/DefaultItems.d.ts +12 -2
- package/types/excalidraw/constants.d.ts +5 -2
- package/types/excalidraw/context/ui-appState.d.ts +1 -1
- package/types/excalidraw/cursor.d.ts +1 -1
- package/types/excalidraw/data/EditorLocalStorage.d.ts +2 -2
- package/types/excalidraw/data/blob.d.ts +5 -5
- package/types/excalidraw/data/filesystem.d.ts +2 -1
- package/types/excalidraw/data/index.d.ts +4 -4
- package/types/excalidraw/data/json.d.ts +3 -3
- package/types/excalidraw/data/library.d.ts +3 -3
- package/types/excalidraw/data/magic.d.ts +3 -3
- package/types/excalidraw/data/reconcile.d.ts +6 -0
- package/types/excalidraw/data/resave.d.ts +2 -2
- package/types/excalidraw/data/restore.d.ts +5 -5
- package/types/excalidraw/data/transform.d.ts +4 -4
- package/types/excalidraw/data/types.d.ts +3 -3
- package/types/excalidraw/data/url.d.ts +1 -0
- package/types/excalidraw/element/ElementCanvasButtons.d.ts +1 -1
- package/types/excalidraw/element/binding.d.ts +52 -9
- package/types/excalidraw/element/bounds.d.ts +3 -4
- package/types/excalidraw/element/collision.d.ts +14 -19
- package/types/excalidraw/element/containerCache.d.ts +1 -1
- package/types/excalidraw/element/dragElements.d.ts +3 -3
- package/types/excalidraw/element/embeddable.d.ts +9 -6
- package/types/excalidraw/element/image.d.ts +2 -2
- package/types/excalidraw/element/index.d.ts +2 -3
- package/types/excalidraw/element/linearElementEditor.d.ts +12 -12
- package/types/excalidraw/element/mutateElement.d.ts +4 -5
- package/types/excalidraw/element/newElement.d.ts +4 -11
- package/types/excalidraw/element/resizeElements.d.ts +4 -4
- package/types/excalidraw/element/resizeTest.d.ts +7 -7
- package/types/excalidraw/element/showSelectedShapeActions.d.ts +2 -2
- package/types/excalidraw/element/sizeHelpers.d.ts +2 -2
- package/types/excalidraw/element/sortElements.d.ts +1 -1
- package/types/excalidraw/element/textElement.d.ts +5 -6
- package/types/excalidraw/element/textWysiwyg.d.ts +10 -5
- package/types/excalidraw/element/transformHandles.d.ts +24 -6
- package/types/excalidraw/element/typeChecks.d.ts +4 -4
- package/types/excalidraw/element/types.d.ts +33 -10
- package/types/excalidraw/emitter.d.ts +1 -1
- package/types/excalidraw/errors.d.ts +3 -0
- package/types/excalidraw/fractionalIndex.d.ts +40 -0
- package/types/excalidraw/frame.d.ts +4 -4
- package/types/excalidraw/gatransforms.d.ts +1 -1
- package/types/excalidraw/gesture.d.ts +1 -1
- package/types/excalidraw/groups.d.ts +5 -3
- package/types/excalidraw/history.d.ts +35 -47
- package/types/excalidraw/hooks/useEmitter.d.ts +2 -0
- package/types/excalidraw/hooks/useLibraryItemSvg.d.ts +1 -1
- package/types/excalidraw/i18n.d.ts +1 -1
- package/types/excalidraw/index.d.ts +5 -1
- package/types/excalidraw/jotai.d.ts +1 -1
- package/types/excalidraw/laser-trails.d.ts +3 -2
- package/types/excalidraw/math.d.ts +2 -2
- package/types/excalidraw/points.d.ts +1 -1
- package/types/excalidraw/queue.d.ts +1 -1
- package/types/excalidraw/renderer/helpers.d.ts +2 -2
- package/types/excalidraw/renderer/interactiveScene.d.ts +2 -2
- package/types/excalidraw/renderer/renderElement.d.ts +3 -3
- package/types/excalidraw/renderer/renderSnaps.d.ts +1 -1
- package/types/excalidraw/renderer/staticScene.d.ts +1 -1
- package/types/excalidraw/renderer/staticSvgScene.d.ts +4 -4
- package/types/excalidraw/scene/Fonts.d.ts +2 -4
- package/types/excalidraw/scene/Renderer.d.ts +4 -4
- package/types/excalidraw/scene/Scene.d.ts +19 -12
- package/types/excalidraw/scene/Shape.d.ts +1 -1
- package/types/excalidraw/scene/ShapeCache.d.ts +4 -4
- package/types/excalidraw/scene/comparisons.d.ts +2 -2
- package/types/excalidraw/scene/export.d.ts +2 -2
- package/types/excalidraw/scene/scroll.d.ts +2 -2
- package/types/excalidraw/scene/scrollbars.d.ts +3 -3
- package/types/excalidraw/scene/selection.d.ts +2 -2
- package/types/excalidraw/scene/types.d.ts +5 -4
- package/types/excalidraw/scene/zoom.d.ts +1 -1
- package/types/excalidraw/snapping.d.ts +4 -4
- package/types/excalidraw/store.d.ts +99 -0
- package/types/excalidraw/types.d.ts +38 -20
- package/types/excalidraw/utils.d.ts +11 -4
- package/types/excalidraw/webpack.prod.config.d.ts +1 -1
- package/types/excalidraw/zindex.d.ts +4 -4
- package/types/utils/bbox.d.ts +2 -2
- package/types/utils/collision.d.ts +4 -0
- package/types/utils/export.d.ts +4 -4
- package/types/utils/geometry/geometry.d.ts +71 -0
- package/types/utils/geometry/shape.d.ts +56 -0
- package/types/utils/withinBounds.d.ts +1 -1
|
@@ -179,6 +179,7 @@
|
|
|
179
179
|
--color-gray-85: #242424;
|
|
180
180
|
--color-gray-90: #1e1e1e;
|
|
181
181
|
--color-gray-100: #121212;
|
|
182
|
+
--color-disabled: var(--color-gray-40);
|
|
182
183
|
--color-warning: #fceeca;
|
|
183
184
|
--color-warning-dark: #f5c354;
|
|
184
185
|
--color-warning-darker: #f3ab2c;
|
|
@@ -202,7 +203,7 @@
|
|
|
202
203
|
--color-muted-darkest: var(--color-gray-100);
|
|
203
204
|
--color-muted-background: var(--color-gray-80);
|
|
204
205
|
--color-muted-background-darker: var(--color-gray-100);
|
|
205
|
-
--color-promo:
|
|
206
|
+
--color-promo: var(--color-primary);
|
|
206
207
|
--color-success: #268029;
|
|
207
208
|
--color-success-lighter: #cafccc;
|
|
208
209
|
--color-logo-icon: var(--color-primary);
|
|
@@ -278,6 +279,7 @@
|
|
|
278
279
|
--color-primary-light: #4f4d6f;
|
|
279
280
|
--color-primary-light-darker: #43415e;
|
|
280
281
|
--color-primary-hover: #bbb8ff;
|
|
282
|
+
--color-disabled: var(--color-gray-70);
|
|
281
283
|
--color-text-warning: var(--color-gray-80);
|
|
282
284
|
--color-danger: #ffa8a5;
|
|
283
285
|
--color-danger-dark: #672120;
|
|
@@ -297,7 +299,6 @@
|
|
|
297
299
|
--color-muted-darkest: var(--color-gray-20);
|
|
298
300
|
--color-muted-background: var(--color-gray-40);
|
|
299
301
|
--color-muted-background-darker: var(--color-gray-20);
|
|
300
|
-
--color-promo: #d297ff;
|
|
301
302
|
--color-logo-text: #e2dfff;
|
|
302
303
|
--color-surface-high: hsl(245, 10%, 21%);
|
|
303
304
|
--color-surface-low: hsl(240, 8%, 15%);
|
|
@@ -368,8 +369,7 @@
|
|
|
368
369
|
position: relative;
|
|
369
370
|
cursor: pointer;
|
|
370
371
|
-webkit-tap-highlight-color: transparent;
|
|
371
|
-
|
|
372
|
-
user-select: none;
|
|
372
|
+
user-select: none;
|
|
373
373
|
}
|
|
374
374
|
.excalidraw .ToolIcon__hidden {
|
|
375
375
|
display: none !important;
|
|
@@ -406,6 +406,13 @@
|
|
|
406
406
|
.excalidraw .ToolIcon .ToolIcon__icon:active svg {
|
|
407
407
|
color: var(--color-on-primary-container);
|
|
408
408
|
}
|
|
409
|
+
.excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] {
|
|
410
|
+
background: initial;
|
|
411
|
+
border: none;
|
|
412
|
+
}
|
|
413
|
+
.excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] svg {
|
|
414
|
+
color: var(--color-disabled);
|
|
415
|
+
}
|
|
409
416
|
.excalidraw .ToolIcon--plain {
|
|
410
417
|
background-color: transparent;
|
|
411
418
|
}
|
|
@@ -455,8 +462,7 @@
|
|
|
455
462
|
font-size: 0.8em;
|
|
456
463
|
}
|
|
457
464
|
.excalidraw .ToolIcon_type_button,
|
|
458
|
-
.excalidraw .Modal .ToolIcon_type_button
|
|
459
|
-
.excalidraw .ToolIcon_type_button {
|
|
465
|
+
.excalidraw .Modal .ToolIcon_type_button {
|
|
460
466
|
padding: 0;
|
|
461
467
|
border: none;
|
|
462
468
|
margin: 0;
|
|
@@ -464,33 +470,43 @@
|
|
|
464
470
|
background-color: initial;
|
|
465
471
|
}
|
|
466
472
|
.excalidraw .ToolIcon_type_button:focus-visible,
|
|
467
|
-
.excalidraw .Modal .ToolIcon_type_button:focus-visible
|
|
468
|
-
.excalidraw .ToolIcon_type_button:focus-visible {
|
|
473
|
+
.excalidraw .Modal .ToolIcon_type_button:focus-visible {
|
|
469
474
|
box-shadow: 0 0 0 2px var(--focus-highlight-color);
|
|
470
475
|
}
|
|
471
476
|
.excalidraw .ToolIcon_type_button.ToolIcon--selected,
|
|
472
|
-
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected
|
|
473
|
-
.excalidraw .ToolIcon_type_button.ToolIcon--selected {
|
|
477
|
+
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected {
|
|
474
478
|
background-color: var(--button-gray-2);
|
|
475
479
|
}
|
|
476
480
|
.excalidraw .ToolIcon_type_button.ToolIcon--selected:active,
|
|
477
|
-
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active
|
|
478
|
-
.excalidraw .ToolIcon_type_button.ToolIcon--selected:active {
|
|
481
|
+
.excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active {
|
|
479
482
|
background-color: var(--button-gray-3);
|
|
480
483
|
}
|
|
481
484
|
.excalidraw .ToolIcon_type_button:active,
|
|
482
|
-
.excalidraw .Modal .ToolIcon_type_button:active
|
|
483
|
-
.excalidraw .ToolIcon_type_button:active {
|
|
485
|
+
.excalidraw .Modal .ToolIcon_type_button:active {
|
|
484
486
|
background-color: var(--button-gray-3);
|
|
485
487
|
}
|
|
488
|
+
.excalidraw .ToolIcon_type_button:disabled,
|
|
489
|
+
.excalidraw .Modal .ToolIcon_type_button:disabled {
|
|
490
|
+
cursor: default;
|
|
491
|
+
}
|
|
492
|
+
.excalidraw .ToolIcon_type_button:disabled:active, .excalidraw .ToolIcon_type_button:disabled:focus-visible, .excalidraw .ToolIcon_type_button:disabled:hover,
|
|
493
|
+
.excalidraw .Modal .ToolIcon_type_button:disabled:active,
|
|
494
|
+
.excalidraw .Modal .ToolIcon_type_button:disabled:focus-visible,
|
|
495
|
+
.excalidraw .Modal .ToolIcon_type_button:disabled:hover {
|
|
496
|
+
background-color: initial;
|
|
497
|
+
border: none;
|
|
498
|
+
box-shadow: none;
|
|
499
|
+
}
|
|
500
|
+
.excalidraw .ToolIcon_type_button:disabled svg,
|
|
501
|
+
.excalidraw .Modal .ToolIcon_type_button:disabled svg {
|
|
502
|
+
color: var(--color-disabled);
|
|
503
|
+
}
|
|
486
504
|
.excalidraw .ToolIcon_type_button--show,
|
|
487
|
-
.excalidraw .Modal .ToolIcon_type_button--show
|
|
488
|
-
.excalidraw .ToolIcon_type_button--show {
|
|
505
|
+
.excalidraw .Modal .ToolIcon_type_button--show {
|
|
489
506
|
visibility: visible;
|
|
490
507
|
}
|
|
491
508
|
.excalidraw .ToolIcon_type_button--hide,
|
|
492
|
-
.excalidraw .Modal .ToolIcon_type_button--hide
|
|
493
|
-
.excalidraw .ToolIcon_type_button--hide {
|
|
509
|
+
.excalidraw .Modal .ToolIcon_type_button--hide {
|
|
494
510
|
display: none !important;
|
|
495
511
|
}
|
|
496
512
|
.excalidraw .ToolIcon_type_floating {
|
|
@@ -520,8 +536,7 @@
|
|
|
520
536
|
font-size: 0.625rem;
|
|
521
537
|
color: var(--keybinding-color);
|
|
522
538
|
font-family: var(--ui-font);
|
|
523
|
-
|
|
524
|
-
user-select: none;
|
|
539
|
+
user-select: none;
|
|
525
540
|
}
|
|
526
541
|
:root[dir=ltr] .excalidraw .unlocked-icon {
|
|
527
542
|
left: 2px;
|
|
@@ -1237,8 +1252,7 @@
|
|
|
1237
1252
|
display: flex;
|
|
1238
1253
|
align-items: center;
|
|
1239
1254
|
cursor: pointer;
|
|
1240
|
-
|
|
1241
|
-
user-select: none;
|
|
1255
|
+
user-select: none;
|
|
1242
1256
|
-webkit-tap-highlight-color: transparent;
|
|
1243
1257
|
}
|
|
1244
1258
|
.excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus) {
|
|
@@ -1417,8 +1431,7 @@
|
|
|
1417
1431
|
}
|
|
1418
1432
|
|
|
1419
1433
|
.excalidraw .Dialog {
|
|
1420
|
-
|
|
1421
|
-
user-select: text;
|
|
1434
|
+
user-select: text;
|
|
1422
1435
|
cursor: auto;
|
|
1423
1436
|
}
|
|
1424
1437
|
.excalidraw .Dialog__title {
|
|
@@ -1640,8 +1653,7 @@
|
|
|
1640
1653
|
font-family: inherit;
|
|
1641
1654
|
font-size: 0.875rem;
|
|
1642
1655
|
font-weight: 600;
|
|
1643
|
-
|
|
1644
|
-
user-select: none;
|
|
1656
|
+
user-select: none;
|
|
1645
1657
|
}
|
|
1646
1658
|
.excalidraw .Dialog__action-button svg {
|
|
1647
1659
|
display: block;
|
|
@@ -1895,6 +1907,11 @@
|
|
|
1895
1907
|
margin-inline-start: auto;
|
|
1896
1908
|
opacity: 0.5;
|
|
1897
1909
|
}
|
|
1910
|
+
.excalidraw .dropdown-menu .dropdown-menu-item__shortcut--orphaned {
|
|
1911
|
+
text-align: right;
|
|
1912
|
+
font-size: 0.875rem;
|
|
1913
|
+
padding: 0 0.625rem;
|
|
1914
|
+
}
|
|
1898
1915
|
.excalidraw .dropdown-menu .dropdown-menu-item:hover {
|
|
1899
1916
|
background-color: var(--button-hover) !important;
|
|
1900
1917
|
text-decoration: none;
|
|
@@ -1908,6 +1925,21 @@
|
|
|
1908
1925
|
height: 1rem;
|
|
1909
1926
|
display: block;
|
|
1910
1927
|
}
|
|
1928
|
+
.excalidraw .dropdown-menu .dropdown-menu-item-bare {
|
|
1929
|
+
align-items: center;
|
|
1930
|
+
height: 2rem;
|
|
1931
|
+
justify-content: space-between;
|
|
1932
|
+
}
|
|
1933
|
+
@media screen and (min-width: 1921px) {
|
|
1934
|
+
.excalidraw .dropdown-menu .dropdown-menu-item-bare {
|
|
1935
|
+
height: 2.25rem;
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
.excalidraw .dropdown-menu .dropdown-menu-item-bare svg {
|
|
1939
|
+
width: 1rem;
|
|
1940
|
+
height: 1rem;
|
|
1941
|
+
display: block;
|
|
1942
|
+
}
|
|
1911
1943
|
.excalidraw .dropdown-menu .dropdown-menu-item-custom {
|
|
1912
1944
|
margin-top: 0.5rem;
|
|
1913
1945
|
}
|
|
@@ -2376,8 +2408,7 @@
|
|
|
2376
2408
|
line-height: 150%;
|
|
2377
2409
|
color: var(--ExcTextField--label-color);
|
|
2378
2410
|
margin-bottom: 0.25rem;
|
|
2379
|
-
|
|
2380
|
-
user-select: none;
|
|
2411
|
+
user-select: none;
|
|
2381
2412
|
}
|
|
2382
2413
|
.excalidraw .ExcTextField__input {
|
|
2383
2414
|
box-sizing: border-box;
|
|
@@ -2525,8 +2556,7 @@
|
|
|
2525
2556
|
}
|
|
2526
2557
|
|
|
2527
2558
|
.excalidraw .command-palette-dialog {
|
|
2528
|
-
|
|
2529
|
-
user-select: none;
|
|
2559
|
+
user-select: none;
|
|
2530
2560
|
}
|
|
2531
2561
|
.excalidraw .command-palette-dialog .Modal__content {
|
|
2532
2562
|
height: auto;
|
|
@@ -2586,8 +2616,7 @@
|
|
|
2586
2616
|
box-sizing: border-box;
|
|
2587
2617
|
margin-top: 12px;
|
|
2588
2618
|
color: var(--popup-text-color);
|
|
2589
|
-
|
|
2590
|
-
user-select: none;
|
|
2619
|
+
user-select: none;
|
|
2591
2620
|
}
|
|
2592
2621
|
.excalidraw .command-palette-dialog .commands .command-category {
|
|
2593
2622
|
display: flex;
|
|
@@ -2654,8 +2683,7 @@
|
|
|
2654
2683
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
|
|
2655
2684
|
padding: 0;
|
|
2656
2685
|
list-style: none;
|
|
2657
|
-
|
|
2658
|
-
user-select: none;
|
|
2686
|
+
user-select: none;
|
|
2659
2687
|
margin: -0.25rem 0 0 0.125rem;
|
|
2660
2688
|
padding: 0.5rem 0;
|
|
2661
2689
|
background-color: var(--popup-secondary-bg-color);
|
|
@@ -2772,8 +2800,7 @@
|
|
|
2772
2800
|
font-weight: 600;
|
|
2773
2801
|
font-size: 0.75rem;
|
|
2774
2802
|
line-height: 100%;
|
|
2775
|
-
|
|
2776
|
-
user-select: none;
|
|
2803
|
+
user-select: none;
|
|
2777
2804
|
letter-spacing: 0.4px;
|
|
2778
2805
|
transition: all 75ms ease-out;
|
|
2779
2806
|
}
|
|
@@ -2919,8 +2946,7 @@
|
|
|
2919
2946
|
display: flex;
|
|
2920
2947
|
flex-direction: row;
|
|
2921
2948
|
justify-content: space-between;
|
|
2922
|
-
|
|
2923
|
-
user-select: none;
|
|
2949
|
+
user-select: none;
|
|
2924
2950
|
}
|
|
2925
2951
|
.excalidraw .ImageExportModal h3 {
|
|
2926
2952
|
font-family: "Assistant";
|
|
@@ -3074,8 +3100,7 @@
|
|
|
3074
3100
|
border-width: 1px;
|
|
3075
3101
|
border-style: solid;
|
|
3076
3102
|
font-family: var(--font-family);
|
|
3077
|
-
|
|
3078
|
-
user-select: none;
|
|
3103
|
+
user-select: none;
|
|
3079
3104
|
}
|
|
3080
3105
|
.excalidraw .ExcButton:hover {
|
|
3081
3106
|
transition: all 150ms ease-out;
|
|
@@ -3889,7 +3914,6 @@
|
|
|
3889
3914
|
}
|
|
3890
3915
|
}
|
|
3891
3916
|
.excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName {
|
|
3892
|
-
width: -moz-fit-content;
|
|
3893
3917
|
width: fit-content;
|
|
3894
3918
|
margin: 1em auto;
|
|
3895
3919
|
align-items: flex-start;
|
|
@@ -4787,6 +4811,11 @@
|
|
|
4787
4811
|
/*!*****************************************************************************************************************************************************************************************************!*\
|
|
4788
4812
|
!*** css ../../node_modules/css-loader/dist/cjs.js!../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../node_modules/sass-loader/dist/cjs.js!./components/SVGLayer.scss ***!
|
|
4789
4813
|
\*****************************************************************************************************************************************************************************************************/
|
|
4814
|
+
:export {
|
|
4815
|
+
themeFilter: invert(93%) hue-rotate(180deg);
|
|
4816
|
+
rightSidebarWidth: 302px;
|
|
4817
|
+
}
|
|
4818
|
+
|
|
4790
4819
|
.excalidraw .SVGLayer {
|
|
4791
4820
|
pointer-events: none;
|
|
4792
4821
|
width: 100vw;
|
|
@@ -4794,7 +4823,7 @@
|
|
|
4794
4823
|
position: fixed;
|
|
4795
4824
|
top: 0;
|
|
4796
4825
|
left: 0;
|
|
4797
|
-
z-index:
|
|
4826
|
+
z-index: var(--zIndex-svgLayer);
|
|
4798
4827
|
}
|
|
4799
4828
|
.excalidraw .SVGLayer svg {
|
|
4800
4829
|
image-rendering: auto;
|
|
@@ -4882,8 +4911,7 @@
|
|
|
4882
4911
|
clip: rect(1px, 1px, 1px, 1px);
|
|
4883
4912
|
white-space: nowrap;
|
|
4884
4913
|
/* added line */
|
|
4885
|
-
|
|
4886
|
-
user-select: none;
|
|
4914
|
+
user-select: none;
|
|
4887
4915
|
}
|
|
4888
4916
|
|
|
4889
4917
|
.LoadingMessage {
|
|
@@ -5004,6 +5032,7 @@
|
|
|
5004
5032
|
--color-gray-85: #242424;
|
|
5005
5033
|
--color-gray-90: #1e1e1e;
|
|
5006
5034
|
--color-gray-100: #121212;
|
|
5035
|
+
--color-disabled: var(--color-gray-40);
|
|
5007
5036
|
--color-warning: #fceeca;
|
|
5008
5037
|
--color-warning-dark: #f5c354;
|
|
5009
5038
|
--color-warning-darker: #f3ab2c;
|
|
@@ -5027,7 +5056,7 @@
|
|
|
5027
5056
|
--color-muted-darkest: var(--color-gray-100);
|
|
5028
5057
|
--color-muted-background: var(--color-gray-80);
|
|
5029
5058
|
--color-muted-background-darker: var(--color-gray-100);
|
|
5030
|
-
--color-promo:
|
|
5059
|
+
--color-promo: var(--color-primary);
|
|
5031
5060
|
--color-success: #268029;
|
|
5032
5061
|
--color-success-lighter: #cafccc;
|
|
5033
5062
|
--color-logo-icon: var(--color-primary);
|
|
@@ -5103,6 +5132,7 @@
|
|
|
5103
5132
|
--color-primary-light: #4f4d6f;
|
|
5104
5133
|
--color-primary-light-darker: #43415e;
|
|
5105
5134
|
--color-primary-hover: #bbb8ff;
|
|
5135
|
+
--color-disabled: var(--color-gray-70);
|
|
5106
5136
|
--color-text-warning: var(--color-gray-80);
|
|
5107
5137
|
--color-danger: #ffa8a5;
|
|
5108
5138
|
--color-danger-dark: #672120;
|
|
@@ -5122,7 +5152,6 @@
|
|
|
5122
5152
|
--color-muted-darkest: var(--color-gray-20);
|
|
5123
5153
|
--color-muted-background: var(--color-gray-40);
|
|
5124
5154
|
--color-muted-background-darker: var(--color-gray-20);
|
|
5125
|
-
--color-promo: #d297ff;
|
|
5126
5155
|
--color-logo-text: #e2dfff;
|
|
5127
5156
|
--color-surface-high: hsl(245, 10%, 21%);
|
|
5128
5157
|
--color-surface-low: hsl(240, 8%, 15%);
|
|
@@ -5141,6 +5170,7 @@
|
|
|
5141
5170
|
:root {
|
|
5142
5171
|
--zIndex-canvas: 1;
|
|
5143
5172
|
--zIndex-interactiveCanvas: 2;
|
|
5173
|
+
--zIndex-svgLayer: 3;
|
|
5144
5174
|
--zIndex-wysiwyg: 3;
|
|
5145
5175
|
--zIndex-canvasButtons: 3;
|
|
5146
5176
|
--zIndex-layerUI: 4;
|
|
@@ -5170,14 +5200,12 @@
|
|
|
5170
5200
|
right: 0;
|
|
5171
5201
|
height: 100%;
|
|
5172
5202
|
width: 100%;
|
|
5173
|
-
|
|
5174
|
-
user-select: none;
|
|
5203
|
+
user-select: none;
|
|
5175
5204
|
/*zsviczian*/
|
|
5176
5205
|
}
|
|
5177
5206
|
.excalidraw button {
|
|
5178
5207
|
cursor: pointer;
|
|
5179
|
-
|
|
5180
|
-
user-select: none;
|
|
5208
|
+
user-select: none;
|
|
5181
5209
|
}
|
|
5182
5210
|
.excalidraw:focus {
|
|
5183
5211
|
outline: none;
|
|
@@ -5187,8 +5215,7 @@
|
|
|
5187
5215
|
font-weight: 500;
|
|
5188
5216
|
text-decoration: none;
|
|
5189
5217
|
color: var(--link-color);
|
|
5190
|
-
|
|
5191
|
-
user-select: none;
|
|
5218
|
+
user-select: none;
|
|
5192
5219
|
cursor: pointer;
|
|
5193
5220
|
}
|
|
5194
5221
|
.excalidraw .excalidraw-link:hover,
|
|
@@ -5789,8 +5816,7 @@
|
|
|
5789
5816
|
display: flex;
|
|
5790
5817
|
align-items: center;
|
|
5791
5818
|
justify-content: center;
|
|
5792
|
-
|
|
5793
|
-
user-select: text;
|
|
5819
|
+
user-select: text;
|
|
5794
5820
|
}
|
|
5795
5821
|
.ErrorSplash.excalidraw .ErrorSplash-messageContainer {
|
|
5796
5822
|
display: flex;
|
|
@@ -6082,9 +6108,8 @@
|
|
|
6082
6108
|
text-decoration: none;
|
|
6083
6109
|
background: var(--button-hover-bg);
|
|
6084
6110
|
}
|
|
6085
|
-
.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut
|
|
6086
|
-
|
|
6087
|
-
}
|
|
6111
|
+
.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut,
|
|
6112
|
+
.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__icon,
|
|
6088
6113
|
.excalidraw .welcome-screen-menu-item:hover .welcome-screen-menu-item__text {
|
|
6089
6114
|
color: var(--color-gray-100);
|
|
6090
6115
|
}
|
|
@@ -6092,9 +6117,8 @@
|
|
|
6092
6117
|
background: var(--button-hover-bg);
|
|
6093
6118
|
border-color: var(--color-brand-active);
|
|
6094
6119
|
}
|
|
6095
|
-
.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__shortcut
|
|
6096
|
-
|
|
6097
|
-
}
|
|
6120
|
+
.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__shortcut,
|
|
6121
|
+
.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__icon,
|
|
6098
6122
|
.excalidraw .welcome-screen-menu-item:active .welcome-screen-menu-item__text {
|
|
6099
6123
|
color: var(--color-gray-100);
|
|
6100
6124
|
}
|
|
@@ -6113,12 +6137,13 @@
|
|
|
6113
6137
|
.excalidraw.theme--dark .welcome-screen-menu-item:hover {
|
|
6114
6138
|
background-color: var(--color-surface-low);
|
|
6115
6139
|
}
|
|
6116
|
-
.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-
|
|
6117
|
-
|
|
6118
|
-
}
|
|
6140
|
+
.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__icon,
|
|
6141
|
+
.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__shortcut,
|
|
6119
6142
|
.excalidraw.theme--dark .welcome-screen-menu-item:hover .welcome-screen-menu-item__text {
|
|
6120
6143
|
color: var(--color-gray-10);
|
|
6121
6144
|
}
|
|
6145
|
+
.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__icon,
|
|
6146
|
+
.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__shortcut,
|
|
6122
6147
|
.excalidraw.theme--dark .welcome-screen-menu-item:active .welcome-screen-menu-item__text {
|
|
6123
6148
|
color: var(--color-gray-10);
|
|
6124
6149
|
}
|