@likec4/diagram 1.52.0 → 1.54.0

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 (150) hide show
  1. package/dist/LikeC4View.js +1 -1
  2. package/dist/_virtual/assign-f10db67b.cjs.js +3 -0
  3. package/dist/_virtual/log-30abbb83.cjs.js +3 -0
  4. package/dist/_virtual/raise-f051f097.cjs.js +3 -0
  5. package/dist/_virtual/store-cfe7da62.cjs.js +3 -0
  6. package/dist/_virtual/xstate-actions.cjs.js +1 -1
  7. package/dist/_virtual/xstate-guards.cjs.js +1 -1
  8. package/dist/_virtual/xstate-store-react.cjs.js +1 -1
  9. package/dist/adhoc-editor/EditorPanel.js +1 -1
  10. package/dist/adhoc-editor/LikeC4AdHocViewEditor.js +2 -0
  11. package/dist/adhoc-editor/components/Tree.js +1 -1
  12. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  13. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  14. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  15. package/dist/base-primitives/element/ElementActionButtons.js +1 -1
  16. package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
  17. package/dist/components/ErrorFallback.js +1 -1
  18. package/dist/components/Link.js +2 -2
  19. package/dist/components/SearchControl.js +1 -1
  20. package/dist/context/IconRenderer.js +7 -7
  21. package/dist/editor/editorActor.actions.d.ts +142 -190
  22. package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
  23. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
  24. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
  25. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
  26. package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
  27. package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
  28. package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
  29. package/dist/likec4diagram/state/machine.js +1 -1
  30. package/dist/likec4diagram/state/machine.setup.js +2 -2
  31. package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
  32. package/dist/likec4diagram/state/machine.state.navigating.js +2 -1
  33. package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
  34. package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
  35. package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
  36. package/dist/likec4diagram/state/machine.state.ready.js +1 -1
  37. package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
  38. package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
  39. package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +1 -1
  40. package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
  41. package/dist/likec4diagram/useLayoutConstraints.js +7 -2
  42. package/dist/likec4diagram/xyflow-diagram/diagram-view.js +1 -2
  43. package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
  44. package/dist/navigationpanel/_common.js +1 -1
  45. package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
  46. package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
  47. package/dist/navigationpanel/controls/DetailsControls.js +2 -2
  48. package/dist/navigationpanel/controls/LayoutWarning.js +1 -1
  49. package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
  50. package/dist/navigationpanel/controls/OpenSource.js +1 -1
  51. package/dist/navigationpanel/controls/SearchControl.js +1 -1
  52. package/dist/navigationpanel/controls/ToggleReadonly.js +2 -2
  53. package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
  54. package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
  55. package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
  56. package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
  57. package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
  58. package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
  59. package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +2 -2
  60. package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
  61. package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +31 -45
  62. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/createReactComponent.js +1 -1
  63. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/defaultAttributes.js +1 -1
  64. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +1 -1
  65. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js +1 -1
  66. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js +1 -1
  67. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js +1 -1
  68. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js +1 -1
  69. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +1 -1
  70. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js +1 -1
  71. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js +1 -1
  72. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronLeft.js +1 -1
  73. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js +1 -1
  74. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +1 -1
  75. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +1 -1
  76. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +1 -1
  77. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +1 -1
  78. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconExternalLink.js +1 -1
  79. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js +1 -1
  80. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js +1 -1
  81. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +1 -1
  82. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js +1 -1
  83. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js +1 -1
  84. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +1 -1
  85. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js +1 -1
  86. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +1 -1
  87. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +1 -1
  88. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +1 -1
  89. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +1 -1
  90. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +1 -1
  91. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +1 -1
  92. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +1 -1
  93. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +1 -1
  94. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js +1 -1
  95. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js +1 -1
  96. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +1 -1
  97. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +1 -1
  98. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js +1 -1
  99. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js +1 -1
  100. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js +1 -1
  101. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js +1 -1
  102. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +1 -1
  103. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +1 -1
  104. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +1 -1
  105. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +1 -1
  106. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSelector.js +1 -1
  107. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js +1 -1
  108. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js +1 -1
  109. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +1 -1
  110. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTransform.js +1 -1
  111. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js +1 -1
  112. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js +1 -1
  113. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js +1 -1
  114. package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.1_react@19.2.4 → @tabler_icons-react@3.40.0_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js +1 -1
  115. package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4/node_modules/@xstate/store/dist/store-1b2fbb72.cjs.js → @xstate_store@3.17.1_react@19.2.4/node_modules/@xstate/store/dist/store-cfe7da62.cjs.js} +152 -133
  116. package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4 → @xstate_store@3.17.1_react@19.2.4}/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js +7 -2
  117. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/actions/dist/xstate-actions.cjs.js +6 -6
  118. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/assign-dea9f7c8.cjs.js → xstate@5.30.0/node_modules/xstate/dist/assign-f10db67b.cjs.js} +10 -10
  119. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/log-ec8d4df4.cjs.js → xstate@5.30.0/node_modules/xstate/dist/log-30abbb83.cjs.js} +18 -18
  120. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/dist/raise-da5b247f.cjs.js → xstate@5.30.0/node_modules/xstate/dist/raise-f051f097.cjs.js} +240 -126
  121. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/guards/dist/xstate-guards.cjs.js +2 -2
  122. package/dist/overlays/Overlays.js +2 -1
  123. package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
  124. package/dist/overlays/element-details/MetadataValue.js +2 -2
  125. package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
  126. package/dist/overlays/element-details/TabPanelRelationships.js +4 -3
  127. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  128. package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
  129. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  130. package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
  131. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
  132. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  133. package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
  134. package/dist/projects-overview/actor.d.ts +15 -21
  135. package/dist/projects-overview/custom/nodeTypes.js +1 -1
  136. package/dist/search/components/ElementsColumn.js +1 -1
  137. package/dist/search/components/PickView.js +1 -1
  138. package/dist/search/components/SearchByTags.js +1 -1
  139. package/dist/search/components/SearchInput.js +1 -1
  140. package/dist/search/components/ViewsColum.js +2 -2
  141. package/dist/styles.css2.js +1 -1
  142. package/package.json +21 -21
  143. package/panda.buildinfo.json +2 -3
  144. package/styles-min.css +1 -1
  145. package/styles.css +1 -1
  146. package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
  147. package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
  148. package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
  149. package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
  150. /package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.30.0}/node_modules/xstate/dev/dist/xstate-dev.cjs.js +0 -0
@@ -4,8 +4,8 @@ import { assertEvent } from 'xstate';
4
4
  import { SeqParallelAreaColor } from '../xyflow-sequence/const.js';
5
5
  import { updateView, emitEdgeClick, stopHotKeyActor, undimEverything, startHotKeyActor, cancelEditing } from './machine.actions.js';
6
6
  import { machine, targetState } from './machine.setup.js';
7
- import { x as xstateActions_cjsExports } from '../../_virtual/xstate-actions.cjs.js';
8
7
  import { fitFocusedBounds, returnViewportBefore, cancelFitDiagram, assignViewportBefore } from './machine.actions.layout.js';
8
+ import { x as xstateActions_cjsExports } from '../../_virtual/xstate-actions.cjs.js';
9
9
  import { Base } from '../../base/Base.js';
10
10
 
11
11
  const updateActiveWalkthroughState = () => machine.enqueueActions(({ context, enqueue }) => {
@@ -9,8 +9,8 @@ import { useDiagramContext } from '../../../hooks/useDiagram.js';
9
9
  import { useXYStore } from '../../../hooks/useXYFlow.js';
10
10
  import { container, icon, card, tabPanel, shapeBadge, elementNotation } from './NotationPanel.css.js';
11
11
  import { useMantinePortalProps } from '../../../hooks/useMantinePortalProps.js';
12
- import IconHelpCircle from '../../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js';
13
- import IconArrowDownRight from '../../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js';
12
+ import IconHelpCircle from '../../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconHelpCircle.js';
13
+ import IconArrowDownRight from '../../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowDownRight.js';
14
14
  import { useDiagram } from '../../../hooks/safeContext.js';
15
15
  import { ElementShape } from '../../../base-primitives/element/ElementShape.js';
16
16
 
@@ -321,8 +321,8 @@ function createLayoutConstraints(xyflowApi, editingNodeIds) {
321
321
  }
322
322
  }
323
323
  const _edgeModifiers = [...edgeModifiers.values()];
324
- function updateXYFlow() {
325
- const { edgeLookup, triggerNodeChanges, triggerEdgeChanges, nodeLookup: nodeLookup2 } = xyflowApi.getState();
324
+ function syncFromXYFlow() {
325
+ const { nodeLookup: nodeLookup2 } = xyflowApi.getState();
326
326
  for (const id of editingNodeIds) {
327
327
  const rect = rects.get(id);
328
328
  if (!rect) {
@@ -336,6 +336,9 @@ function createLayoutConstraints(xyflowApi, editingNodeIds) {
336
336
  }
337
337
  rect.positionAbsolute = node.internals.positionAbsolute;
338
338
  }
339
+ }
340
+ function updateXYFlow() {
341
+ const { edgeLookup, triggerNodeChanges, triggerEdgeChanges } = xyflowApi.getState();
339
342
  applyConstraints(rectsToUpdate);
340
343
  const nodeUpdates = [];
341
344
  const edgeUpdates = [];
@@ -376,11 +379,13 @@ function createLayoutConstraints(xyflowApi, editingNodeIds) {
376
379
  }
377
380
  function flushPending() {
378
381
  cancelPending();
382
+ syncFromXYFlow();
379
383
  updateXYFlow();
380
384
  }
381
385
  function onMove() {
382
386
  animationFrameId ??= requestAnimationFrame(() => {
383
387
  animationFrameId = null;
388
+ syncFromXYFlow();
384
389
  updateXYFlow();
385
390
  });
386
391
  }
@@ -111,8 +111,7 @@ function diagramToXY(opts) {
111
111
  data: {
112
112
  isViewGroup: true,
113
113
  ...compoundData
114
- },
115
- dragHandle: ".likec4-compound-title-container"
114
+ }
116
115
  });
117
116
  continue;
118
117
  }
@@ -17,13 +17,13 @@ import { useLikeC4Model } from '../hooks/useLikeC4Model.js';
17
17
  import { ProjectsMenu } from './dropdown/ProjectsMenu.js';
18
18
  import { useNavigationActor, useNavigationActorSnapshot, useNavigationActorContext, useNavigationActorRef } from './hooks.js';
19
19
  import { breadcrumbTitle } from './styles.css.js';
20
- import IconSearch from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
21
- import IconDirectionSignFilled from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js';
22
- import IconStack2 from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js';
23
- import IconZoomScan from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
24
- import IconStarFilled from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js';
25
- import IconFolderFilled from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js';
26
- import IconChevronRight from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
20
+ import IconSearch from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
21
+ import IconDirectionSignFilled from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js';
22
+ import IconStack2 from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStack2.js';
23
+ import IconZoomScan from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconZoomScan.js';
24
+ import IconStarFilled from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconStarFilled.js';
25
+ import IconFolderFilled from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFolderFilled.js';
26
+ import IconChevronRight from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
27
27
 
28
28
  const scopedKeydownHandler = createScopedKeydownHandler({
29
29
  siblingSelector: "[data-likec4-focusable]",
@@ -4,7 +4,7 @@ import { navigationPanelActionIcon } from '@likec4/styles/recipes';
4
4
  import { Tooltip as Tooltip$1, ActionIcon, ThemeIcon, Breadcrumbs } from '@mantine/core';
5
5
  import * as m from 'motion/react-m';
6
6
  import { forwardRef } from 'react';
7
- import IconChevronRight from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
7
+ import IconChevronRight from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.js';
8
8
 
9
9
  const Tooltip = Tooltip$1.withProps({
10
10
  color: "dark",
@@ -3,9 +3,9 @@ import { cx } from '@likec4/styles/css';
3
3
  import { Box } from '@likec4/styles/jsx';
4
4
  import { hstack } from '@likec4/styles/patterns';
5
5
  import { Menu, UnstyledButton, Tooltip } from '@mantine/core';
6
- import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
6
+ import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
7
7
  import { stopPropagation } from '../../utils/xyflow.js';
8
- import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
8
+ import IconInfoCircle from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconInfoCircle.js';
9
9
 
10
10
  function CompareActionsMenu({
11
11
  disabled = false,
@@ -5,7 +5,7 @@ import { useDiagramCompareLayout } from '../../hooks/useDiagramCompareLayout.js'
5
5
  import { PanelActionIcon } from '../_common.js';
6
6
  import { CompareActionsMenu } from './CompareActionsMenu.js';
7
7
  import { LayoutTypeSwitcher } from './LayoutTypeSwitcher.js';
8
- import IconX from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js';
8
+ import IconX from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconX.js';
9
9
 
10
10
  const Divider = Divider$1.withProps({
11
11
  mx: 2,
@@ -12,8 +12,8 @@ import { Link } from '../../components/Link.js';
12
12
  import { useOnDiagramEvent } from '../../hooks/useDiagram.js';
13
13
  import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
14
14
  import { useNavigationActorSnapshot } from '../hooks.js';
15
- import IconId from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js';
16
- import IconLink from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js';
15
+ import IconId from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js';
16
+ import IconLink from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLink.js';
17
17
  import { useDiagram } from '../../hooks/safeContext.js';
18
18
  import { ElementTag } from '../../base-primitives/element/ElementTags.js';
19
19
  import { Markdown } from '../../base-primitives/Markdown.js';
@@ -8,7 +8,7 @@ import * as m from 'motion/react-m';
8
8
  import { memo, Fragment as Fragment$1 } from 'react';
9
9
  import { useDiagramCompareLayout } from '../../hooks/useDiagramCompareLayout.js';
10
10
  import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
11
- import IconAlertTriangle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js';
11
+ import IconAlertTriangle from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js';
12
12
 
13
13
  const LayoutWarning = memo(() => {
14
14
  const [ctx, { toggleCompare }] = useDiagramCompareLayout();
@@ -4,8 +4,8 @@ import * as m from 'motion/react-m';
4
4
  import { useDiagramContext } from '../../hooks/useDiagram.js';
5
5
  import { PanelActionIcon } from '../_common.js';
6
6
  import { useDiagram } from '../../hooks/safeContext.js';
7
- import IconArrowLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js';
8
- import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js';
7
+ import IconArrowLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js';
8
+ import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js';
9
9
 
10
10
  const NavigationButtons = () => {
11
11
  const diagram = useDiagram();
@@ -3,7 +3,7 @@ import { useDiagramEventHandlers } from '../../context/DiagramEventHandlers.js';
3
3
  import { useEnabledFeatures } from '../../context/DiagramFeatures.js';
4
4
  import { useCurrentViewId } from '../../hooks/useCurrentView.js';
5
5
  import { Tooltip, PanelActionIcon } from '../_common.js';
6
- import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js';
6
+ import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js';
7
7
 
8
8
  const OpenSource = () => {
9
9
  const viewId = useCurrentViewId();
@@ -9,7 +9,7 @@ import '@xstate/react';
9
9
  import 'fast-equals';
10
10
  import 'react';
11
11
  import { useDiagram } from '../../hooks/safeContext.js';
12
- import IconSearch from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
12
+ import IconSearch from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
13
13
 
14
14
  function SearchControl() {
15
15
  const diagram = useDiagram();
@@ -8,8 +8,8 @@ import { isTruthy } from 'remeda';
8
8
  import { useDiagramContext } from '../../hooks/useDiagram.js';
9
9
  import { deriveToggledFeatures } from '../../likec4diagram/state/machine.setup.js';
10
10
  import { useDiagram } from '../../hooks/safeContext.js';
11
- import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
12
- import IconLock from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js';
11
+ import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
12
+ import IconLock from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js';
13
13
 
14
14
  const selector = (ctx) => {
15
15
  const toggledFeatures = deriveToggledFeatures(ctx);
@@ -4,7 +4,7 @@ import { HStack, Box } from '@likec4/styles/jsx';
4
4
  import { Menu, MenuTarget, Button, MenuDropdown, MenuItem } from '@mantine/core';
5
5
  import { memo } from 'react';
6
6
  import { useLikeC4ProjectsContext, useLikeC4ProjectId } from '../../hooks/useLikeC4Project.js';
7
- import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
7
+ import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
8
8
 
9
9
  const ProjectsMenu = memo((_) => {
10
10
  const { projects, onProjectChange } = useLikeC4ProjectsContext();
@@ -5,7 +5,7 @@ import 'react';
5
5
  import { useDiagram } from '../../hooks/safeContext.js';
6
6
  import { PanelActionIcon } from '../_common.js';
7
7
  import { Tooltip } from './_common.js';
8
- import IconFocusCentered from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js';
8
+ import IconFocusCentered from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js';
9
9
 
10
10
  const CenterCamera = () => {
11
11
  const diagram = useDiagram();
@@ -8,7 +8,7 @@ import { PanelActionIcon } from '../_common.js';
8
8
  import { Tooltip } from './_common.js';
9
9
  import { autolayoutIndicator, autolayoutButton, spacingSliderBody, spacingSliderThumb } from './styles.js';
10
10
  import { useDiagram } from '../../hooks/safeContext.js';
11
- import IconLayoutDashboard from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js';
11
+ import IconLayoutDashboard from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js';
12
12
 
13
13
  const selector = (state) => ({
14
14
  viewId: state.view.id,
@@ -9,15 +9,15 @@ import { useDiagram } from '../../hooks/safeContext.js';
9
9
  import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
10
10
  import { PanelActionIcon } from '../_common.js';
11
11
  import { Tooltip } from './_common.js';
12
- import IconLayoutCollage from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js';
13
- import IconLayoutBoardSplit from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js';
14
- import IconLayoutAlignLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js';
15
- import IconLayoutAlignCenter from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js';
16
- import IconLayoutAlignRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js';
17
- import IconLayoutAlignTop from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js';
18
- import IconLayoutAlignMiddle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js';
19
- import IconLayoutAlignBottom from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js';
20
- import IconRouteOff from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js';
12
+ import IconLayoutCollage from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js';
13
+ import IconLayoutBoardSplit from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js';
14
+ import IconLayoutAlignLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js';
15
+ import IconLayoutAlignCenter from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js';
16
+ import IconLayoutAlignRight from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js';
17
+ import IconLayoutAlignTop from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js';
18
+ import IconLayoutAlignMiddle from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js';
19
+ import IconLayoutAlignBottom from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js';
20
+ import IconRouteOff from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js';
21
21
 
22
22
  const Action = ({
23
23
  label,
@@ -5,7 +5,7 @@ import 'react';
5
5
  import { useDiagram } from '../../hooks/safeContext.js';
6
6
  import { PanelActionIcon } from '../_common.js';
7
7
  import { Tooltip } from './_common.js';
8
- import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
8
+ import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
9
9
 
10
10
  const ToggleReadonly = () => {
11
11
  const diagram = useDiagram();
@@ -8,9 +8,9 @@ import { isTruthy } from 'remeda';
8
8
  import { useDiagramContext } from '../../hooks/useDiagram.js';
9
9
  import { TriggerWalkthroughButton } from './DynamicViewControls.js';
10
10
  import { useDiagram } from '../../hooks/safeContext.js';
11
- import IconPlayerStopFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js';
12
- import IconPlayerSkipBackFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js';
13
- import IconPlayerSkipForwardFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js';
11
+ import IconPlayerStopFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js';
12
+ import IconPlayerSkipBackFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js';
13
+ import IconPlayerSkipForwardFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js';
14
14
  import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
15
15
 
16
16
  const PrevNextButton = Button.withProps({
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from '@mantine/core';
2
- import { ForwardRefExoticComponent, AriaRole, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, ChangeEventHandler, InputEventHandler, ReactEventHandler, SubmitEventHandler, KeyboardEventHandler, MouseEventHandler, DragEventHandler, TouchEventHandler, PointerEventHandler, UIEventHandler, WheelEventHandler, AnimationEventHandler, ToggleEventHandler, TransitionEventHandler, Key, Ref, RefAttributes } from 'react';
2
+ import { ForwardRefExoticComponent, Key, AriaRole, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, ChangeEventHandler, InputEventHandler, ReactEventHandler, SubmitEventHandler, KeyboardEventHandler, MouseEventHandler, DragEventHandler, TouchEventHandler, PointerEventHandler, UIEventHandler, WheelEventHandler, AnimationEventHandler, ToggleEventHandler, TransitionEventHandler, Ref, RefAttributes } from 'react';
3
3
  import { MotionProps } from 'motion/react';
4
4
  export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<ButtonProps & {
5
5
  id?: string | undefined;
@@ -10,6 +10,7 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
10
10
  className?: string | undefined;
11
11
  title?: string | undefined;
12
12
  color?: string | undefined;
13
+ key?: Key | null | undefined;
13
14
  dir?: string | undefined;
14
15
  property?: string | undefined;
15
16
  role?: AriaRole | undefined;
@@ -280,7 +281,6 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
280
281
  is?: string | undefined;
281
282
  exportparts?: string | undefined;
282
283
  value?: string | number | readonly string[] | undefined;
283
- key?: Key | null | undefined;
284
284
  ref?: Ref<HTMLButtonElement> | undefined;
285
285
  disabled?: boolean | undefined;
286
286
  formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
@@ -10,7 +10,7 @@ import { useDiagramContext } from '../../hooks/useDiagram.js';
10
10
  import { Tooltip } from '../_common.js';
11
11
  import { useNavigationActor } from '../hooks.js';
12
12
  import { useDiagram } from '../../hooks/safeContext.js';
13
- import IconPlayerPlayFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js';
13
+ import IconPlayerPlayFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js';
14
14
 
15
15
  const TriggerWalkthroughButton = forwardRef((props, ref) => /* @__PURE__ */ jsx(
16
16
  Button,
@@ -1,6 +1,5 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { RichText } from '@likec4/core';
3
- import { css } from '@likec4/styles/css';
4
3
  import { styled } from '@likec4/styles/jsx';
5
4
  import { vstack } from '@likec4/styles/patterns';
6
5
  import { ScrollAreaAutosize } from '@mantine/core';
@@ -37,8 +36,26 @@ const WalkthroughPanel = memo(() => {
37
36
  m.div,
38
37
  {
39
38
  layout: "position",
40
- className: css({
41
- position: "relative"
39
+ className: vstack({
40
+ position: "relative",
41
+ layerStyle: "likec4.dropdown",
42
+ gap: "sm",
43
+ padding: "md",
44
+ paddingTop: "xxs",
45
+ pointerEvents: "all",
46
+ maxWidth: 300,
47
+ height: "max-content",
48
+ maxHeight: "calc(100cqh - 100px)",
49
+ width: "max-content",
50
+ cursor: "default",
51
+ overflow: "hidden",
52
+ "@/sm": {
53
+ minWidth: 400,
54
+ maxWidth: 550
55
+ },
56
+ "@/lg": {
57
+ maxWidth: 700
58
+ }
42
59
  }),
43
60
  initial: {
44
61
  opacity: 0,
@@ -52,48 +69,17 @@ const WalkthroughPanel = memo(() => {
52
69
  opacity: 0,
53
70
  translateX: -20
54
71
  },
55
- children: /* @__PURE__ */ jsxs(
56
- ScrollAreaAutosize,
57
- {
58
- className: vstack({
59
- position: "absolute",
60
- layerStyle: "likec4.dropdown",
61
- gap: "sm",
62
- padding: "md",
63
- paddingTop: "xxs",
64
- pointerEvents: "all",
65
- maxWidth: "calc(100cqw - 32px)",
66
- minWidth: "calc(100cqw - 50px)",
67
- maxHeight: "calc(100cqh - 100px)",
68
- width: "max-content",
69
- cursor: "default",
70
- overflow: "auto",
71
- overscrollBehavior: "contain",
72
- "@/sm": {
73
- minWidth: 400,
74
- maxWidth: 550
75
- },
76
- "@/lg": {
77
- maxWidth: 700
78
- }
79
- }),
80
- type: "scroll",
81
- children: [
82
- /* @__PURE__ */ jsx(SectionHeader, { children: "Notes" }),
83
- /* @__PURE__ */ jsx(
84
- Markdown,
85
- {
86
- value: notes,
87
- fontSize: "sm",
88
- emptyText: "No description",
89
- className: css({
90
- userSelect: "all"
91
- })
92
- }
93
- )
94
- ]
95
- }
96
- )
72
+ children: /* @__PURE__ */ jsxs(ScrollAreaAutosize, { type: "scroll", overscrollBehavior: "contain", children: [
73
+ /* @__PURE__ */ jsx(SectionHeader, { children: "Notes" }),
74
+ /* @__PURE__ */ jsx(
75
+ Markdown,
76
+ {
77
+ value: notes,
78
+ fontSize: "sm",
79
+ emptyText: "No description"
80
+ }
81
+ )
82
+ ] })
97
83
  }
98
84
  ) });
99
85
  });
@@ -2,7 +2,7 @@ import { forwardRef, createElement } from 'react';
2
2
  import defaultAttributes from './defaultAttributes.js';
3
3
 
4
4
  /**
5
- * @license @tabler/icons-react v3.36.1 - MIT
5
+ * @license @tabler/icons-react v3.40.0 - MIT
6
6
  *
7
7
  * This source code is licensed under the MIT license.
8
8
  * See the LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @tabler/icons-react v3.36.1 - MIT
2
+ * @license @tabler/icons-react v3.40.0 - MIT
3
3
  *
4
4
  * This source code is licensed under the MIT license.
5
5
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
1
  import createReactComponent from '../createReactComponent.js';
2
2
 
3
3
  /**
4
- * @license @tabler/icons-react v3.36.1 - MIT
4
+ * @license @tabler/icons-react v3.40.0 - MIT
5
5
  *
6
6
  * This source code is licensed under the MIT license.
7
7
  * See the LICENSE file in the root directory of this source tree.