@likec4/diagram 1.51.0 → 1.53.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 (158) hide show
  1. package/dist/LikeC4View.js +1 -1
  2. package/dist/_virtual/assign-6b5249c3.cjs.js +3 -0
  3. package/dist/_virtual/log-b8ad8428.cjs.js +3 -0
  4. package/dist/_virtual/raise-f23ccfcb.cjs.js +3 -0
  5. package/dist/_virtual/store-803b8f7d.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/components/Tree.js +1 -1
  11. package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
  12. package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
  13. package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
  14. package/dist/base-primitives/element/ElementActionButtons.js +1 -1
  15. package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
  16. package/dist/components/ErrorFallback.js +1 -1
  17. package/dist/components/Link.js +2 -2
  18. package/dist/components/NavigationPanel.js +4 -2
  19. package/dist/components/SearchControl.css.js +79 -0
  20. package/dist/components/SearchControl.js +17 -0
  21. package/dist/context/IconRenderer.js +7 -7
  22. package/dist/custom/index.d.ts +1 -0
  23. package/dist/custom/index.js +1 -0
  24. package/dist/editor/editorActor.actions.d.ts +142 -190
  25. package/dist/index.d.ts +3 -0
  26. package/dist/index.js +3 -0
  27. package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
  28. package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
  29. package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
  30. package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
  31. package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
  32. package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
  33. package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
  34. package/dist/likec4diagram/state/machine.setup.js +2 -2
  35. package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
  36. package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
  37. package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
  38. package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
  39. package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
  40. package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
  41. package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -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.0_react@19.2.4/node_modules/@xstate/store/dist/store-803b8f7d.cjs.js} +151 -132
  116. package/dist/node_modules/.pnpm/{@xstate_store@3.14.0_react@19.2.4 → @xstate_store@3.17.0_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.28.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.28.0/node_modules/xstate/dist/assign-6b5249c3.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.28.0/node_modules/xstate/dist/log-b8ad8428.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.28.0/node_modules/xstate/dist/raise-f23ccfcb.cjs.js} +223 -126
  121. package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/guards/dist/xstate-guards.cjs.js +2 -2
  122. package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
  123. package/dist/overlays/element-details/MetadataValue.js +2 -2
  124. package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
  125. package/dist/overlays/element-details/TabPanelRelationships.js +3 -3
  126. package/dist/overlays/element-details/TabPanelStructure.js +1 -1
  127. package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
  128. package/dist/overlays/relationship-details/SelectEdge.js +2 -2
  129. package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
  130. package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
  131. package/dist/overlays/relationships-browser/SelectElement.js +2 -2
  132. package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
  133. package/dist/projects-overview/actor.d.ts +15 -21
  134. package/dist/projects-overview/custom/nodeTypes.js +1 -1
  135. package/dist/search/Search.d.ts +8 -0
  136. package/dist/search/Search.js +40 -47
  137. package/dist/search/SearchContext.d.ts +21 -0
  138. package/dist/search/SearchContext.js +20 -0
  139. package/dist/search/XStateSearchAdapter.d.ts +5 -0
  140. package/dist/search/XStateSearchAdapter.js +64 -0
  141. package/dist/search/components/ElementsColumn.js +6 -9
  142. package/dist/search/components/PickView.d.ts +1 -3
  143. package/dist/search/components/PickView.js +5 -5
  144. package/dist/search/components/SearchByTags.js +1 -1
  145. package/dist/search/components/SearchInput.js +6 -7
  146. package/dist/search/components/ViewsColum.js +8 -12
  147. package/dist/search/hooks.d.ts +0 -2
  148. package/dist/search/hooks.js +7 -33
  149. package/dist/styles.css2.js +1 -1
  150. package/package.json +23 -23
  151. package/panda.buildinfo.json +2 -3
  152. package/styles-min.css +1 -1
  153. package/styles.css +1 -1
  154. package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
  155. package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
  156. package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
  157. package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
  158. /package/dist/node_modules/.pnpm/{xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c → xstate@5.28.0}/node_modules/xstate/dev/dist/xstate-dev.cjs.js +0 -0
@@ -15,7 +15,7 @@ import { Overlay } from './overlays/overlay/Overlay.js';
15
15
  import { ShadowRoot } from './shadowroot/ShadowRoot.js';
16
16
  import { pickViewBounds } from './utils/view-bounds.js';
17
17
  import { stopPropagation } from './utils/xyflow.js';
18
- 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';
18
+ 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';
19
19
 
20
20
  const cssInteractive = css({
21
21
  cursor: "pointer",
@@ -0,0 +1,3 @@
1
+ var assign6b5249c3_cjs = {};
2
+
3
+ export { assign6b5249c3_cjs as __exports };
@@ -0,0 +1,3 @@
1
+ var logB8ad8428_cjs = {};
2
+
3
+ export { logB8ad8428_cjs as __exports };
@@ -0,0 +1,3 @@
1
+ var raiseF23ccfcb_cjs = {};
2
+
3
+ export { raiseF23ccfcb_cjs as __exports };
@@ -0,0 +1,3 @@
1
+ var store803b8f7d_cjs = {};
2
+
3
+ export { store803b8f7d_cjs as __exports };
@@ -1,4 +1,4 @@
1
- import { __require as requireXstateActions_cjs } from '../node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/actions/dist/xstate-actions.cjs.js';
1
+ import { __require as requireXstateActions_cjs } from '../node_modules/.pnpm/xstate@5.28.0/node_modules/xstate/actions/dist/xstate-actions.cjs.js';
2
2
 
3
3
  var xstateActions_cjsExports = requireXstateActions_cjs();
4
4
 
@@ -1,4 +1,4 @@
1
- import { __require as requireXstateGuards_cjs } from '../node_modules/.pnpm/xstate@5.24.0_patch_hash_3a1bd6d012ec67bf6e38a00c3226d1be77089442f83aeb6e424b00ca2a11d21c/node_modules/xstate/guards/dist/xstate-guards.cjs.js';
1
+ import { __require as requireXstateGuards_cjs } from '../node_modules/.pnpm/xstate@5.28.0/node_modules/xstate/guards/dist/xstate-guards.cjs.js';
2
2
 
3
3
  var xstateGuards_cjsExports = requireXstateGuards_cjs();
4
4
 
@@ -1,4 +1,4 @@
1
- import { __require as requireXstateStoreReact_cjs } from '../node_modules/.pnpm/@xstate_store@3.14.0_react@19.2.4/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js';
1
+ import { __require as requireXstateStoreReact_cjs } from '../node_modules/.pnpm/@xstate_store@3.17.0_react@19.2.4/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js';
2
2
 
3
3
  var xstateStoreReact_cjsExports = requireXstateStoreReact_cjs();
4
4
 
@@ -7,7 +7,7 @@ import { prop } from 'remeda';
7
7
  import { Logo } from '../components/Logo.js';
8
8
  import { ElementsTree } from './ElementsTree.js';
9
9
  import { EditorPanelStoreProvider, useEditorPanelState, useEditorPanelTrigger, selectEditorPanelState } from './state/panel.js';
10
- import IconTrash from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js';
10
+ import IconTrash from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js';
11
11
 
12
12
  const EditorPanel = () => {
13
13
  return /* @__PURE__ */ jsx(EditorPanelStoreProvider, { children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", children: /* @__PURE__ */ jsxs(
@@ -2,7 +2,7 @@ import { jsx } from 'react/jsx-runtime';
2
2
  import { sva, cx, css, cva } from '@likec4/styles/css';
3
3
  import { createStyleContext } from '@likec4/styles/jsx';
4
4
  import { IconOrShapeRenderer } from '../../context/IconRenderer.js';
5
- 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';
5
+ 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';
6
6
 
7
7
  const statebtn = cva({
8
8
  base: {
@@ -6,7 +6,7 @@ import { useDebouncedValue } from '@mantine/hooks';
6
6
  import * as m from 'motion/react-m';
7
7
  import { stopPropagation } from '../../utils/xyflow.js';
8
8
  import { compoundActionBtn } from './actionbtns.css.js';
9
- 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';
9
+ 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';
10
10
 
11
11
  const variants = {
12
12
  normal: {
@@ -6,7 +6,7 @@ import { useDebouncedValue } from '@mantine/hooks';
6
6
  import * as m from 'motion/react-m';
7
7
  import { stopPropagation } from '../../utils/xyflow.js';
8
8
  import { compoundActionBtn } from './actionbtns.css.js';
9
- 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';
9
+ 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';
10
10
 
11
11
  const variants = {
12
12
  normal: {
@@ -3,7 +3,7 @@ import { cx } from '@likec4/styles/css';
3
3
  import { edgeActionBtn } from '@likec4/styles/recipes';
4
4
  import { ActionIcon } from '@mantine/core';
5
5
  import { stopPropagation } from '../../utils/xyflow.js';
6
- 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';
6
+ 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';
7
7
 
8
8
  function EdgeActionButton({ icon, onClick }) {
9
9
  return /* @__PURE__ */ jsx(
@@ -5,7 +5,7 @@ import { ActionIcon } from '@mantine/core';
5
5
  import { useId } from '@mantine/hooks';
6
6
  import * as m from 'motion/react-m';
7
7
  import { stopPropagation } from '../../utils/xyflow.js';
8
- import IconBolt from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js';
8
+ import IconBolt from '../../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconBolt.js';
9
9
 
10
10
  const variants = {
11
11
  normal: {
@@ -5,7 +5,7 @@ import { actionBtn } from '@likec4/styles/recipes';
5
5
  import { ActionIcon } from '@mantine/core';
6
6
  import * as m from 'motion/react-m';
7
7
  import { stopPropagation } from '../../utils/xyflow.js';
8
- 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';
8
+ 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';
9
9
 
10
10
  const variants = {
11
11
  normal: {
@@ -4,7 +4,7 @@ import { HStack, VStack } from '@likec4/styles/jsx';
4
4
  import { ThemeIcon, Text, ScrollAreaAutosize, Button } from '@mantine/core';
5
5
  import { useRef, useEffect } from 'react';
6
6
  import { ErrorBoundary as ErrorBoundary$1 } from 'react-error-boundary';
7
- 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';
7
+ 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';
8
8
 
9
9
  function ErrorFallback({ error, resetErrorBoundary }) {
10
10
  const errorString = error instanceof Error ? error.message : "Unknown error";
@@ -4,8 +4,8 @@ import { styled } from '@likec4/styles/jsx';
4
4
  import { Badge, CopyButton, ActionIcon } from '@mantine/core';
5
5
  import { forwardRef } from 'react';
6
6
  import { GithubIcon } from './GithubIcon.js';
7
- import IconCheck from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js';
8
- import IconCopy from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js';
7
+ import IconCheck from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCheck.js';
8
+ import IconCopy from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js';
9
9
 
10
10
  const GITHUB_PREFIX = "https://github.com/";
11
11
  const Link = forwardRef(
@@ -36,13 +36,15 @@ const Logo = withContext(LogoButton, "logo");
36
36
  const Label = withContext(m.div, "label", {
37
37
  shouldForwardProp
38
38
  });
39
- withContext(m.div, "dropdown", {
39
+ const Dropdown = withContext(m.div, "dropdown", {
40
40
  shouldForwardProp
41
41
  });
42
42
  const NavigationPanel = {
43
43
  Root,
44
44
  Body,
45
45
  Logo,
46
- Label};
46
+ Label,
47
+ Dropdown
48
+ };
47
49
 
48
50
  export { NavigationPanel };
@@ -0,0 +1,79 @@
1
+ import { css } from '@likec4/styles/css';
2
+
3
+ const root = css({
4
+ height: "30px",
5
+ paddingLeft: "sm",
6
+ paddingRight: "1",
7
+ borderRadius: "sm",
8
+ // TODO
9
+ // color: fallbackVar('var(--search-color)', 'mantine.colors.placeholder)',
10
+ border: "1px solid",
11
+ borderColor: {
12
+ base: "default.border",
13
+ _light: "mantine.colors.gray[4]",
14
+ _dark: "mantine.colors.dark[4]",
15
+ _hover: "default.border"
16
+ },
17
+ cursor: "pointer",
18
+ background: {
19
+ base: "default",
20
+ _light: "white",
21
+ _dark: "mantine.colors.dark[6]",
22
+ _hover: "default.hover"
23
+ },
24
+ width: "100%",
25
+ "& .tabler-icon": {
26
+ color: "text"
27
+ },
28
+ transition: {
29
+ base: "fast",
30
+ _whenPanning: "none !important"
31
+ },
32
+ boxShadow: {
33
+ base: "xs",
34
+ _hover: "sm",
35
+ _whenPanning: "none !important"
36
+ }
37
+ });
38
+ const placeholder = css({
39
+ fontSize: "sm",
40
+ // mantine.fontSizes.sm,
41
+ fontWeight: "medium",
42
+ paddingRight: "2.5",
43
+ // 10px
44
+ color: "text.placeholder",
45
+ flex: "1",
46
+ sm: {
47
+ paddingRight: "[30px]"
48
+ },
49
+ md: {
50
+ paddingRight: "[50px]"
51
+ }
52
+ });
53
+ const shortcut = css({
54
+ fontSize: "11px",
55
+ fontWeight: "bold",
56
+ lineHeight: 1,
57
+ padding: "[4px 7px]",
58
+ borderRadius: "sm",
59
+ border: "1px solid",
60
+ transition: "fast",
61
+ _light: {
62
+ color: "mantine.colors.gray[7]",
63
+ borderColor: "mantine.colors.gray[2]"
64
+ },
65
+ _dark: {
66
+ color: "mantine.colors.dark[0]",
67
+ borderColor: "mantine.colors.dark[7]"
68
+ },
69
+ backgroundColor: {
70
+ _light: "mantine.colors.gray[2]/70",
71
+ _dark: "mantine.colors.dark[8]/70",
72
+ _groupHover: {
73
+ _light: "mantine.colors.gray[2]",
74
+ _dark: "mantine.colors.dark[8]"
75
+ }
76
+ }
77
+ });
78
+
79
+ export { placeholder, root, shortcut };
@@ -0,0 +1,17 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import { cx } from '@likec4/styles/css';
3
+ import { UnstyledButton, Group, Text } from '@mantine/core';
4
+ import { isMacOs } from '@xyflow/system';
5
+ import { placeholder, shortcut, root } from './SearchControl.css.js';
6
+ 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';
7
+
8
+ function SearchControl({ className, ...others }) {
9
+ const isMac = isMacOs();
10
+ return /* @__PURE__ */ jsx(UnstyledButton, { ...others, className: cx("group", root, className), children: /* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
11
+ /* @__PURE__ */ jsx(IconSearch, { style: { width: "15px", height: "15px" }, stroke: 2 }),
12
+ /* @__PURE__ */ jsx(Text, { component: "div", className: placeholder, children: "Search" }),
13
+ /* @__PURE__ */ jsx(Text, { component: "div", className: shortcut, children: isMac ? "⌘ + K" : "Ctrl + K" })
14
+ ] }) });
15
+ }
16
+
17
+ export { SearchControl };
@@ -1,13 +1,13 @@
1
1
  import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { cx } from '@likec4/styles/css';
3
3
  import { createContext, useContext } from 'react';
4
- import IconRectangularPrism from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js';
5
- import IconFileText from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js';
6
- import IconCylinder from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js';
7
- import IconReorder from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js';
8
- import IconUser from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js';
9
- import IconDeviceMobile from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js';
10
- import IconBrowser from '../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js';
4
+ import IconRectangularPrism from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js';
5
+ import IconFileText from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js';
6
+ import IconCylinder from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js';
7
+ import IconReorder from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js';
8
+ import IconUser from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconUser.js';
9
+ import IconDeviceMobile from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js';
10
+ import IconBrowser from '../node_modules/.pnpm/@tabler_icons-react@3.40.0_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js';
11
11
 
12
12
  const IconRendererContext = createContext(null);
13
13
  function IconRendererProvider({
@@ -12,3 +12,4 @@ export type { OverlayProps } from '../overlays/overlay/Overlay';
12
12
  export { PortalToContainer } from '../components/PortalToContainer';
13
13
  export { ShadowRoot } from '../shadowroot/ShadowRoot';
14
14
  export { FramerMotionConfig } from '../context/FramerMotionConfig';
15
+ export { NavigationPanel } from '../components/NavigationPanel';
@@ -5,6 +5,7 @@ export { Overlay } from '../overlays/overlay/Overlay.js';
5
5
  export { PortalToContainer } from '../components/PortalToContainer.js';
6
6
  export { ShadowRoot } from '../shadowroot/ShadowRoot.js';
7
7
  export { FramerMotionConfig } from '../context/FramerMotionConfig.js';
8
+ export { NavigationPanel } from '../components/NavigationPanel.js';
8
9
  export { CompoundActionButton } from '../base-primitives/compound/CompoundActionButton.js';
9
10
  export { CompoundActions } from '../likec4diagram/custom/nodes/CompoundActions.js';
10
11
  export { CompoundDeploymentNode, CompoundDetailsButtonWithHandler, CompoundElementNode, DeploymentNode, ElementDetailsButtonWithHandler, ElementNode, ViewGroupNode } from '../likec4diagram/custom/nodes/nodes.js';