@zsviczian/excalidraw 0.17.1-obsidian-19 → 0.17.1-obsidian-21

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 (95) hide show
  1. package/dist/excalidraw.development.js +267 -92
  2. package/dist/excalidraw.production.min.js +1 -1
  3. package/dist/styles.development.css +1103 -854
  4. package/dist/styles.production.css +16 -15
  5. package/package.json +5 -3
  6. package/types/excalidraw/actions/actionAddToLibrary.d.ts +20 -5
  7. package/types/excalidraw/actions/actionAlign.d.ts +39 -27
  8. package/types/excalidraw/actions/actionBoundText.d.ts +20 -10
  9. package/types/excalidraw/actions/actionCanvas.d.ts +148 -52
  10. package/types/excalidraw/actions/actionClipboard.d.ts +72 -30
  11. package/types/excalidraw/actions/actionDeleteSelected.d.ts +25 -9
  12. package/types/excalidraw/actions/actionDistribute.d.ts +10 -8
  13. package/types/excalidraw/actions/actionDuplicateSelection.d.ts +7 -7
  14. package/types/excalidraw/actions/actionElementLock.d.ts +24 -11
  15. package/types/excalidraw/actions/actionExport.d.ts +85 -32
  16. package/types/excalidraw/actions/actionFinalize.d.ts +19 -8
  17. package/types/excalidraw/actions/actionFlip.d.ts +13 -11
  18. package/types/excalidraw/actions/actionFrame.d.ts +30 -200
  19. package/types/excalidraw/actions/actionGroup.d.ts +15 -379
  20. package/types/excalidraw/actions/actionHistory.d.ts +3 -2
  21. package/types/excalidraw/actions/actionLinearEditor.d.ts +9 -3
  22. package/types/excalidraw/actions/actionLink.d.ts +12 -6
  23. package/types/excalidraw/actions/actionMenu.d.ts +25 -8
  24. package/types/excalidraw/actions/actionNavigate.d.ts +14 -3
  25. package/types/excalidraw/actions/actionProperties.d.ts +114 -32
  26. package/types/excalidraw/actions/actionSelectAll.d.ts +12 -5
  27. package/types/excalidraw/actions/actionStyles.d.ts +18 -14
  28. package/types/excalidraw/actions/actionToggleGridMode.d.ts +12 -5
  29. package/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +12 -6
  30. package/types/excalidraw/actions/actionToggleStats.d.ts +12 -5
  31. package/types/excalidraw/actions/actionToggleViewMode.d.ts +12 -5
  32. package/types/excalidraw/actions/actionToggleZenMode.d.ts +12 -5
  33. package/types/excalidraw/actions/actionZindex.d.ts +26 -23
  34. package/types/excalidraw/actions/manager.d.ts +3 -3
  35. package/types/excalidraw/actions/shortcuts.d.ts +2 -2
  36. package/types/excalidraw/actions/types.d.ts +10 -8
  37. package/types/excalidraw/appState.d.ts +4 -4
  38. package/types/excalidraw/change.d.ts +191 -0
  39. package/types/excalidraw/clients.d.ts +10 -1
  40. package/types/excalidraw/components/Actions.d.ts +3 -1
  41. package/types/excalidraw/components/App.d.ts +23 -9
  42. package/types/excalidraw/components/Avatar.d.ts +2 -3
  43. package/types/excalidraw/components/CommandPalette/CommandPalette.d.ts +18 -0
  44. package/types/excalidraw/components/CommandPalette/defaultCommandPaletteItems.d.ts +2 -0
  45. package/types/excalidraw/components/CommandPalette/types.d.ts +25 -0
  46. package/types/excalidraw/components/InlineIcon.d.ts +1 -1
  47. package/types/excalidraw/components/RadioGroup.d.ts +2 -1
  48. package/types/excalidraw/components/ToolButton.d.ts +1 -0
  49. package/types/excalidraw/components/UserList.d.ts +3 -7
  50. package/types/excalidraw/components/canvases/InteractiveCanvas.d.ts +2 -1
  51. package/types/excalidraw/components/dropdownMenu/DropdownMenuItemContentRadio.d.ts +17 -0
  52. package/types/excalidraw/components/hyperlink/Hyperlink.d.ts +2 -2
  53. package/types/excalidraw/components/icons.d.ts +26 -1
  54. package/types/excalidraw/components/main-menu/DefaultItems.d.ts +15 -1
  55. package/types/excalidraw/constants.d.ts +8 -0
  56. package/types/excalidraw/data/reconcile.d.ts +6 -0
  57. package/types/excalidraw/data/restore.d.ts +3 -3
  58. package/types/excalidraw/data/transform.d.ts +1 -1
  59. package/types/excalidraw/data/url.d.ts +1 -0
  60. package/types/excalidraw/deburr.d.ts +1 -0
  61. package/types/excalidraw/element/binding.d.ts +52 -9
  62. package/types/excalidraw/element/bounds.d.ts +0 -1
  63. package/types/excalidraw/element/collision.d.ts +14 -19
  64. package/types/excalidraw/element/embeddable.d.ts +14 -4
  65. package/types/excalidraw/element/index.d.ts +0 -1
  66. package/types/excalidraw/element/linearElementEditor.d.ts +17 -12
  67. package/types/excalidraw/element/mutateElement.d.ts +1 -2
  68. package/types/excalidraw/element/newElement.d.ts +1 -1
  69. package/types/excalidraw/element/resizeElements.d.ts +1 -1
  70. package/types/excalidraw/element/resizeTest.d.ts +4 -4
  71. package/types/excalidraw/element/textElement.d.ts +1 -7
  72. package/types/excalidraw/element/transformHandles.d.ts +22 -4
  73. package/types/excalidraw/element/typeChecks.d.ts +2 -2
  74. package/types/excalidraw/element/types.d.ts +22 -6
  75. package/types/excalidraw/errors.d.ts +3 -0
  76. package/types/excalidraw/fractionalIndex.d.ts +40 -0
  77. package/types/excalidraw/frame.d.ts +1 -1
  78. package/types/excalidraw/groups.d.ts +2 -0
  79. package/types/excalidraw/history.d.ts +34 -46
  80. package/types/excalidraw/hooks/useEmitter.d.ts +2 -0
  81. package/types/excalidraw/hooks/useStableCallback.d.ts +4 -0
  82. package/types/excalidraw/index.d.ts +3 -1
  83. package/types/excalidraw/keys.d.ts +1 -0
  84. package/types/excalidraw/renderer/interactiveScene.d.ts +1 -1
  85. package/types/excalidraw/scene/Scene.d.ts +7 -6
  86. package/types/excalidraw/scene/types.d.ts +11 -20
  87. package/types/excalidraw/store.d.ts +99 -0
  88. package/types/excalidraw/types.d.ts +39 -6
  89. package/types/excalidraw/utils.d.ts +7 -0
  90. package/types/excalidraw/webpack.prod.config.d.ts +1 -1
  91. package/types/excalidraw/zindex.d.ts +2 -2
  92. package/types/utils/collision.d.ts +4 -0
  93. package/types/utils/export.d.ts +2 -2
  94. package/types/utils/geometry/geometry.d.ts +71 -0
  95. package/types/utils/geometry/shape.d.ts +56 -0
@@ -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;
@@ -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;
@@ -368,8 +370,7 @@
368
370
  position: relative;
369
371
  cursor: pointer;
370
372
  -webkit-tap-highlight-color: transparent;
371
- -webkit-user-select: none;
372
- user-select: none;
373
+ user-select: none;
373
374
  }
374
375
  .excalidraw .ToolIcon__hidden {
375
376
  display: none !important;
@@ -406,6 +407,13 @@
406
407
  .excalidraw .ToolIcon .ToolIcon__icon:active svg {
407
408
  color: var(--color-on-primary-container);
408
409
  }
410
+ .excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] {
411
+ background: initial;
412
+ border: none;
413
+ }
414
+ .excalidraw .ToolIcon .ToolIcon__icon[aria-disabled=true] svg {
415
+ color: var(--color-disabled);
416
+ }
409
417
  .excalidraw .ToolIcon--plain {
410
418
  background-color: transparent;
411
419
  }
@@ -455,8 +463,7 @@
455
463
  font-size: 0.8em;
456
464
  }
457
465
  .excalidraw .ToolIcon_type_button,
458
- .excalidraw .Modal .ToolIcon_type_button,
459
- .excalidraw .ToolIcon_type_button {
466
+ .excalidraw .Modal .ToolIcon_type_button {
460
467
  padding: 0;
461
468
  border: none;
462
469
  margin: 0;
@@ -464,33 +471,43 @@
464
471
  background-color: initial;
465
472
  }
466
473
  .excalidraw .ToolIcon_type_button:focus-visible,
467
- .excalidraw .Modal .ToolIcon_type_button:focus-visible,
468
- .excalidraw .ToolIcon_type_button:focus-visible {
474
+ .excalidraw .Modal .ToolIcon_type_button:focus-visible {
469
475
  box-shadow: 0 0 0 2px var(--focus-highlight-color);
470
476
  }
471
477
  .excalidraw .ToolIcon_type_button.ToolIcon--selected,
472
- .excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected,
473
- .excalidraw .ToolIcon_type_button.ToolIcon--selected {
478
+ .excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected {
474
479
  background-color: var(--button-gray-2);
475
480
  }
476
481
  .excalidraw .ToolIcon_type_button.ToolIcon--selected:active,
477
- .excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active,
478
- .excalidraw .ToolIcon_type_button.ToolIcon--selected:active {
482
+ .excalidraw .Modal .ToolIcon_type_button.ToolIcon--selected:active {
479
483
  background-color: var(--button-gray-3);
480
484
  }
481
485
  .excalidraw .ToolIcon_type_button:active,
482
- .excalidraw .Modal .ToolIcon_type_button:active,
483
- .excalidraw .ToolIcon_type_button:active {
486
+ .excalidraw .Modal .ToolIcon_type_button:active {
484
487
  background-color: var(--button-gray-3);
485
488
  }
489
+ .excalidraw .ToolIcon_type_button:disabled,
490
+ .excalidraw .Modal .ToolIcon_type_button:disabled {
491
+ cursor: default;
492
+ }
493
+ .excalidraw .ToolIcon_type_button:disabled:active, .excalidraw .ToolIcon_type_button:disabled:focus-visible, .excalidraw .ToolIcon_type_button:disabled:hover,
494
+ .excalidraw .Modal .ToolIcon_type_button:disabled:active,
495
+ .excalidraw .Modal .ToolIcon_type_button:disabled:focus-visible,
496
+ .excalidraw .Modal .ToolIcon_type_button:disabled:hover {
497
+ background-color: initial;
498
+ border: none;
499
+ box-shadow: none;
500
+ }
501
+ .excalidraw .ToolIcon_type_button:disabled svg,
502
+ .excalidraw .Modal .ToolIcon_type_button:disabled svg {
503
+ color: var(--color-disabled);
504
+ }
486
505
  .excalidraw .ToolIcon_type_button--show,
487
- .excalidraw .Modal .ToolIcon_type_button--show,
488
- .excalidraw .ToolIcon_type_button--show {
506
+ .excalidraw .Modal .ToolIcon_type_button--show {
489
507
  visibility: visible;
490
508
  }
491
509
  .excalidraw .ToolIcon_type_button--hide,
492
- .excalidraw .Modal .ToolIcon_type_button--hide,
493
- .excalidraw .ToolIcon_type_button--hide {
510
+ .excalidraw .Modal .ToolIcon_type_button--hide {
494
511
  display: none !important;
495
512
  }
496
513
  .excalidraw .ToolIcon_type_floating {
@@ -520,8 +537,7 @@
520
537
  font-size: 0.625rem;
521
538
  color: var(--keybinding-color);
522
539
  font-family: var(--ui-font);
523
- -webkit-user-select: none;
524
- user-select: none;
540
+ user-select: none;
525
541
  }
526
542
  :root[dir=ltr] .excalidraw .unlocked-icon {
527
543
  left: 2px;
@@ -1237,8 +1253,7 @@
1237
1253
  display: flex;
1238
1254
  align-items: center;
1239
1255
  cursor: pointer;
1240
- -webkit-user-select: none;
1241
- user-select: none;
1256
+ user-select: none;
1242
1257
  -webkit-tap-highlight-color: transparent;
1243
1258
  }
1244
1259
  .excalidraw .Checkbox:hover:not(.is-checked) .Checkbox-box:not(:focus) {
@@ -1304,8 +1319,8 @@
1304
1319
  }
1305
1320
 
1306
1321
  .excalidraw .Avatar {
1307
- width: 1.25rem;
1308
- height: 1.25rem;
1322
+ width: var(--avatar-size, 1.5rem);
1323
+ height: var(--avatar-size, 1.5rem);
1309
1324
  position: relative;
1310
1325
  border-radius: 100%;
1311
1326
  outline-offset: 2px;
@@ -1319,6 +1334,9 @@
1319
1334
  color: var(--color-gray-90);
1320
1335
  flex: 0 0 auto;
1321
1336
  }
1337
+ .excalidraw .Avatar:active {
1338
+ transform: scale(0.94);
1339
+ }
1322
1340
  .excalidraw .Avatar-img {
1323
1341
  width: 100%;
1324
1342
  height: 100%;
@@ -1331,13 +1349,13 @@
1331
1349
  right: -3px;
1332
1350
  bottom: -3px;
1333
1351
  left: -3px;
1334
- border: 1px solid var(--avatar-border-color);
1335
1352
  border-radius: 100%;
1336
1353
  }
1337
- .excalidraw .Avatar--is-followed::before {
1354
+ .excalidraw .Avatar.is-followed::before {
1338
1355
  border-color: var(--color-primary-hover);
1356
+ box-shadow: 0 0 0 1px var(--color-primary-hover);
1339
1357
  }
1340
- .excalidraw .Avatar--is-current-user {
1358
+ .excalidraw .Avatar.is-current-user {
1341
1359
  cursor: auto;
1342
1360
  }
1343
1361
  /*!****************************************************************************************************************************************************************************************************************!*\
@@ -1405,93 +1423,187 @@
1405
1423
  .excalidraw-hyperlinkContainer__buttons {
1406
1424
  flex: 0 0 auto;
1407
1425
  }
1408
- /*!********************************************************************************************************************************************************************************************************!*\
1409
- !*** 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/ContextMenu.scss ***!
1410
- \********************************************************************************************************************************************************************************************************/
1411
- @charset "UTF-8";
1426
+ /*!***************************************************************************************************************************************************************************************************!*\
1427
+ !*** 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/Dialog.scss ***!
1428
+ \***************************************************************************************************************************************************************************************************/
1412
1429
  :export {
1413
1430
  themeFilter: invert(93%) hue-rotate(180deg);
1414
1431
  rightSidebarWidth: 302px;
1415
1432
  }
1416
1433
 
1417
- .excalidraw .context-menu {
1418
- position: relative;
1419
- border-radius: 4px;
1420
- box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
1421
- padding: 0;
1422
- list-style: none;
1423
- -webkit-user-select: none;
1424
- user-select: none;
1425
- margin: -0.25rem 0 0 0.125rem;
1426
- padding: 0.5rem 0;
1427
- background-color: var(--popup-secondary-bg-color);
1428
- border: 1px solid var(--button-gray-3);
1429
- cursor: default;
1434
+ .excalidraw .Dialog {
1435
+ user-select: text;
1436
+ cursor: auto;
1430
1437
  }
1431
- .excalidraw .context-menu button {
1432
- color: var(--popup-text-color);
1438
+ .excalidraw .Dialog__title {
1439
+ margin: 0;
1440
+ text-align: left;
1441
+ font-size: 1.25rem;
1442
+ border-bottom: 1px solid var(--dialog-border-color);
1443
+ padding: 0 0 0.75rem;
1444
+ margin-bottom: 1.5rem;
1433
1445
  }
1434
- .excalidraw .context-menu-item {
1435
- position: relative;
1436
- width: 100%;
1437
- min-width: 9.5rem;
1446
+ .excalidraw .Dialog__close {
1447
+ color: var(--color-gray-40);
1438
1448
  margin: 0;
1439
- padding: 0.25rem 1rem 0.25rem 1.25rem;
1440
- text-align: start;
1441
- border-radius: 0;
1449
+ position: absolute;
1450
+ top: 0.75rem;
1451
+ right: 0.5rem;
1452
+ border: 0;
1442
1453
  background-color: transparent;
1443
- border: none;
1444
- white-space: nowrap;
1445
- font-family: inherit;
1446
- display: grid;
1447
- grid-template-columns: 1fr 0.2fr;
1448
- align-items: center;
1454
+ line-height: 0;
1455
+ cursor: pointer;
1449
1456
  }
1450
- .excalidraw .context-menu-item.checkmark::before {
1451
- position: absolute;
1452
- left: 6px;
1453
- margin-bottom: 1px;
1454
- content: "✓";
1457
+ .excalidraw .Dialog__close:hover {
1458
+ color: var(--color-gray-60);
1455
1459
  }
1456
- .excalidraw .context-menu-item.dangerous .context-menu-item__label {
1457
- color: #f03e3e;
1460
+ .excalidraw .Dialog__close:active {
1461
+ color: var(--color-gray-40);
1458
1462
  }
1459
- .excalidraw .context-menu-item .context-menu-item__label {
1460
- justify-self: start;
1461
- margin-inline-end: 20px;
1463
+ .excalidraw .Dialog__close svg {
1464
+ width: 1.5rem;
1465
+ height: 1.5rem;
1462
1466
  }
1463
- .excalidraw .context-menu-item .context-menu-item__shortcut {
1464
- justify-self: end;
1465
- opacity: 0.6;
1466
- font-family: inherit;
1467
- font-size: 0.7rem;
1467
+ .excalidraw .Dialog__close + .Dialog__content {
1468
+ --offset: 28px;
1469
+ height: calc(100% - var(--offset)) !important;
1470
+ margin-top: var(--offset) !important;
1468
1471
  }
1469
- .excalidraw .context-menu-item:hover {
1470
- background-color: var(--select-highlight-color);
1472
+ .excalidraw .Dialog--fullscreen .Dialog__close {
1473
+ top: 1.25rem;
1474
+ right: 1.25rem;
1471
1475
  }
1472
- .excalidraw .context-menu-item:hover.dangerous {
1473
- background-color: #fa5252;
1476
+ /*!***************************************************************************************************************************************************************************************************!*\
1477
+ !*** 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/Island.scss ***!
1478
+ \***************************************************************************************************************************************************************************************************/
1479
+ .excalidraw .Island {
1480
+ --padding: 0;
1481
+ box-sizing: border-box;
1482
+ background-color: var(--island-bg-color);
1483
+ box-shadow: var(--shadow-island);
1484
+ border-radius: var(--border-radius-lg);
1485
+ padding: calc(var(--padding) * var(--space-factor));
1486
+ position: relative;
1487
+ transition: box-shadow 0.5s ease-in-out;
1474
1488
  }
1475
- .excalidraw .context-menu-item:hover.dangerous .context-menu-item__label {
1476
- color: var(--popup-bg-color);
1489
+ .excalidraw .Island.zen-mode {
1490
+ box-shadow: none;
1477
1491
  }
1478
- .excalidraw .context-menu-item:focus {
1492
+ /*!**************************************************************************************************************************************************************************************************!*\
1493
+ !*** 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/Modal.scss ***!
1494
+ \**************************************************************************************************************************************************************************************************/
1495
+ :export {
1496
+ themeFilter: invert(93%) hue-rotate(180deg);
1497
+ rightSidebarWidth: 302px;
1498
+ }
1499
+
1500
+ .excalidraw.excalidraw-modal-container {
1501
+ position: absolute;
1502
+ z-index: var(--zIndex-modal);
1503
+ }
1504
+ .excalidraw .Modal {
1505
+ position: absolute;
1506
+ top: 0;
1507
+ left: 0;
1508
+ right: 0;
1509
+ bottom: 0;
1510
+ display: flex;
1511
+ align-items: center;
1512
+ justify-content: center;
1513
+ overflow: auto;
1514
+ padding: calc(var(--space-factor) * 10);
1515
+ display: flex;
1516
+ flex-direction: column;
1517
+ }
1518
+ .excalidraw .Modal .Island {
1519
+ padding: 2.5rem;
1520
+ border: 0;
1521
+ box-shadow: none;
1522
+ border-radius: 0;
1523
+ }
1524
+ .excalidraw .Modal.animations-disabled .Modal__background {
1525
+ animation: none;
1526
+ }
1527
+ .excalidraw .Modal.animations-disabled .Modal__content {
1528
+ animation: none;
1529
+ opacity: 1;
1530
+ }
1531
+ .excalidraw .Modal__background {
1532
+ position: absolute;
1533
+ top: 0;
1534
+ left: 0;
1535
+ right: 0;
1536
+ bottom: 0;
1479
1537
  z-index: 1;
1538
+ background-color: rgba(18, 18, 18, 0.2);
1539
+ animation: Modal__background__fade-in 0.1s linear forwards;
1480
1540
  }
1481
- .excalidraw--mobile.excalidraw .context-menu-item {
1482
- display: block;
1541
+ .excalidraw .Modal__content {
1542
+ position: relative;
1543
+ z-index: 2;
1544
+ width: 100%;
1545
+ max-width: var(--max-width);
1546
+ max-height: 100%;
1547
+ opacity: 0;
1548
+ transform: translateY(10px);
1549
+ animation: Modal__content_fade-in 0.025s ease-out 0s forwards;
1550
+ position: relative;
1551
+ overflow-y: auto;
1552
+ background: var(--island-bg-color);
1553
+ border: 1px solid var(--dialog-border-color);
1554
+ box-shadow: var(--modal-shadow);
1555
+ border-radius: 0.75rem;
1556
+ box-sizing: border-box;
1483
1557
  }
1484
- .excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__label {
1485
- margin-inline-end: 0;
1558
+ .excalidraw .Modal__content:focus {
1559
+ outline: none;
1486
1560
  }
1487
- .excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__shortcut {
1488
- display: none;
1561
+ @keyframes Modal__background__fade-in {
1562
+ from {
1563
+ opacity: 0;
1564
+ }
1565
+ to {
1566
+ opacity: 1;
1567
+ }
1489
1568
  }
1490
-
1491
- .excalidraw .context-menu-item-separator {
1492
- border: none;
1493
- border-top: 1px solid #adb5bd;
1569
+ @keyframes Modal__content_fade-in {
1570
+ from {
1571
+ opacity: 0;
1572
+ transform: scale(0.9);
1573
+ }
1574
+ to {
1575
+ opacity: 1;
1576
+ transform: scale(1);
1577
+ }
1578
+ }
1579
+ .excalidraw .Modal__close {
1580
+ color: var(--icon-fill-color);
1494
1581
  margin: 0;
1582
+ padding: 0.375rem;
1583
+ position: absolute;
1584
+ top: 1rem;
1585
+ right: 1rem;
1586
+ border: 0;
1587
+ background-color: transparent;
1588
+ line-height: 0;
1589
+ cursor: pointer;
1590
+ }
1591
+ .excalidraw .Modal__close svg {
1592
+ width: 1.5rem;
1593
+ height: 1.5rem;
1594
+ }
1595
+ .excalidraw .Dialog--fullscreen .Modal {
1596
+ padding: 0;
1597
+ }
1598
+ .excalidraw .Dialog--fullscreen .Modal__content {
1599
+ position: absolute;
1600
+ top: 0;
1601
+ left: 0;
1602
+ right: 0;
1603
+ bottom: 0;
1604
+ max-width: 100%;
1605
+ border: 0;
1606
+ border-radius: 0;
1495
1607
  }
1496
1608
  /*!**************************************************************************************************************************************************************************************************!*\
1497
1609
  !*** 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/Stack.scss ***!
@@ -1511,106 +1623,214 @@
1511
1623
  grid-auto-flow: column;
1512
1624
  grid-auto-columns: min-content;
1513
1625
  }
1514
- /*!****************************************************************************************************************************************************************************************************!*\
1515
- !*** 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/Actions.scss ***!
1516
- \****************************************************************************************************************************************************************************************************/
1517
- .zoom-actions,
1518
- .undo-redo-buttons {
1519
- background-color: var(--island-bg-color);
1520
- border-radius: var(--border-radius-lg);
1521
- box-shadow: 0 0 0 1px var(--color-surface-lowest);
1626
+ /*!**********************************************************************************************************************************************************************************************************!*\
1627
+ !*** 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/ConfirmDialog.scss ***!
1628
+ \**********************************************************************************************************************************************************************************************************/
1629
+ :export {
1630
+ themeFilter: invert(93%) hue-rotate(180deg);
1631
+ rightSidebarWidth: 302px;
1522
1632
  }
1523
1633
 
1524
- .zoom-button,
1525
- .undo-redo-buttons button {
1526
- border-radius: 0 !important;
1527
- background-color: var(--color-surface-low) !important;
1528
- font-size: 0.875rem !important;
1529
- width: var(--lg-button-size);
1530
- height: var(--lg-button-size);
1531
- }
1532
- .zoom-button svg,
1533
- .undo-redo-buttons button svg {
1534
- width: var(--lg-icon-size) !important;
1535
- height: var(--lg-icon-size) !important;
1634
+ .excalidraw .confirm-dialog-buttons {
1635
+ display: flex;
1636
+ column-gap: 0.5rem;
1637
+ justify-content: flex-end;
1536
1638
  }
1537
- .zoom-button .ToolIcon__icon,
1538
- .undo-redo-buttons button .ToolIcon__icon {
1539
- width: 100%;
1540
- height: 100%;
1639
+ /*!***************************************************************************************************************************************************************************************************************!*\
1640
+ !*** 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/DialogActionButton.scss ***!
1641
+ \***************************************************************************************************************************************************************************************************************/
1642
+ .excalidraw .Dialog__action-button {
1643
+ position: relative;
1644
+ display: flex;
1645
+ column-gap: 0.5rem;
1646
+ align-items: center;
1647
+ padding: 0.5rem 1.5rem;
1648
+ border: 1px solid var(--default-border-color);
1649
+ background-color: transparent;
1650
+ height: 3rem;
1651
+ border-radius: var(--border-radius-lg);
1652
+ letter-spacing: 0.4px;
1653
+ color: inherit;
1654
+ font-family: inherit;
1655
+ font-size: 0.875rem;
1656
+ font-weight: 600;
1657
+ user-select: none;
1541
1658
  }
1542
-
1543
- .reset-zoom-button {
1544
- border-left: 0 !important;
1545
- border-right: 0 !important;
1546
- padding: 0 0.625rem !important;
1547
- width: 3.25rem !important;
1548
- justify-content: center !important;
1549
- color: var(--text-primary-color);
1659
+ .excalidraw .Dialog__action-button svg {
1660
+ display: block;
1661
+ width: 1rem;
1662
+ height: 1rem;
1550
1663
  }
1551
-
1552
- .zoom-out-button {
1553
- border-top-left-radius: var(--border-radius-lg) !important;
1554
- border-bottom-left-radius: var(--border-radius-lg) !important;
1664
+ .excalidraw .Dialog__action-button--danger {
1665
+ background-color: var(--color-danger);
1666
+ border-color: var(--color-danger);
1667
+ color: #fff;
1555
1668
  }
1556
- :root[dir=rtl] .zoom-out-button {
1557
- transform: scaleX(-1);
1669
+ .excalidraw .Dialog__action-button--primary {
1670
+ background-color: var(--color-primary);
1671
+ border-color: var(--color-primary);
1672
+ color: #fff;
1558
1673
  }
1559
- .zoom-out-button .ToolIcon__icon {
1560
- border-top-right-radius: 0 !important;
1561
- border-bottom-right-radius: 0 !important;
1674
+ .excalidraw.theme--dark .Dialog__action-button--danger {
1675
+ color: var(--color-gray-100);
1676
+ }
1677
+ .excalidraw.theme--dark .Dialog__action-button--primary {
1678
+ color: var(--color-gray-100);
1679
+ }
1680
+ /*!***********************************************************************************************************************************************************************************************************!*\
1681
+ !*** 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/PublishLibrary.scss ***!
1682
+ \***********************************************************************************************************************************************************************************************************/
1683
+ :export {
1684
+ themeFilter: invert(93%) hue-rotate(180deg);
1685
+ rightSidebarWidth: 302px;
1562
1686
  }
1563
1687
 
1564
- .zoom-in-button {
1565
- border-top-right-radius: var(--border-radius-lg) !important;
1566
- border-bottom-right-radius: var(--border-radius-lg) !important;
1688
+ .excalidraw .publish-library__fields {
1689
+ display: flex;
1690
+ flex-direction: column;
1567
1691
  }
1568
- :root[dir=rtl] .zoom-in-button {
1569
- transform: scaleX(-1);
1692
+ .excalidraw .publish-library__fields label {
1693
+ padding: 1em 0;
1694
+ display: flex;
1695
+ justify-content: space-between;
1696
+ align-items: center;
1570
1697
  }
1571
- .zoom-in-button .ToolIcon__icon {
1572
- border-top-left-radius: 0 !important;
1573
- border-bottom-left-radius: 0 !important;
1698
+ .excalidraw .publish-library__fields label span {
1699
+ font-weight: 500;
1700
+ font-size: 1rem;
1701
+ color: #868e96;
1574
1702
  }
1575
-
1576
- .undo-redo-buttons .undo-button-container button {
1577
- border-top-left-radius: var(--border-radius-lg) !important;
1578
- border-bottom-left-radius: var(--border-radius-lg) !important;
1579
- border-right: 0 !important;
1703
+ .excalidraw .publish-library__fields label input,
1704
+ .excalidraw .publish-library__fields label textarea {
1705
+ width: 70%;
1706
+ padding: 0.6em;
1707
+ font-family: var(--ui-font);
1580
1708
  }
1581
- :root[dir=rtl] .undo-redo-buttons .undo-button-container button {
1582
- transform: scaleX(-1);
1709
+ .excalidraw .publish-library__fields label .required {
1710
+ color: #e03131;
1711
+ margin: 0.2rem;
1583
1712
  }
1584
- .undo-redo-buttons .undo-button-container button .ToolIcon__icon {
1585
- border-top-right-radius: 0 !important;
1586
- border-bottom-right-radius: 0 !important;
1713
+ .excalidraw .publish-library__buttons {
1714
+ display: flex;
1715
+ padding: 0.2rem 0;
1716
+ justify-content: flex-end;
1717
+ gap: 0.5rem;
1587
1718
  }
1588
- .undo-redo-buttons .redo-button-container button {
1589
- border-top-right-radius: var(--border-radius-lg) !important;
1590
- border-bottom-right-radius: var(--border-radius-lg) !important;
1719
+ .excalidraw .publish-library__buttons .ToolIcon__icon {
1720
+ min-width: 2.5rem;
1721
+ width: auto;
1722
+ font-size: 1rem;
1591
1723
  }
1592
- :root[dir=rtl] .undo-redo-buttons .redo-button-container button {
1593
- transform: scaleX(-1);
1724
+ .excalidraw .publish-library__buttons .ToolIcon_type_button {
1725
+ margin-left: 1rem;
1726
+ padding: 0 0.5rem;
1594
1727
  }
1595
- .undo-redo-buttons .redo-button-container button .ToolIcon__icon {
1596
- border-top-left-radius: 0 !important;
1597
- border-bottom-left-radius: 0 !important;
1728
+ .excalidraw .publish-library__buttons--confirm.ToolIcon_type_button {
1729
+ background-color: #228be6;
1598
1730
  }
1599
- /*!***************************************************************************************************************************************************************************************************!*\
1600
- !*** 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/Island.scss ***!
1601
- \***************************************************************************************************************************************************************************************************/
1602
- .excalidraw .Island {
1603
- --padding: 0;
1604
- box-sizing: border-box;
1605
- background-color: var(--island-bg-color);
1606
- box-shadow: var(--shadow-island);
1607
- border-radius: var(--border-radius-lg);
1608
- padding: calc(var(--padding) * var(--space-factor));
1731
+ .excalidraw .publish-library__buttons--confirm.ToolIcon_type_button:hover {
1732
+ background-color: #1971c2;
1733
+ }
1734
+ .excalidraw .publish-library__buttons--cancel.ToolIcon_type_button {
1735
+ background-color: #adb5bd;
1736
+ }
1737
+ .excalidraw .publish-library__buttons--cancel.ToolIcon_type_button:hover {
1738
+ background-color: #868e96;
1739
+ }
1740
+ .excalidraw .publish-library__buttons .ToolIcon__icon {
1741
+ color: #ffffff;
1742
+ }
1743
+ .excalidraw .publish-library__buttons .ToolIcon__icon .Spinner {
1744
+ --spinner-color: #fff;
1745
+ }
1746
+ .excalidraw .publish-library__buttons .ToolIcon__icon .Spinner svg {
1747
+ padding: 0.5rem;
1748
+ }
1749
+ .excalidraw .publish-library .selected-library-items {
1750
+ display: flex;
1751
+ flex-wrap: wrap;
1752
+ }
1753
+ .excalidraw .publish-library .selected-library-items .single-library-item-wrapper {
1754
+ width: 9rem;
1755
+ }
1756
+ .excalidraw .publish-library-warning {
1757
+ color: #fa5252;
1758
+ }
1759
+ .excalidraw .publish-library-note {
1760
+ padding: 1em 0;
1761
+ font-style: italic;
1762
+ font-size: 14px;
1763
+ display: block;
1764
+ }
1765
+ .excalidraw .single-library-item {
1609
1766
  position: relative;
1610
- transition: box-shadow 0.5s ease-in-out;
1611
1767
  }
1612
- .excalidraw .Island.zen-mode {
1613
- box-shadow: none;
1768
+ .excalidraw .single-library-item-status {
1769
+ position: absolute;
1770
+ top: 0.3rem;
1771
+ left: 0.3rem;
1772
+ font-size: 0.7rem;
1773
+ color: #f03e3e;
1774
+ background: rgba(255, 255, 255, 0.9);
1775
+ padding: 0.1rem 0.2rem;
1776
+ border-radius: 0.2rem;
1777
+ }
1778
+ .excalidraw .single-library-item__svg {
1779
+ background-color: #ffffff;
1780
+ padding: 0.3rem;
1781
+ width: 7.5rem;
1782
+ height: 7.5rem;
1783
+ border: 1px solid var(--button-gray-2);
1784
+ }
1785
+ .excalidraw .single-library-item__svg svg {
1786
+ width: 100%;
1787
+ height: 100%;
1788
+ }
1789
+ .excalidraw .single-library-item .ToolIcon__icon {
1790
+ background-color: #ffffff;
1791
+ width: auto;
1792
+ height: auto;
1793
+ margin: 0 0.5rem;
1794
+ }
1795
+ .excalidraw .single-library-item .ToolIcon,
1796
+ .excalidraw .single-library-item .ToolIcon_type_button:hover {
1797
+ background-color: white;
1798
+ }
1799
+ .excalidraw .single-library-item .required,
1800
+ .excalidraw .single-library-item .error {
1801
+ color: #e03131;
1802
+ font-weight: bold;
1803
+ font-size: 1rem;
1804
+ margin: 0.2rem;
1805
+ }
1806
+ .excalidraw .single-library-item .error {
1807
+ font-weight: 500;
1808
+ margin: 0;
1809
+ padding: 0.3em 0;
1810
+ }
1811
+ .excalidraw .single-library-item--remove {
1812
+ position: absolute;
1813
+ top: 0.2rem;
1814
+ right: 1rem;
1815
+ }
1816
+ .excalidraw .single-library-item--remove .ToolIcon__icon {
1817
+ margin: 0;
1818
+ }
1819
+ .excalidraw .single-library-item--remove .ToolIcon__icon {
1820
+ background-color: #fa5252;
1821
+ }
1822
+ .excalidraw .single-library-item--remove .ToolIcon__icon:hover {
1823
+ background-color: #f03e3e;
1824
+ }
1825
+ .excalidraw .single-library-item--remove .ToolIcon__icon:active {
1826
+ background-color: #e03131;
1827
+ }
1828
+ .excalidraw .single-library-item--remove svg {
1829
+ color: #ffffff;
1830
+ padding: 0.26rem;
1831
+ border-radius: 0.3em;
1832
+ width: 1rem;
1833
+ height: 1rem;
1614
1834
  }
1615
1835
  /*!**********************************************************************************************************************************************************************************************************************!*\
1616
1836
  !*** 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/dropdownMenu/DropdownMenu.scss ***!
@@ -1688,6 +1908,11 @@
1688
1908
  margin-inline-start: auto;
1689
1909
  opacity: 0.5;
1690
1910
  }
1911
+ .excalidraw .dropdown-menu .dropdown-menu-item__shortcut--orphaned {
1912
+ text-align: right;
1913
+ font-size: 0.875rem;
1914
+ padding: 0 0.625rem;
1915
+ }
1691
1916
  .excalidraw .dropdown-menu .dropdown-menu-item:hover {
1692
1917
  background-color: var(--button-hover) !important;
1693
1918
  text-decoration: none;
@@ -1701,6 +1926,21 @@
1701
1926
  height: 1rem;
1702
1927
  display: block;
1703
1928
  }
1929
+ .excalidraw .dropdown-menu .dropdown-menu-item-bare {
1930
+ align-items: center;
1931
+ height: 2rem;
1932
+ justify-content: space-between;
1933
+ }
1934
+ @media screen and (min-width: 1921px) {
1935
+ .excalidraw .dropdown-menu .dropdown-menu-item-bare {
1936
+ height: 2.25rem;
1937
+ }
1938
+ }
1939
+ .excalidraw .dropdown-menu .dropdown-menu-item-bare svg {
1940
+ width: 1rem;
1941
+ height: 1rem;
1942
+ display: block;
1943
+ }
1704
1944
  .excalidraw .dropdown-menu .dropdown-menu-item-custom {
1705
1945
  margin-top: 0.5rem;
1706
1946
  }
@@ -1782,722 +2022,739 @@
1782
2022
  width: var(--default-button-size);
1783
2023
  height: var(--default-button-size);
1784
2024
  }
1785
- /*!***************************************************************************************************************************************************************************************************!*\
1786
- !*** 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/Dialog.scss ***!
1787
- \***************************************************************************************************************************************************************************************************/
2025
+ /*!********************************************************************************************************************************************************************************************************!*\
2026
+ !*** 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/LibraryUnit.scss ***!
2027
+ \********************************************************************************************************************************************************************************************************/
1788
2028
  :export {
1789
2029
  themeFilter: invert(93%) hue-rotate(180deg);
1790
2030
  rightSidebarWidth: 302px;
1791
2031
  }
1792
2032
 
1793
- .excalidraw .Dialog {
1794
- -webkit-user-select: text;
1795
- user-select: text;
1796
- cursor: auto;
2033
+ .excalidraw .library-unit {
2034
+ align-items: center;
2035
+ border: 1px solid transparent;
2036
+ display: flex;
2037
+ justify-content: center;
2038
+ position: relative;
2039
+ width: 55px;
2040
+ height: 55px;
2041
+ box-sizing: border-box;
2042
+ border-radius: var(--border-radius-lg);
1797
2043
  }
1798
- .excalidraw .Dialog__title {
1799
- margin: 0;
1800
- text-align: left;
1801
- font-size: 1.25rem;
1802
- border-bottom: 1px solid var(--dialog-border-color);
1803
- padding: 0 0 0.75rem;
1804
- margin-bottom: 1.5rem;
2044
+ .excalidraw .library-unit svg {
2045
+ pointer-events: none;
1805
2046
  }
1806
- .excalidraw .Dialog__close {
1807
- color: var(--color-gray-40);
2047
+ .excalidraw .library-unit--hover {
2048
+ border-color: var(--color-primary);
2049
+ }
2050
+ .excalidraw .library-unit--selected {
2051
+ border-color: var(--color-primary);
2052
+ border-width: 1px;
2053
+ }
2054
+ .excalidraw .library-unit--skeleton {
2055
+ opacity: 0.5;
2056
+ background: linear-gradient(-45deg, var(--color-gray-10), var(--color-gray-20), var(--color-gray-10));
2057
+ background-size: 200% 200%;
2058
+ animation: library-unit__skeleton-opacity-animation 0.2s linear;
2059
+ }
2060
+ .excalidraw.theme--dark .library-unit--skeleton {
2061
+ background-image: linear-gradient(-45deg, var(--color-gray-100), var(--color-gray-80), var(--color-gray-100));
2062
+ }
2063
+ .excalidraw .library-unit__dragger {
2064
+ display: flex;
2065
+ align-items: center;
2066
+ justify-content: center;
2067
+ height: 100%;
2068
+ width: 100%;
2069
+ }
2070
+ .excalidraw .library-unit__dragger > svg {
2071
+ filter: var(--theme-filter);
2072
+ flex-grow: 1;
2073
+ max-height: 100%;
2074
+ max-width: 100%;
2075
+ }
2076
+ .excalidraw .library-unit__checkbox-container,
2077
+ .excalidraw .library-unit__checkbox-container:hover,
2078
+ .excalidraw .library-unit__checkbox-container:active {
2079
+ align-items: center;
2080
+ background: none;
2081
+ border: none;
2082
+ color: var(--icon-fill-color);
2083
+ display: flex;
2084
+ justify-content: center;
1808
2085
  margin: 0;
2086
+ padding: 0.5rem;
1809
2087
  position: absolute;
1810
- top: 0.75rem;
1811
- right: 0.5rem;
1812
- border: 0;
1813
- background-color: transparent;
1814
- line-height: 0;
2088
+ left: 2rem;
2089
+ bottom: 2rem;
1815
2090
  cursor: pointer;
1816
2091
  }
1817
- .excalidraw .Dialog__close:hover {
1818
- color: var(--color-gray-60);
2092
+ .excalidraw .library-unit__checkbox-container input,
2093
+ .excalidraw .library-unit__checkbox-container:hover input,
2094
+ .excalidraw .library-unit__checkbox-container:active input {
2095
+ cursor: pointer;
1819
2096
  }
1820
- .excalidraw .Dialog__close:active {
1821
- color: var(--color-gray-40);
2097
+ .excalidraw .library-unit__checkbox {
2098
+ position: absolute;
2099
+ top: 0.125rem;
2100
+ right: 0.125rem;
2101
+ margin: 0;
1822
2102
  }
1823
- .excalidraw .Dialog__close svg {
1824
- width: 1.5rem;
1825
- height: 1.5rem;
2103
+ .excalidraw .library-unit__checkbox .Checkbox-box {
2104
+ margin: 0;
2105
+ width: 1rem;
2106
+ height: 1rem;
2107
+ border-radius: 4px;
2108
+ background-color: var(--color-primary-light);
2109
+ border: 1px solid var(--color-primary);
2110
+ box-shadow: none !important;
2111
+ padding: 2px;
1826
2112
  }
1827
- .excalidraw .Dialog--fullscreen .Dialog__close {
1828
- top: 1.25rem;
1829
- right: 1.25rem;
2113
+ .excalidraw .library-unit__checkbox.Checkbox:hover .Checkbox-box {
2114
+ background-color: var(--color-primary-light);
1830
2115
  }
1831
- /*!**************************************************************************************************************************************************************************************************!*\
1832
- !*** 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/Modal.scss ***!
1833
- \**************************************************************************************************************************************************************************************************/
1834
- :export {
1835
- themeFilter: invert(93%) hue-rotate(180deg);
1836
- rightSidebarWidth: 302px;
2116
+ .excalidraw .library-unit__checkbox.is-checked .Checkbox-box {
2117
+ background-color: var(--color-primary) !important;
1837
2118
  }
1838
-
1839
- .excalidraw.excalidraw-modal-container {
1840
- position: absolute;
1841
- z-index: var(--zIndex-modal);
2119
+ .excalidraw .library-unit__checkbox.is-checked .Checkbox-box svg {
2120
+ color: var(--color-primary-light);
1842
2121
  }
1843
- .excalidraw .Modal {
2122
+ .excalidraw .library-unit__removeFromLibrary > svg {
2123
+ height: 16px;
2124
+ width: 16px;
2125
+ }
2126
+ .excalidraw .library-unit__adder {
2127
+ transform: scale(1);
2128
+ animation: library-unit__adder-animation 1s ease-in infinite;
1844
2129
  position: absolute;
1845
- top: 0;
1846
- left: 0;
1847
- right: 0;
1848
- bottom: 0;
2130
+ width: 1.5rem;
2131
+ height: 1.5rem;
2132
+ background-color: var(--color-primary);
2133
+ border-radius: var(--border-radius-md);
1849
2134
  display: flex;
1850
- align-items: center;
1851
2135
  justify-content: center;
1852
- overflow: auto;
1853
- padding: calc(var(--space-factor) * 10);
1854
- display: flex;
1855
- flex-direction: column;
1856
- }
1857
- .excalidraw .Modal .Island {
1858
- padding: 2.5rem;
2136
+ align-items: center;
2137
+ pointer-events: none;
1859
2138
  }
1860
- .excalidraw .Modal__background {
1861
- position: absolute;
1862
- top: 0;
1863
- left: 0;
1864
- right: 0;
1865
- bottom: 0;
1866
- z-index: 1;
1867
- background-color: rgba(18, 18, 18, 0.2);
1868
- animation: Modal__background__fade-in 0.125s linear forwards;
2139
+ .excalidraw .library-unit__adder svg {
2140
+ color: var(--color-primary-light);
2141
+ width: 1rem;
2142
+ height: 1rem;
1869
2143
  }
1870
- .excalidraw .Modal__content {
1871
- position: relative;
1872
- z-index: 2;
1873
- width: 100%;
1874
- max-width: var(--max-width);
1875
- max-height: 100%;
1876
- opacity: 0;
1877
- transform: translateY(10px);
1878
- animation: Modal__content_fade-in 0.1s ease-out 0.05s forwards;
1879
- position: relative;
1880
- overflow-y: auto;
1881
- background: var(--island-bg-color);
1882
- border: 1px solid var(--dialog-border-color);
1883
- box-shadow: var(--modal-shadow);
1884
- border-radius: 6px;
1885
- box-sizing: border-box;
2144
+ .excalidraw .library-unit:active .library-unit__adder {
2145
+ animation: none;
2146
+ transform: scale(0.8);
1886
2147
  }
1887
- .excalidraw .Modal__content:focus {
1888
- outline: none;
2148
+ .excalidraw .library-unit__active {
2149
+ cursor: pointer;
1889
2150
  }
1890
- @keyframes Modal__background__fade-in {
1891
- from {
1892
- opacity: 0;
2151
+ @keyframes library-unit__adder-animation {
2152
+ 0% {
2153
+ transform: scale(0.85);
1893
2154
  }
1894
- to {
1895
- opacity: 1;
2155
+ 50% {
2156
+ transform: scale(1);
2157
+ }
2158
+ 100% {
2159
+ transform: scale(0.85);
1896
2160
  }
1897
2161
  }
1898
- @keyframes Modal__content_fade-in {
1899
- from {
2162
+ @keyframes library-unit__skeleton-opacity-animation {
2163
+ 0% {
1900
2164
  opacity: 0;
1901
- transform: scale(0.9);
1902
2165
  }
1903
- to {
1904
- opacity: 1;
1905
- transform: scale(1);
2166
+ 75% {
2167
+ opacity: 0;
2168
+ }
2169
+ 100% {
2170
+ opacity: 0.5;
1906
2171
  }
1907
2172
  }
1908
- .excalidraw .Modal__close {
1909
- color: var(--icon-fill-color);
1910
- margin: 0;
1911
- padding: 0.375rem;
1912
- position: absolute;
1913
- top: 1rem;
1914
- right: 1rem;
1915
- border: 0;
1916
- background-color: transparent;
1917
- line-height: 0;
1918
- cursor: pointer;
1919
- }
1920
- .excalidraw .Modal__close svg {
1921
- width: 1.5rem;
1922
- height: 1.5rem;
2173
+ /*!*************************************************************************************************************************************************************************************************************!*\
2174
+ !*** 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/LibraryMenuItems.scss ***!
2175
+ \*************************************************************************************************************************************************************************************************************/
2176
+ .excalidraw {
2177
+ --container-padding-y: 1.5rem;
2178
+ --container-padding-x: 0.75rem;
1923
2179
  }
1924
- .excalidraw .Dialog--fullscreen .Modal {
1925
- padding: 0;
2180
+ .excalidraw .library-menu-items__no-items {
2181
+ text-align: center;
2182
+ color: var(--color-gray-70);
2183
+ line-height: 1.5;
2184
+ font-size: 0.875rem;
2185
+ width: 100%;
1926
2186
  }
1927
- .excalidraw .Dialog--fullscreen .Modal__content {
1928
- position: absolute;
1929
- top: 0;
1930
- left: 0;
1931
- right: 0;
1932
- bottom: 0;
1933
- max-width: 100%;
1934
- border: 0;
1935
- border-radius: 0;
2187
+ .excalidraw .library-menu-items__no-items__label {
2188
+ color: var(--color-primary);
2189
+ font-weight: bold;
2190
+ font-size: 1.125rem;
2191
+ margin-bottom: 0.75rem;
1936
2192
  }
1937
- /*!**********************************************************************************************************************************************************************************************************!*\
1938
- !*** 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/ConfirmDialog.scss ***!
1939
- \**********************************************************************************************************************************************************************************************************/
1940
- :export {
1941
- themeFilter: invert(93%) hue-rotate(180deg);
1942
- rightSidebarWidth: 302px;
2193
+ .excalidraw.theme--dark .library-menu-items__no-items {
2194
+ color: var(--color-gray-40);
1943
2195
  }
1944
-
1945
- .excalidraw .confirm-dialog-buttons {
2196
+ .excalidraw .library-menu-items-container {
2197
+ width: 100%;
1946
2198
  display: flex;
1947
- column-gap: 0.5rem;
1948
- justify-content: flex-end;
1949
- }
1950
- /*!***************************************************************************************************************************************************************************************************************!*\
1951
- !*** 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/DialogActionButton.scss ***!
1952
- \***************************************************************************************************************************************************************************************************************/
1953
- .excalidraw .Dialog__action-button {
2199
+ flex-grow: 1;
2200
+ flex-shrink: 1;
2201
+ flex-basis: 0;
2202
+ overflow-y: auto;
2203
+ flex-direction: column;
2204
+ height: 100%;
2205
+ justify-content: center;
2206
+ margin: 0;
1954
2207
  position: relative;
1955
- display: flex;
1956
- column-gap: 0.5rem;
1957
- align-items: center;
1958
- padding: 0.5rem 1.5rem;
1959
- border: 1px solid var(--default-border-color);
1960
- background-color: transparent;
1961
- height: 3rem;
1962
- border-radius: var(--border-radius-lg);
1963
- letter-spacing: 0.4px;
1964
- color: inherit;
1965
- font-family: inherit;
1966
- font-size: 0.875rem;
1967
- font-weight: 600;
1968
- -webkit-user-select: none;
1969
- user-select: none;
1970
2208
  }
1971
- .excalidraw .Dialog__action-button svg {
1972
- display: block;
1973
- width: 1rem;
1974
- height: 1rem;
1975
- }
1976
- .excalidraw .Dialog__action-button--danger {
1977
- background-color: var(--color-danger);
1978
- border-color: var(--color-danger);
1979
- color: #fff;
2209
+ .excalidraw .library-menu-items-container > div {
2210
+ padding-left: 0.75rem;
2211
+ padding-right: 0.75rem;
1980
2212
  }
1981
- .excalidraw .Dialog__action-button--primary {
1982
- background-color: var(--color-primary);
1983
- border-color: var(--color-primary);
1984
- color: #fff;
2213
+ .excalidraw .library-menu-items-container__row {
2214
+ display: grid;
2215
+ grid-template-columns: repeat(4, 1fr);
2216
+ gap: 1rem;
1985
2217
  }
1986
- .excalidraw.theme--dark .Dialog__action-button--danger {
1987
- color: var(--color-gray-100);
2218
+ .excalidraw .library-menu-items-container__items {
2219
+ row-gap: 0.5rem;
2220
+ padding: var(--container-padding-y) 0;
2221
+ flex: 1;
2222
+ overflow-y: auto;
2223
+ overflow-x: hidden;
2224
+ margin-bottom: 1rem;
1988
2225
  }
1989
- .excalidraw.theme--dark .Dialog__action-button--primary {
1990
- color: var(--color-gray-100);
2226
+ .excalidraw .library-menu-items-container__header {
2227
+ color: var(--color-primary);
2228
+ font-size: 1.125rem;
2229
+ font-weight: bold;
2230
+ margin-bottom: 0.75rem;
2231
+ width: 100%;
2232
+ padding-right: 4rem;
2233
+ box-sizing: border-box;
1991
2234
  }
1992
- /*!***********************************************************************************************************************************************************************************************************!*\
1993
- !*** 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/PublishLibrary.scss ***!
1994
- \***********************************************************************************************************************************************************************************************************/
1995
- :export {
1996
- themeFilter: invert(93%) hue-rotate(180deg);
1997
- rightSidebarWidth: 302px;
2235
+ .excalidraw .library-menu-items-container__header--excal {
2236
+ margin-top: 2rem;
1998
2237
  }
1999
-
2000
- .excalidraw .publish-library__fields {
2001
- display: flex;
2002
- flex-direction: column;
2238
+ .excalidraw .library-menu-items-container__grid {
2239
+ display: grid;
2240
+ grid-template-columns: 1fr 1fr 1fr 1fr;
2241
+ grid-gap: 1rem;
2003
2242
  }
2004
- .excalidraw .publish-library__fields label {
2005
- padding: 1em 0;
2243
+ .excalidraw .library-menu-items-container .separator {
2244
+ width: 100%;
2006
2245
  display: flex;
2007
- justify-content: space-between;
2008
2246
  align-items: center;
2009
- }
2010
- .excalidraw .publish-library__fields label span {
2011
2247
  font-weight: 500;
2012
- font-size: 1rem;
2013
- color: #868e96;
2248
+ font-size: 0.9rem;
2249
+ margin: 0.6em 0.2em;
2250
+ color: var(--text-primary-color);
2014
2251
  }
2015
- .excalidraw .publish-library__fields label input,
2016
- .excalidraw .publish-library__fields label textarea {
2017
- width: 70%;
2018
- padding: 0.6em;
2019
- font-family: var(--ui-font);
2252
+ .excalidraw .library-menu-items-private-library-container {
2253
+ min-height: 3.75rem;
2254
+ width: 100%;
2020
2255
  }
2021
- .excalidraw .publish-library__fields label .required {
2022
- color: #e03131;
2023
- margin: 0.2rem;
2256
+ /*!********************************************************************************************************************************************************************************************************!*\
2257
+ !*** 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/LibraryMenu.scss ***!
2258
+ \********************************************************************************************************************************************************************************************************/
2259
+ .excalidraw .layer-ui__library {
2260
+ display: flex;
2261
+ flex-direction: column;
2262
+ flex: 1 1 auto;
2024
2263
  }
2025
- .excalidraw .publish-library__buttons {
2264
+ .excalidraw .library-actions-counter {
2265
+ background-color: var(--color-primary);
2266
+ color: var(--color-primary-light);
2267
+ font-weight: bold;
2026
2268
  display: flex;
2027
- padding: 0.2rem 0;
2028
- justify-content: flex-end;
2029
- gap: 0.5rem;
2269
+ align-items: center;
2270
+ justify-content: center;
2271
+ border-radius: 50%;
2272
+ width: 1rem;
2273
+ height: 1rem;
2274
+ position: absolute;
2275
+ bottom: -0.25rem;
2276
+ right: -0.25rem;
2277
+ font-size: 0.625rem;
2278
+ pointer-events: none;
2030
2279
  }
2031
- .excalidraw .publish-library__buttons .ToolIcon__icon {
2032
- min-width: 2.5rem;
2033
- width: auto;
2034
- font-size: 1rem;
2280
+ .excalidraw .layer-ui__library-message {
2281
+ padding: 2rem;
2282
+ min-width: 200px;
2283
+ display: flex;
2284
+ flex-direction: column;
2285
+ align-items: center;
2286
+ flex-grow: 1;
2287
+ justify-content: center;
2035
2288
  }
2036
- .excalidraw .publish-library__buttons .ToolIcon_type_button {
2037
- margin-left: 1rem;
2038
- padding: 0 0.5rem;
2289
+ .excalidraw .layer-ui__library-message span {
2290
+ font-size: 0.8em;
2039
2291
  }
2040
- .excalidraw .publish-library__buttons--confirm.ToolIcon_type_button {
2292
+ .excalidraw .publish-library-success .Dialog__content {
2293
+ display: flex;
2294
+ flex-direction: column;
2295
+ }
2296
+ .excalidraw .publish-library-success-close.ToolIcon_type_button {
2041
2297
  background-color: #228be6;
2298
+ align-self: flex-end;
2042
2299
  }
2043
- .excalidraw .publish-library__buttons--confirm.ToolIcon_type_button:hover {
2300
+ .excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
2044
2301
  background-color: #1971c2;
2045
2302
  }
2046
- .excalidraw .publish-library__buttons--cancel.ToolIcon_type_button {
2047
- background-color: #adb5bd;
2303
+ .excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
2304
+ width: auto;
2305
+ font-size: 1rem;
2306
+ color: #ffffff;
2307
+ padding: 0 0.5rem;
2048
2308
  }
2049
- .excalidraw .publish-library__buttons--cancel.ToolIcon_type_button:hover {
2050
- background-color: #868e96;
2309
+ .excalidraw .library-menu-control-buttons {
2310
+ display: flex;
2311
+ align-items: center;
2312
+ justify-content: center;
2313
+ gap: 0.625rem;
2314
+ position: relative;
2051
2315
  }
2052
- .excalidraw .publish-library__buttons .ToolIcon__icon {
2316
+ .excalidraw .library-menu-control-buttons--at-bottom::before {
2317
+ content: "";
2318
+ width: calc(100% - 1.5rem);
2319
+ height: 1px;
2320
+ position: absolute;
2321
+ top: -1px;
2322
+ background: var(--sidebar-border-color);
2323
+ }
2324
+ .excalidraw .library-menu-browse-button {
2325
+ flex: 1;
2326
+ height: var(--lg-button-size);
2327
+ display: flex;
2328
+ align-items: center;
2329
+ justify-content: center;
2330
+ overflow: hidden;
2331
+ position: relative;
2332
+ border-radius: var(--border-radius-lg);
2333
+ background-color: var(--color-primary);
2053
2334
  color: #ffffff;
2335
+ text-align: center;
2336
+ white-space: nowrap;
2337
+ text-decoration: none !important;
2338
+ font-weight: 600;
2339
+ font-size: 0.75rem;
2054
2340
  }
2055
- .excalidraw .publish-library__buttons .ToolIcon__icon .Spinner {
2056
- --spinner-color: #fff;
2341
+ .excalidraw .library-menu-browse-button:hover {
2342
+ background-color: var(--color-brand-hover);
2057
2343
  }
2058
- .excalidraw .publish-library__buttons .ToolIcon__icon .Spinner svg {
2059
- padding: 0.5rem;
2344
+ .excalidraw .library-menu-browse-button:active {
2345
+ background-color: var(--color-brand-active);
2060
2346
  }
2061
- .excalidraw .publish-library .selected-library-items {
2062
- display: flex;
2063
- flex-wrap: wrap;
2347
+ .excalidraw.theme--dark .library-menu-browse-button {
2348
+ color: var(--color-gray-100);
2064
2349
  }
2065
- .excalidraw .publish-library .selected-library-items .single-library-item-wrapper {
2066
- width: 9rem;
2350
+ .excalidraw.excalidraw--mobile .library-menu-browse-button {
2351
+ height: var(--default-button-size);
2067
2352
  }
2068
- .excalidraw .publish-library-warning {
2069
- color: #fa5252;
2353
+ .excalidraw .layer-ui__library .dropdown-menu {
2354
+ width: auto;
2355
+ top: initial;
2356
+ right: 0;
2357
+ left: initial;
2358
+ bottom: 100%;
2359
+ margin-bottom: 0.625rem;
2070
2360
  }
2071
- .excalidraw .publish-library-note {
2072
- padding: 1em 0;
2073
- font-style: italic;
2074
- font-size: 14px;
2075
- display: block;
2361
+ .excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
2362
+ width: 196px;
2363
+ box-shadow: var(--library-dropdown-shadow);
2364
+ border-radius: var(--border-radius-lg);
2365
+ padding: 0.25rem 0.5rem;
2076
2366
  }
2077
- .excalidraw .single-library-item {
2367
+ .excalidraw .layer-ui__library .library-menu-dropdown-container {
2078
2368
  position: relative;
2079
2369
  }
2080
- .excalidraw .single-library-item-status {
2370
+ .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
2371
+ padding: 0;
2081
2372
  position: absolute;
2082
- top: 0.3rem;
2083
- left: 0.3rem;
2084
- font-size: 0.7rem;
2085
- color: #f03e3e;
2086
- background: rgba(255, 255, 255, 0.9);
2087
- padding: 0.1rem 0.2rem;
2088
- border-radius: 0.2rem;
2373
+ top: 1rem;
2374
+ right: 0.75rem;
2375
+ z-index: 1;
2089
2376
  }
2090
- .excalidraw .single-library-item__svg {
2091
- background-color: #ffffff;
2092
- padding: 0.3rem;
2093
- width: 7.5rem;
2094
- height: 7.5rem;
2095
- border: 1px solid var(--button-gray-2);
2377
+ .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
2378
+ top: 100%;
2096
2379
  }
2097
- .excalidraw .single-library-item__svg svg {
2098
- width: 100%;
2099
- height: 100%;
2380
+ /*!******************************************************************************************************************************************************************************************************!*\
2381
+ !*** 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/TextField.scss ***!
2382
+ \******************************************************************************************************************************************************************************************************/
2383
+ :export {
2384
+ themeFilter: invert(93%) hue-rotate(180deg);
2385
+ rightSidebarWidth: 302px;
2100
2386
  }
2101
- .excalidraw .single-library-item .ToolIcon__icon {
2102
- background-color: #ffffff;
2103
- width: auto;
2104
- height: auto;
2105
- margin: 0 0.5rem;
2387
+
2388
+ .excalidraw {
2389
+ --ExcTextField--color: var(--color-on-surface);
2390
+ --ExcTextField--label-color: var(--color-on-surface);
2391
+ --ExcTextField--background: transparent;
2392
+ --ExcTextField--readonly--background: var(--color-surface-high);
2393
+ --ExcTextField--readonly--color: var(--color-on-surface);
2394
+ --ExcTextField--border: var(--color-border-outline);
2395
+ --ExcTextField--readonly--border: var(--color-border-outline-variant);
2396
+ --ExcTextField--border-hover: var(--color-brand-hover);
2397
+ --ExcTextField--border-active: var(--color-brand-active);
2398
+ --ExcTextField--placeholder: var(--color-border-outline-variant);
2106
2399
  }
2107
- .excalidraw .single-library-item .ToolIcon,
2108
- .excalidraw .single-library-item .ToolIcon_type_button:hover {
2109
- background-color: white;
2400
+ .excalidraw .ExcTextField--fullWidth {
2401
+ width: 100%;
2402
+ flex-grow: 1;
2110
2403
  }
2111
- .excalidraw .single-library-item .required,
2112
- .excalidraw .single-library-item .error {
2113
- color: #e03131;
2114
- font-weight: bold;
2115
- font-size: 1rem;
2116
- margin: 0.2rem;
2404
+ .excalidraw .ExcTextField__label {
2405
+ font-family: "Assistant";
2406
+ font-style: normal;
2407
+ font-weight: 600;
2408
+ font-size: 0.875rem;
2409
+ line-height: 150%;
2410
+ color: var(--ExcTextField--label-color);
2411
+ margin-bottom: 0.25rem;
2412
+ user-select: none;
2117
2413
  }
2118
- .excalidraw .single-library-item .error {
2119
- font-weight: 500;
2120
- margin: 0;
2121
- padding: 0.3em 0;
2414
+ .excalidraw .ExcTextField__input {
2415
+ box-sizing: border-box;
2416
+ display: flex;
2417
+ flex-direction: row;
2418
+ align-items: center;
2419
+ padding: 0 1rem;
2420
+ height: 3rem;
2421
+ background: var(--ExcTextField--background);
2422
+ border: 1px solid var(--ExcTextField--border);
2423
+ border-radius: 0.5rem;
2122
2424
  }
2123
- .excalidraw .single-library-item--remove {
2124
- position: absolute;
2125
- top: 0.2rem;
2126
- right: 1rem;
2425
+ .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
2426
+ border-color: var(--ExcTextField--border-hover);
2127
2427
  }
2128
- .excalidraw .single-library-item--remove .ToolIcon__icon {
2428
+ .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active, .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
2429
+ border-color: var(--ExcTextField--border-active);
2430
+ }
2431
+ .excalidraw .ExcTextField__input input {
2432
+ display: flex;
2433
+ align-items: center;
2434
+ border: none;
2435
+ outline: none;
2436
+ padding: 0;
2129
2437
  margin: 0;
2438
+ height: 1.5rem;
2439
+ color: var(--ExcTextField--color);
2440
+ font-family: "Assistant";
2441
+ font-style: normal;
2442
+ font-weight: 400;
2443
+ font-size: 1rem;
2444
+ line-height: 150%;
2445
+ text-overflow: ellipsis;
2446
+ background: transparent;
2447
+ width: 100%;
2130
2448
  }
2131
- .excalidraw .single-library-item--remove .ToolIcon__icon {
2132
- background-color: #fa5252;
2449
+ .excalidraw .ExcTextField__input input::placeholder {
2450
+ color: var(--ExcTextField--placeholder);
2133
2451
  }
2134
- .excalidraw .single-library-item--remove .ToolIcon__icon:hover {
2135
- background-color: #f03e3e;
2452
+ .excalidraw .ExcTextField__input input:not(:focus):hover {
2453
+ background-color: initial;
2136
2454
  }
2137
- .excalidraw .single-library-item--remove .ToolIcon__icon:active {
2138
- background-color: #e03131;
2455
+ .excalidraw .ExcTextField__input input:focus {
2456
+ outline: initial;
2457
+ box-shadow: initial;
2139
2458
  }
2140
- .excalidraw .single-library-item--remove svg {
2141
- color: #ffffff;
2142
- padding: 0.26rem;
2143
- border-radius: 0.3em;
2144
- width: 1rem;
2145
- height: 1rem;
2459
+ .excalidraw .ExcTextField__input--readonly {
2460
+ background: var(--ExcTextField--readonly--background);
2461
+ border-color: var(--ExcTextField--readonly--border);
2146
2462
  }
2147
- /*!********************************************************************************************************************************************************************************************************!*\
2148
- !*** 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/LibraryUnit.scss ***!
2149
- \********************************************************************************************************************************************************************************************************/
2150
- :export {
2151
- themeFilter: invert(93%) hue-rotate(180deg);
2152
- rightSidebarWidth: 302px;
2463
+ .excalidraw .ExcTextField__input--readonly input {
2464
+ color: var(--ExcTextField--readonly--color);
2153
2465
  }
2154
-
2155
- .excalidraw .library-unit {
2156
- align-items: center;
2157
- border: 1px solid transparent;
2158
- display: flex;
2159
- justify-content: center;
2160
- position: relative;
2161
- width: 55px;
2162
- height: 55px;
2163
- box-sizing: border-box;
2466
+ /*!****************************************************************************************************************************************************************************************************!*\
2467
+ !*** 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/Actions.scss ***!
2468
+ \****************************************************************************************************************************************************************************************************/
2469
+ .zoom-actions,
2470
+ .undo-redo-buttons {
2471
+ background-color: var(--island-bg-color);
2164
2472
  border-radius: var(--border-radius-lg);
2473
+ box-shadow: 0 0 0 1px var(--color-surface-lowest);
2165
2474
  }
2166
- .excalidraw .library-unit svg {
2167
- pointer-events: none;
2168
- }
2169
- .excalidraw .library-unit--hover {
2170
- border-color: var(--color-primary);
2171
- }
2172
- .excalidraw .library-unit--selected {
2173
- border-color: var(--color-primary);
2174
- border-width: 1px;
2175
- }
2176
- .excalidraw .library-unit--skeleton {
2177
- opacity: 0.5;
2178
- background: linear-gradient(-45deg, var(--color-gray-10), var(--color-gray-20), var(--color-gray-10));
2179
- background-size: 200% 200%;
2180
- animation: library-unit__skeleton-opacity-animation 0.2s linear;
2475
+
2476
+ .zoom-button,
2477
+ .undo-redo-buttons button {
2478
+ border-radius: 0 !important;
2479
+ background-color: var(--color-surface-low) !important;
2480
+ font-size: 0.875rem !important;
2481
+ width: var(--lg-button-size);
2482
+ height: var(--lg-button-size);
2181
2483
  }
2182
- .excalidraw.theme--dark .library-unit--skeleton {
2183
- background-image: linear-gradient(-45deg, var(--color-gray-100), var(--color-gray-80), var(--color-gray-100));
2484
+ .zoom-button svg,
2485
+ .undo-redo-buttons button svg {
2486
+ width: var(--lg-icon-size) !important;
2487
+ height: var(--lg-icon-size) !important;
2184
2488
  }
2185
- .excalidraw .library-unit__dragger {
2186
- display: flex;
2187
- align-items: center;
2188
- justify-content: center;
2189
- height: 100%;
2489
+ .zoom-button .ToolIcon__icon,
2490
+ .undo-redo-buttons button .ToolIcon__icon {
2190
2491
  width: 100%;
2492
+ height: 100%;
2191
2493
  }
2192
- .excalidraw .library-unit__dragger > svg {
2193
- filter: var(--theme-filter);
2194
- flex-grow: 1;
2195
- max-height: 100%;
2196
- max-width: 100%;
2197
- }
2198
- .excalidraw .library-unit__checkbox-container,
2199
- .excalidraw .library-unit__checkbox-container:hover,
2200
- .excalidraw .library-unit__checkbox-container:active {
2201
- align-items: center;
2202
- background: none;
2203
- border: none;
2204
- color: var(--icon-fill-color);
2205
- display: flex;
2206
- justify-content: center;
2207
- margin: 0;
2208
- padding: 0.5rem;
2209
- position: absolute;
2210
- left: 2rem;
2211
- bottom: 2rem;
2212
- cursor: pointer;
2494
+
2495
+ .reset-zoom-button {
2496
+ border-left: 0 !important;
2497
+ border-right: 0 !important;
2498
+ padding: 0 0.625rem !important;
2499
+ width: 3.25rem !important;
2500
+ justify-content: center !important;
2501
+ color: var(--text-primary-color);
2213
2502
  }
2214
- .excalidraw .library-unit__checkbox-container input,
2215
- .excalidraw .library-unit__checkbox-container:hover input,
2216
- .excalidraw .library-unit__checkbox-container:active input {
2217
- cursor: pointer;
2503
+
2504
+ .zoom-out-button {
2505
+ border-top-left-radius: var(--border-radius-lg) !important;
2506
+ border-bottom-left-radius: var(--border-radius-lg) !important;
2218
2507
  }
2219
- .excalidraw .library-unit__checkbox {
2220
- position: absolute;
2221
- top: 0.125rem;
2222
- right: 0.125rem;
2223
- margin: 0;
2508
+ :root[dir=rtl] .zoom-out-button {
2509
+ transform: scaleX(-1);
2224
2510
  }
2225
- .excalidraw .library-unit__checkbox .Checkbox-box {
2226
- margin: 0;
2227
- width: 1rem;
2228
- height: 1rem;
2229
- border-radius: 4px;
2230
- background-color: var(--color-primary-light);
2231
- border: 1px solid var(--color-primary);
2232
- box-shadow: none !important;
2233
- padding: 2px;
2511
+ .zoom-out-button .ToolIcon__icon {
2512
+ border-top-right-radius: 0 !important;
2513
+ border-bottom-right-radius: 0 !important;
2234
2514
  }
2235
- .excalidraw .library-unit__checkbox.Checkbox:hover .Checkbox-box {
2236
- background-color: var(--color-primary-light);
2515
+
2516
+ .zoom-in-button {
2517
+ border-top-right-radius: var(--border-radius-lg) !important;
2518
+ border-bottom-right-radius: var(--border-radius-lg) !important;
2237
2519
  }
2238
- .excalidraw .library-unit__checkbox.is-checked .Checkbox-box {
2239
- background-color: var(--color-primary) !important;
2520
+ :root[dir=rtl] .zoom-in-button {
2521
+ transform: scaleX(-1);
2240
2522
  }
2241
- .excalidraw .library-unit__checkbox.is-checked .Checkbox-box svg {
2242
- color: var(--color-primary-light);
2523
+ .zoom-in-button .ToolIcon__icon {
2524
+ border-top-left-radius: 0 !important;
2525
+ border-bottom-left-radius: 0 !important;
2243
2526
  }
2244
- .excalidraw .library-unit__removeFromLibrary > svg {
2245
- height: 16px;
2246
- width: 16px;
2527
+
2528
+ .undo-redo-buttons .undo-button-container button {
2529
+ border-top-left-radius: var(--border-radius-lg) !important;
2530
+ border-bottom-left-radius: var(--border-radius-lg) !important;
2531
+ border-right: 0 !important;
2247
2532
  }
2248
- .excalidraw .library-unit__adder {
2249
- transform: scale(1);
2250
- animation: library-unit__adder-animation 1s ease-in infinite;
2251
- position: absolute;
2252
- width: 1.5rem;
2253
- height: 1.5rem;
2254
- background-color: var(--color-primary);
2255
- border-radius: var(--border-radius-md);
2256
- display: flex;
2257
- justify-content: center;
2258
- align-items: center;
2259
- pointer-events: none;
2533
+ :root[dir=rtl] .undo-redo-buttons .undo-button-container button {
2534
+ transform: scaleX(-1);
2260
2535
  }
2261
- .excalidraw .library-unit__adder svg {
2262
- color: var(--color-primary-light);
2263
- width: 1rem;
2264
- height: 1rem;
2536
+ .undo-redo-buttons .undo-button-container button .ToolIcon__icon {
2537
+ border-top-right-radius: 0 !important;
2538
+ border-bottom-right-radius: 0 !important;
2265
2539
  }
2266
- .excalidraw .library-unit:active .library-unit__adder {
2267
- animation: none;
2268
- transform: scale(0.8);
2540
+ .undo-redo-buttons .redo-button-container button {
2541
+ border-top-right-radius: var(--border-radius-lg) !important;
2542
+ border-bottom-right-radius: var(--border-radius-lg) !important;
2269
2543
  }
2270
- .excalidraw .library-unit__active {
2271
- cursor: pointer;
2544
+ :root[dir=rtl] .undo-redo-buttons .redo-button-container button {
2545
+ transform: scaleX(-1);
2272
2546
  }
2273
- @keyframes library-unit__adder-animation {
2274
- 0% {
2275
- transform: scale(0.85);
2276
- }
2277
- 50% {
2278
- transform: scale(1);
2279
- }
2280
- 100% {
2281
- transform: scale(0.85);
2282
- }
2547
+ .undo-redo-buttons .redo-button-container button .ToolIcon__icon {
2548
+ border-top-left-radius: 0 !important;
2549
+ border-bottom-left-radius: 0 !important;
2283
2550
  }
2284
- @keyframes library-unit__skeleton-opacity-animation {
2285
- 0% {
2286
- opacity: 0;
2287
- }
2288
- 75% {
2289
- opacity: 0;
2290
- }
2291
- 100% {
2292
- opacity: 0.5;
2293
- }
2551
+ /*!**************************************************************************************************************************************************************************************************************************!*\
2552
+ !*** 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/CommandPalette/CommandPalette.scss ***!
2553
+ \**************************************************************************************************************************************************************************************************************************/
2554
+ :export {
2555
+ themeFilter: invert(93%) hue-rotate(180deg);
2556
+ rightSidebarWidth: 302px;
2294
2557
  }
2295
- /*!*************************************************************************************************************************************************************************************************************!*\
2296
- !*** 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/LibraryMenuItems.scss ***!
2297
- \*************************************************************************************************************************************************************************************************************/
2298
- .excalidraw {
2299
- --container-padding-y: 1.5rem;
2300
- --container-padding-x: 0.75rem;
2558
+
2559
+ .excalidraw .command-palette-dialog {
2560
+ user-select: none;
2301
2561
  }
2302
- .excalidraw .library-menu-items__no-items {
2303
- text-align: center;
2304
- color: var(--color-gray-70);
2305
- line-height: 1.5;
2306
- font-size: 0.875rem;
2307
- width: 100%;
2562
+ .excalidraw .command-palette-dialog .Modal__content {
2563
+ height: auto;
2564
+ max-height: 100%;
2308
2565
  }
2309
- .excalidraw .library-menu-items__no-items__label {
2310
- color: var(--color-primary);
2311
- font-weight: bold;
2312
- font-size: 1.125rem;
2313
- margin-bottom: 0.75rem;
2566
+ @media screen and (min-width: 861px) {
2567
+ .excalidraw .command-palette-dialog .Modal__content {
2568
+ max-height: 750px;
2569
+ height: 100%;
2570
+ }
2314
2571
  }
2315
- .excalidraw.theme--dark .library-menu-items__no-items {
2316
- color: var(--color-gray-40);
2572
+ .excalidraw .command-palette-dialog .Modal__content .Island {
2573
+ height: 100%;
2574
+ padding: 1.5rem;
2317
2575
  }
2318
- .excalidraw .library-menu-items-container {
2319
- width: 100%;
2576
+ .excalidraw .command-palette-dialog .Modal__content .Dialog__content {
2577
+ height: 100%;
2320
2578
  display: flex;
2321
- flex-grow: 1;
2322
- flex-shrink: 1;
2323
- flex-basis: 0;
2324
- overflow-y: auto;
2325
2579
  flex-direction: column;
2326
- height: 100%;
2327
- justify-content: center;
2328
- margin: 0;
2329
- position: relative;
2330
- }
2331
- .excalidraw .library-menu-items-container > div {
2332
- padding-left: 0.75rem;
2333
- padding-right: 0.75rem;
2334
- }
2335
- .excalidraw .library-menu-items-container__row {
2336
- display: grid;
2337
- grid-template-columns: repeat(4, 1fr);
2338
- gap: 1rem;
2339
2580
  }
2340
- .excalidraw .library-menu-items-container__items {
2341
- row-gap: 0.5rem;
2342
- padding: var(--container-padding-y) 0;
2343
- flex: 1;
2344
- overflow-y: auto;
2345
- overflow-x: hidden;
2346
- margin-bottom: 1rem;
2581
+ .excalidraw .command-palette-dialog .shortcuts-wrapper {
2582
+ display: flex;
2583
+ justify-content: center;
2584
+ align-items: center;
2585
+ margin-top: 12px;
2586
+ gap: 1.5rem;
2347
2587
  }
2348
- .excalidraw .library-menu-items-container__header {
2349
- color: var(--color-primary);
2350
- font-size: 1.125rem;
2351
- font-weight: bold;
2352
- margin-bottom: 0.75rem;
2353
- width: 100%;
2354
- padding-right: 4rem;
2355
- box-sizing: border-box;
2588
+ .excalidraw .command-palette-dialog .shortcut {
2589
+ display: flex;
2590
+ justify-content: center;
2591
+ align-items: center;
2592
+ height: 16px;
2593
+ font-size: 10px;
2594
+ gap: 0.25rem;
2356
2595
  }
2357
- .excalidraw .library-menu-items-container__header--excal {
2358
- margin-top: 2rem;
2596
+ .excalidraw .command-palette-dialog .shortcut .shortcut-wrapper {
2597
+ display: flex;
2359
2598
  }
2360
- .excalidraw .library-menu-items-container__grid {
2361
- display: grid;
2362
- grid-template-columns: 1fr 1fr 1fr 1fr;
2363
- grid-gap: 1rem;
2599
+ .excalidraw .command-palette-dialog .shortcut .shortcut-plus {
2600
+ margin: 0px 4px;
2364
2601
  }
2365
- .excalidraw .library-menu-items-container .separator {
2366
- width: 100%;
2602
+ .excalidraw .command-palette-dialog .shortcut .shortcut-key {
2603
+ padding: 0px 4px;
2604
+ height: 16px;
2605
+ border-radius: 4px;
2367
2606
  display: flex;
2607
+ justify-content: center;
2368
2608
  align-items: center;
2369
- font-weight: 500;
2370
- font-size: 0.9rem;
2371
- margin: 0.6em 0.2em;
2372
- color: var(--text-primary-color);
2609
+ background-color: var(--color-primary-light);
2373
2610
  }
2374
- .excalidraw .library-menu-items-private-library-container {
2375
- min-height: 3.75rem;
2376
- width: 100%;
2611
+ .excalidraw .command-palette-dialog .shortcut .shortcut-desc {
2612
+ margin-left: 4px;
2613
+ color: var(--color-gray-50);
2377
2614
  }
2378
- /*!********************************************************************************************************************************************************************************************************!*\
2379
- !*** 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/LibraryMenu.scss ***!
2380
- \********************************************************************************************************************************************************************************************************/
2381
- .excalidraw .layer-ui__library {
2615
+ .excalidraw .command-palette-dialog .commands {
2616
+ overflow-y: auto;
2617
+ box-sizing: border-box;
2618
+ margin-top: 12px;
2619
+ color: var(--popup-text-color);
2620
+ user-select: none;
2621
+ }
2622
+ .excalidraw .command-palette-dialog .commands .command-category {
2382
2623
  display: flex;
2383
2624
  flex-direction: column;
2384
- flex: 1 1 auto;
2625
+ padding: 12px 0px;
2626
+ margin-right: 0.25rem;
2385
2627
  }
2386
- .excalidraw .library-actions-counter {
2387
- background-color: var(--color-primary);
2388
- color: var(--color-primary-light);
2389
- font-weight: bold;
2628
+ .excalidraw .command-palette-dialog .commands .command-category-title {
2629
+ font-size: 1rem;
2630
+ font-weight: 600;
2631
+ margin-bottom: 6px;
2390
2632
  display: flex;
2391
2633
  align-items: center;
2392
- justify-content: center;
2393
- border-radius: 50%;
2394
- width: 1rem;
2395
- height: 1rem;
2396
- position: absolute;
2397
- bottom: -0.25rem;
2398
- right: -0.25rem;
2399
- font-size: 0.625rem;
2400
- pointer-events: none;
2401
2634
  }
2402
- .excalidraw .layer-ui__library-message {
2403
- padding: 2rem;
2404
- min-width: 200px;
2635
+ .excalidraw .command-palette-dialog .commands .command-item {
2636
+ color: var(--popup-text-color);
2637
+ height: 2.5rem;
2405
2638
  display: flex;
2406
- flex-direction: column;
2639
+ justify-content: space-between;
2407
2640
  align-items: center;
2408
- flex-grow: 1;
2409
- justify-content: center;
2641
+ box-sizing: border-box;
2642
+ padding: 0 0.5rem;
2643
+ border-radius: var(--border-radius-lg);
2644
+ cursor: pointer;
2410
2645
  }
2411
- .excalidraw .layer-ui__library-message span {
2412
- font-size: 0.8em;
2646
+ .excalidraw .command-palette-dialog .commands .command-item:active {
2647
+ background-color: var(--color-surface-low);
2413
2648
  }
2414
- .excalidraw .publish-library-success .Dialog__content {
2649
+ .excalidraw .command-palette-dialog .commands .command-item .name {
2415
2650
  display: flex;
2416
- flex-direction: column;
2651
+ align-items: center;
2652
+ gap: 0.25rem;
2417
2653
  }
2418
- .excalidraw .publish-library-success-close.ToolIcon_type_button {
2419
- background-color: #228be6;
2420
- align-self: flex-end;
2654
+ .excalidraw .command-palette-dialog .commands .item-selected {
2655
+ background-color: var(--color-surface-mid);
2421
2656
  }
2422
- .excalidraw .publish-library-success-close.ToolIcon_type_button:hover {
2423
- background-color: #1971c2;
2657
+ .excalidraw .command-palette-dialog .commands .item-disabled {
2658
+ opacity: 0.3;
2659
+ cursor: not-allowed;
2424
2660
  }
2425
- .excalidraw .publish-library-success-close.ToolIcon_type_button .ToolIcon__icon {
2426
- width: auto;
2427
- font-size: 1rem;
2428
- color: #ffffff;
2429
- padding: 0 0.5rem;
2661
+ .excalidraw .command-palette-dialog .commands .no-match {
2662
+ display: flex;
2663
+ justify-content: center;
2664
+ align-items: center;
2665
+ margin-top: 36px;
2666
+ }
2667
+ .excalidraw .command-palette-dialog .icon {
2668
+ width: 16px;
2669
+ height: 16px;
2670
+ margin-right: 6px;
2671
+ }
2672
+ /*!********************************************************************************************************************************************************************************************************!*\
2673
+ !*** 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/ContextMenu.scss ***!
2674
+ \********************************************************************************************************************************************************************************************************/
2675
+ @charset "UTF-8";
2676
+ :export {
2677
+ themeFilter: invert(93%) hue-rotate(180deg);
2678
+ rightSidebarWidth: 302px;
2430
2679
  }
2431
- .excalidraw .library-menu-control-buttons {
2432
- display: flex;
2433
- align-items: center;
2434
- justify-content: center;
2435
- gap: 0.625rem;
2680
+
2681
+ .excalidraw .context-menu {
2436
2682
  position: relative;
2683
+ border-radius: 4px;
2684
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
2685
+ padding: 0;
2686
+ list-style: none;
2687
+ user-select: none;
2688
+ margin: -0.25rem 0 0 0.125rem;
2689
+ padding: 0.5rem 0;
2690
+ background-color: var(--popup-secondary-bg-color);
2691
+ border: 1px solid var(--button-gray-3);
2692
+ cursor: default;
2437
2693
  }
2438
- .excalidraw .library-menu-control-buttons--at-bottom::before {
2439
- content: "";
2440
- width: calc(100% - 1.5rem);
2441
- height: 1px;
2442
- position: absolute;
2443
- top: -1px;
2444
- background: var(--sidebar-border-color);
2694
+ .excalidraw .context-menu button {
2695
+ color: var(--popup-text-color);
2445
2696
  }
2446
- .excalidraw .library-menu-browse-button {
2447
- flex: 1;
2448
- height: var(--lg-button-size);
2449
- display: flex;
2450
- align-items: center;
2451
- justify-content: center;
2452
- overflow: hidden;
2697
+ .excalidraw .context-menu-item {
2453
2698
  position: relative;
2454
- border-radius: var(--border-radius-lg);
2455
- background-color: var(--color-primary);
2456
- color: #ffffff;
2457
- text-align: center;
2699
+ width: 100%;
2700
+ min-width: 9.5rem;
2701
+ margin: 0;
2702
+ padding: 0.25rem 1rem 0.25rem 1.25rem;
2703
+ text-align: start;
2704
+ border-radius: 0;
2705
+ background-color: transparent;
2706
+ border: none;
2458
2707
  white-space: nowrap;
2459
- text-decoration: none !important;
2460
- font-weight: 600;
2461
- font-size: 0.75rem;
2708
+ font-family: inherit;
2709
+ display: grid;
2710
+ grid-template-columns: 1fr 0.2fr;
2711
+ align-items: center;
2462
2712
  }
2463
- .excalidraw .library-menu-browse-button:hover {
2464
- background-color: var(--color-brand-hover);
2713
+ .excalidraw .context-menu-item.checkmark::before {
2714
+ position: absolute;
2715
+ left: 6px;
2716
+ margin-bottom: 1px;
2717
+ content: "✓";
2465
2718
  }
2466
- .excalidraw .library-menu-browse-button:active {
2467
- background-color: var(--color-brand-active);
2719
+ .excalidraw .context-menu-item.dangerous .context-menu-item__label {
2720
+ color: #f03e3e;
2468
2721
  }
2469
- .excalidraw.theme--dark .library-menu-browse-button {
2470
- color: var(--color-gray-100);
2722
+ .excalidraw .context-menu-item .context-menu-item__label {
2723
+ justify-self: start;
2724
+ margin-inline-end: 20px;
2471
2725
  }
2472
- .excalidraw.excalidraw--mobile .library-menu-browse-button {
2473
- height: var(--default-button-size);
2726
+ .excalidraw .context-menu-item .context-menu-item__shortcut {
2727
+ justify-self: end;
2728
+ opacity: 0.6;
2729
+ font-family: inherit;
2730
+ font-size: 0.7rem;
2474
2731
  }
2475
- .excalidraw .layer-ui__library .dropdown-menu {
2476
- width: auto;
2477
- top: initial;
2478
- right: 0;
2479
- left: initial;
2480
- bottom: 100%;
2481
- margin-bottom: 0.625rem;
2732
+ .excalidraw .context-menu-item:hover {
2733
+ background-color: var(--select-highlight-color);
2482
2734
  }
2483
- .excalidraw .layer-ui__library .dropdown-menu .dropdown-menu-container {
2484
- width: 196px;
2485
- box-shadow: var(--library-dropdown-shadow);
2486
- border-radius: var(--border-radius-lg);
2487
- padding: 0.25rem 0.5rem;
2735
+ .excalidraw .context-menu-item:hover.dangerous {
2736
+ background-color: #fa5252;
2488
2737
  }
2489
- .excalidraw .layer-ui__library .library-menu-dropdown-container {
2490
- position: relative;
2738
+ .excalidraw .context-menu-item:hover.dangerous .context-menu-item__label {
2739
+ color: var(--popup-bg-color);
2491
2740
  }
2492
- .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading {
2493
- padding: 0;
2494
- position: absolute;
2495
- top: 1rem;
2496
- right: 0.75rem;
2741
+ .excalidraw .context-menu-item:focus {
2497
2742
  z-index: 1;
2498
2743
  }
2499
- .excalidraw .layer-ui__library .library-menu-dropdown-container--in-heading .dropdown-menu {
2500
- top: 100%;
2744
+ .excalidraw--mobile.excalidraw .context-menu-item {
2745
+ display: block;
2746
+ }
2747
+ .excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__label {
2748
+ margin-inline-end: 0;
2749
+ }
2750
+ .excalidraw--mobile.excalidraw .context-menu-item .context-menu-item__shortcut {
2751
+ display: none;
2752
+ }
2753
+
2754
+ .excalidraw .context-menu-item-separator {
2755
+ border: none;
2756
+ border-top: 1px solid #adb5bd;
2757
+ margin: 0;
2501
2758
  }
2502
2759
  /*!*******************************************************************************************************************************************************************************************************!*\
2503
2760
  !*** 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/RadioGroup.scss ***!
@@ -2544,8 +2801,7 @@
2544
2801
  font-weight: 600;
2545
2802
  font-size: 0.75rem;
2546
2803
  line-height: 100%;
2547
- -webkit-user-select: none;
2548
- user-select: none;
2804
+ user-select: none;
2549
2805
  letter-spacing: 0.4px;
2550
2806
  transition: all 75ms ease-out;
2551
2807
  }
@@ -2691,8 +2947,7 @@
2691
2947
  display: flex;
2692
2948
  flex-direction: row;
2693
2949
  justify-content: space-between;
2694
- -webkit-user-select: none;
2695
- user-select: none;
2950
+ user-select: none;
2696
2951
  }
2697
2952
  .excalidraw .ImageExportModal h3 {
2698
2953
  font-family: "Assistant";
@@ -2846,8 +3101,9 @@
2846
3101
  border-width: 1px;
2847
3102
  border-style: solid;
2848
3103
  font-family: var(--font-family);
2849
- -webkit-user-select: none;
2850
- user-select: none;
3104
+ user-select: none;
3105
+ }
3106
+ .excalidraw .ExcButton:hover {
2851
3107
  transition: all 150ms ease-out;
2852
3108
  }
2853
3109
  .excalidraw .ExcButton .Spinner {
@@ -3316,24 +3572,35 @@
3316
3572
  }
3317
3573
 
3318
3574
  .excalidraw {
3575
+ --avatar-size: 1.75rem;
3576
+ --avatarList-gap: 0.625rem;
3577
+ --userList-padding: var(--space-factor);
3319
3578
  --userlist-hint-bg-color: var(--color-gray-10);
3320
3579
  --userlist-hint-heading-color: var(--color-gray-80);
3321
3580
  --userlist-hint-text-color: var(--color-gray-60);
3322
3581
  --userlist-collaborators-border-color: var(--color-gray-20);
3323
3582
  }
3583
+ .excalidraw .UserList-wrapper {
3584
+ display: flex;
3585
+ width: 100%;
3586
+ justify-content: flex-end;
3587
+ pointer-events: none !important;
3588
+ }
3324
3589
  .excalidraw .UserList {
3325
3590
  pointer-events: none;
3326
- /*github corner*/
3327
- padding: var(--space-factor) var(--space-factor) var(--space-factor) var(--space-factor);
3591
+ padding: var(--userList-padding);
3328
3592
  display: flex;
3329
3593
  flex-wrap: wrap;
3330
3594
  justify-content: flex-end;
3331
3595
  align-items: center;
3332
- gap: 0.625rem;
3596
+ gap: var(--avatarList-gap);
3333
3597
  box-sizing: border-box;
3334
- max-height: 120px;
3335
- max-width: 120px;
3336
- overflow: hidden;
3598
+ --max-size: calc(
3599
+ var(--avatar-size) * var(--max-avatars, 2) + var(--avatarList-gap) *
3600
+ (var(--max-avatars, 2) - 1) + var(--userList-padding) * 2
3601
+ );
3602
+ max-height: var(--max-size);
3603
+ max-width: var(--max-size);
3337
3604
  }
3338
3605
  .excalidraw .UserList:empty {
3339
3606
  display: none;
@@ -3349,8 +3616,8 @@
3349
3616
  max-height: none;
3350
3617
  }
3351
3618
  .excalidraw .UserList__more {
3352
- width: 1.25rem;
3353
- height: 1.25rem;
3619
+ width: var(--avatar-size, 1.5rem);
3620
+ height: var(--avatar-size, 1.5rem);
3354
3621
  position: relative;
3355
3622
  border-radius: 100%;
3356
3623
  outline-offset: 2px;
@@ -3365,10 +3632,14 @@
3365
3632
  flex: 0 0 auto;
3366
3633
  background-color: var(--color-gray-20);
3367
3634
  border: 0 !important;
3368
- font-size: 0.5rem;
3635
+ font-size: 0.625rem;
3369
3636
  font-weight: 400;
3370
3637
  flex-shrink: 0;
3371
3638
  color: var(--color-gray-100);
3639
+ font-weight: bold;
3640
+ }
3641
+ .excalidraw .UserList__more:active {
3642
+ transform: scale(0.94);
3372
3643
  }
3373
3644
  .excalidraw .UserList__more-img {
3374
3645
  width: 100%;
@@ -3382,13 +3653,13 @@
3382
3653
  right: -3px;
3383
3654
  bottom: -3px;
3384
3655
  left: -3px;
3385
- border: 1px solid var(--avatar-border-color);
3386
3656
  border-radius: 100%;
3387
3657
  }
3388
- .excalidraw .UserList__more--is-followed::before {
3658
+ .excalidraw .UserList__more.is-followed::before {
3389
3659
  border-color: var(--color-primary-hover);
3660
+ box-shadow: 0 0 0 1px var(--color-primary-hover);
3390
3661
  }
3391
- .excalidraw .UserList__more--is-current-user {
3662
+ .excalidraw .UserList__more.is-current-user {
3392
3663
  cursor: auto;
3393
3664
  }
3394
3665
  .excalidraw .UserList__collaborator-name {
@@ -3396,11 +3667,68 @@
3396
3667
  overflow: hidden;
3397
3668
  white-space: nowrap;
3398
3669
  }
3399
- .excalidraw .UserList__collaborator-follow-status-icon {
3670
+ .excalidraw .UserList__collaborator--avatar-only {
3671
+ position: relative;
3672
+ display: flex;
3673
+ flex: 0 0 auto;
3674
+ }
3675
+ .excalidraw .UserList__collaborator--avatar-only .UserList__collaborator-status-icon {
3676
+ --size: 14px;
3677
+ position: absolute;
3678
+ display: flex;
3679
+ flex: 0 0 auto;
3680
+ bottom: -0.25rem;
3681
+ right: -0.25rem;
3682
+ width: var(--size);
3683
+ height: var(--size);
3684
+ }
3685
+ .excalidraw .UserList__collaborator--avatar-only .UserList__collaborator-status-icon svg {
3686
+ flex: 0 0 auto;
3687
+ width: var(--size);
3688
+ height: var(--size);
3689
+ }
3690
+ .excalidraw .UserList__collaborator-status-icons {
3400
3691
  margin-left: auto;
3401
3692
  flex: 0 0 auto;
3402
- width: 1rem;
3693
+ min-width: 2.25rem;
3694
+ gap: 0.25rem;
3695
+ justify-content: flex-end;
3696
+ display: flex;
3697
+ }
3698
+ .excalidraw .UserList__collaborator.is-muted .UserList__collaborator-status-icon-microphone-muted {
3699
+ color: var(--color-danger);
3700
+ filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0.5));
3701
+ }
3702
+ .excalidraw .UserList__collaborator-status-icon-speaking-indicator {
3403
3703
  display: flex;
3704
+ flex-flow: row nowrap;
3705
+ align-items: center;
3706
+ justify-content: space-between;
3707
+ width: 1rem;
3708
+ padding: 0 3px;
3709
+ box-sizing: border-box;
3710
+ }
3711
+ .excalidraw .UserList__collaborator-status-icon-speaking-indicator div {
3712
+ width: 0.125rem;
3713
+ height: 0.4rem;
3714
+ background-color: #a2f1a6;
3715
+ }
3716
+ .excalidraw .UserList__collaborator-status-icon-speaking-indicator div:nth-of-type(1) {
3717
+ animation: speaking-indicator-anim 1s -0.45s ease-in-out infinite;
3718
+ }
3719
+ .excalidraw .UserList__collaborator-status-icon-speaking-indicator div:nth-of-type(2) {
3720
+ animation: speaking-indicator-anim 1s -0.9s ease-in-out infinite;
3721
+ }
3722
+ .excalidraw .UserList__collaborator-status-icon-speaking-indicator div:nth-of-type(3) {
3723
+ animation: speaking-indicator-anim 1s -0.15s ease-in-out infinite;
3724
+ }
3725
+ @keyframes speaking-indicator-anim {
3726
+ 0%, 100% {
3727
+ transform: scaleY(1);
3728
+ }
3729
+ 50% {
3730
+ transform: scaleY(2);
3731
+ }
3404
3732
  }
3405
3733
  .excalidraw.theme--dark {
3406
3734
  --userlist-hint-bg-color: var(--color-gray-90);
@@ -3412,7 +3740,7 @@
3412
3740
  position: static;
3413
3741
  top: auto;
3414
3742
  margin-top: 0;
3415
- max-height: 12rem;
3743
+ max-height: 50vh;
3416
3744
  overflow-y: auto;
3417
3745
  padding: 0.25rem 0.5rem;
3418
3746
  border-top: 1px solid var(--userlist-collaborators-border-color);
@@ -3587,7 +3915,6 @@
3587
3915
  }
3588
3916
  }
3589
3917
  .excalidraw .ExportDialog--json .ExportDialog-cards .ProjectName {
3590
- width: -moz-fit-content;
3591
3918
  width: fit-content;
3592
3919
  margin: 1em auto;
3593
3920
  align-items: flex-start;
@@ -4025,6 +4352,12 @@
4025
4352
  }
4026
4353
  .excalidraw .layer-ui__wrapper__top-right {
4027
4354
  display: flex;
4355
+ width: 100%;
4356
+ justify-content: flex-end;
4357
+ pointer-events: none !important;
4358
+ }
4359
+ .excalidraw .layer-ui__wrapper__top-right > * {
4360
+ pointer-events: var(--ui-pointerEvents);
4028
4361
  }
4029
4362
  .excalidraw .layer-ui__wrapper__footer {
4030
4363
  width: 100%;
@@ -4137,93 +4470,6 @@
4137
4470
  min-width: 11.875rem;
4138
4471
  z-index: 1;
4139
4472
  }
4140
- /*!******************************************************************************************************************************************************************************************************!*\
4141
- !*** 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/TextField.scss ***!
4142
- \******************************************************************************************************************************************************************************************************/
4143
- :export {
4144
- themeFilter: invert(93%) hue-rotate(180deg);
4145
- rightSidebarWidth: 302px;
4146
- }
4147
-
4148
- .excalidraw {
4149
- --ExcTextField--color: var(--color-on-surface);
4150
- --ExcTextField--label-color: var(--color-on-surface);
4151
- --ExcTextField--background: transparent;
4152
- --ExcTextField--readonly--background: var(--color-surface-high);
4153
- --ExcTextField--readonly--color: var(--color-on-surface);
4154
- --ExcTextField--border: var(--color-border-outline);
4155
- --ExcTextField--readonly--border: var(--color-border-outline-variant);
4156
- --ExcTextField--border-hover: var(--color-brand-hover);
4157
- --ExcTextField--border-active: var(--color-brand-active);
4158
- --ExcTextField--placeholder: var(--color-border-outline-variant);
4159
- }
4160
- .excalidraw .ExcTextField--fullWidth {
4161
- width: 100%;
4162
- flex-grow: 1;
4163
- }
4164
- .excalidraw .ExcTextField__label {
4165
- font-family: "Assistant";
4166
- font-style: normal;
4167
- font-weight: 600;
4168
- font-size: 0.875rem;
4169
- line-height: 150%;
4170
- color: var(--ExcTextField--label-color);
4171
- margin-bottom: 0.25rem;
4172
- -webkit-user-select: none;
4173
- user-select: none;
4174
- }
4175
- .excalidraw .ExcTextField__input {
4176
- box-sizing: border-box;
4177
- display: flex;
4178
- flex-direction: row;
4179
- align-items: center;
4180
- padding: 0 1rem;
4181
- height: 3rem;
4182
- background: var(--ExcTextField--background);
4183
- border: 1px solid var(--ExcTextField--border);
4184
- border-radius: 0.5rem;
4185
- }
4186
- .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):hover {
4187
- border-color: var(--ExcTextField--border-hover);
4188
- }
4189
- .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):active, .excalidraw .ExcTextField__input:not(.excalidraw .ExcTextField__input--readonly):focus-within {
4190
- border-color: var(--ExcTextField--border-active);
4191
- }
4192
- .excalidraw .ExcTextField__input input {
4193
- display: flex;
4194
- align-items: center;
4195
- border: none;
4196
- outline: none;
4197
- padding: 0;
4198
- margin: 0;
4199
- height: 1.5rem;
4200
- color: var(--ExcTextField--color);
4201
- font-family: "Assistant";
4202
- font-style: normal;
4203
- font-weight: 400;
4204
- font-size: 1rem;
4205
- line-height: 150%;
4206
- text-overflow: ellipsis;
4207
- background: transparent;
4208
- width: 100%;
4209
- }
4210
- .excalidraw .ExcTextField__input input::placeholder {
4211
- color: var(--ExcTextField--placeholder);
4212
- }
4213
- .excalidraw .ExcTextField__input input:not(:focus):hover {
4214
- background-color: initial;
4215
- }
4216
- .excalidraw .ExcTextField__input input:focus {
4217
- outline: initial;
4218
- box-shadow: initial;
4219
- }
4220
- .excalidraw .ExcTextField__input--readonly {
4221
- background: var(--ExcTextField--readonly--background);
4222
- border-color: var(--ExcTextField--readonly--border);
4223
- }
4224
- .excalidraw .ExcTextField__input--readonly input {
4225
- color: var(--ExcTextField--readonly--color);
4226
- }
4227
4473
  /*!**********************************************************************************************************************************************************************************************************!*\
4228
4474
  !*** 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/MagicSettings.scss ***!
4229
4475
  \**********************************************************************************************************************************************************************************************************/
@@ -4566,6 +4812,11 @@
4566
4812
  /*!*****************************************************************************************************************************************************************************************************!*\
4567
4813
  !*** 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 ***!
4568
4814
  \*****************************************************************************************************************************************************************************************************/
4815
+ :export {
4816
+ themeFilter: invert(93%) hue-rotate(180deg);
4817
+ rightSidebarWidth: 302px;
4818
+ }
4819
+
4569
4820
  .excalidraw .SVGLayer {
4570
4821
  pointer-events: none;
4571
4822
  width: 100vw;
@@ -4573,7 +4824,7 @@
4573
4824
  position: fixed;
4574
4825
  top: 0;
4575
4826
  left: 0;
4576
- z-index: 2;
4827
+ z-index: var(--zIndex-svgLayer);
4577
4828
  }
4578
4829
  .excalidraw .SVGLayer svg {
4579
4830
  image-rendering: auto;
@@ -4661,8 +4912,7 @@
4661
4912
  clip: rect(1px, 1px, 1px, 1px);
4662
4913
  white-space: nowrap;
4663
4914
  /* added line */
4664
- -webkit-user-select: none;
4665
- user-select: none;
4915
+ user-select: none;
4666
4916
  }
4667
4917
 
4668
4918
  .LoadingMessage {
@@ -4783,6 +5033,7 @@
4783
5033
  --color-gray-85: #242424;
4784
5034
  --color-gray-90: #1e1e1e;
4785
5035
  --color-gray-100: #121212;
5036
+ --color-disabled: var(--color-gray-40);
4786
5037
  --color-warning: #fceeca;
4787
5038
  --color-warning-dark: #f5c354;
4788
5039
  --color-warning-darker: #f3ab2c;
@@ -4882,6 +5133,7 @@
4882
5133
  --color-primary-light: #4f4d6f;
4883
5134
  --color-primary-light-darker: #43415e;
4884
5135
  --color-primary-hover: #bbb8ff;
5136
+ --color-disabled: var(--color-gray-70);
4885
5137
  --color-text-warning: var(--color-gray-80);
4886
5138
  --color-danger: #ffa8a5;
4887
5139
  --color-danger-dark: #672120;
@@ -4920,6 +5172,7 @@
4920
5172
  :root {
4921
5173
  --zIndex-canvas: 1;
4922
5174
  --zIndex-interactiveCanvas: 2;
5175
+ --zIndex-svgLayer: 3;
4923
5176
  --zIndex-wysiwyg: 3;
4924
5177
  --zIndex-canvasButtons: 3;
4925
5178
  --zIndex-layerUI: 4;
@@ -4949,14 +5202,12 @@
4949
5202
  right: 0;
4950
5203
  height: 100%;
4951
5204
  width: 100%;
4952
- -webkit-user-select: none;
4953
- user-select: none;
5205
+ user-select: none;
4954
5206
  /*zsviczian*/
4955
5207
  }
4956
5208
  .excalidraw button {
4957
5209
  cursor: pointer;
4958
- -webkit-user-select: none;
4959
- user-select: none;
5210
+ user-select: none;
4960
5211
  }
4961
5212
  .excalidraw:focus {
4962
5213
  outline: none;
@@ -4966,8 +5217,7 @@
4966
5217
  font-weight: 500;
4967
5218
  text-decoration: none;
4968
5219
  color: var(--link-color);
4969
- -webkit-user-select: none;
4970
- user-select: none;
5220
+ user-select: none;
4971
5221
  cursor: pointer;
4972
5222
  }
4973
5223
  .excalidraw .excalidraw-link:hover,
@@ -5568,8 +5818,7 @@
5568
5818
  display: flex;
5569
5819
  align-items: center;
5570
5820
  justify-content: center;
5571
- -webkit-user-select: text;
5572
- user-select: text;
5821
+ user-select: text;
5573
5822
  }
5574
5823
  .ErrorSplash.excalidraw .ErrorSplash-messageContainer {
5575
5824
  display: flex;