@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.
- package/dist/LikeC4View.js +1 -1
- package/dist/_virtual/assign-f10db67b.cjs.js +3 -0
- package/dist/_virtual/log-30abbb83.cjs.js +3 -0
- package/dist/_virtual/raise-f051f097.cjs.js +3 -0
- package/dist/_virtual/store-cfe7da62.cjs.js +3 -0
- package/dist/_virtual/xstate-actions.cjs.js +1 -1
- package/dist/_virtual/xstate-guards.cjs.js +1 -1
- package/dist/_virtual/xstate-store-react.cjs.js +1 -1
- package/dist/adhoc-editor/EditorPanel.js +1 -1
- package/dist/adhoc-editor/LikeC4AdHocViewEditor.js +2 -0
- package/dist/adhoc-editor/components/Tree.js +1 -1
- package/dist/base-primitives/compound/CompoundActionButton.js +1 -1
- package/dist/base-primitives/compound/CompoundDetailsButton.js +1 -1
- package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
- package/dist/base-primitives/element/ElementActionButtons.js +1 -1
- package/dist/base-primitives/element/ElementDetailsButton.js +1 -1
- package/dist/components/ErrorFallback.js +1 -1
- package/dist/components/Link.js +2 -2
- package/dist/components/SearchControl.js +1 -1
- package/dist/context/IconRenderer.js +7 -7
- package/dist/editor/editorActor.actions.d.ts +142 -190
- package/dist/likec4diagram/custom/nodes/ElementActions.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +2 -2
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +2 -2
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +4 -4
- package/dist/likec4diagram/relationship-popover/actor.d.ts +28 -130
- package/dist/likec4diagram/state/machine.actions.d.ts +1819 -2407
- package/dist/likec4diagram/state/machine.actions.layout.d.ts +472 -628
- package/dist/likec4diagram/state/machine.js +1 -1
- package/dist/likec4diagram/state/machine.setup.js +2 -2
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
- package/dist/likec4diagram/state/machine.state.navigating.js +2 -1
- package/dist/likec4diagram/state/machine.state.ready.d.ts +2921 -3807
- package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +413 -537
- package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +352 -413
- package/dist/likec4diagram/state/machine.state.ready.js +1 -1
- package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +91 -121
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +1 -1
- package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -2
- package/dist/likec4diagram/useLayoutConstraints.js +7 -2
- package/dist/likec4diagram/xyflow-diagram/diagram-view.js +1 -2
- package/dist/navigationpanel/NavigationPanelDropdown.js +7 -7
- package/dist/navigationpanel/_common.js +1 -1
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
- package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
- package/dist/navigationpanel/controls/DetailsControls.js +2 -2
- package/dist/navigationpanel/controls/LayoutWarning.js +1 -1
- package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
- package/dist/navigationpanel/controls/OpenSource.js +1 -1
- package/dist/navigationpanel/controls/SearchControl.js +1 -1
- package/dist/navigationpanel/controls/ToggleReadonly.js +2 -2
- package/dist/navigationpanel/dropdown/ProjectsMenu.js +1 -1
- package/dist/navigationpanel/editorpanel/CenterCamera.js +1 -1
- package/dist/navigationpanel/editorpanel/ChangeAutoLayoutButton.js +1 -1
- package/dist/navigationpanel/editorpanel/ManualLayoutToolsButton.js +9 -9
- package/dist/navigationpanel/editorpanel/ToggleReadonly.js +1 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +3 -3
- package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +2 -2
- package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +31 -45
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/overlays/Overlays.js +2 -1
- package/dist/overlays/element-details/ElementDetailsCard.js +4 -4
- package/dist/overlays/element-details/MetadataValue.js +2 -2
- package/dist/overlays/element-details/TabPanelDeployments.js +3 -3
- package/dist/overlays/element-details/TabPanelRelationships.js +4 -3
- package/dist/overlays/element-details/TabPanelStructure.js +1 -1
- package/dist/overlays/relationship-details/RelationshipDetails.js +3 -3
- package/dist/overlays/relationship-details/SelectEdge.js +2 -2
- package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +6 -6
- package/dist/overlays/relationships-browser/SelectElement.js +2 -2
- package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
- package/dist/projects-overview/actor.d.ts +15 -21
- package/dist/projects-overview/custom/nodeTypes.js +1 -1
- package/dist/search/components/ElementsColumn.js +1 -1
- package/dist/search/components/PickView.js +1 -1
- package/dist/search/components/SearchByTags.js +1 -1
- package/dist/search/components/SearchInput.js +1 -1
- package/dist/search/components/ViewsColum.js +2 -2
- package/dist/styles.css2.js +1 -1
- package/package.json +21 -21
- package/panda.buildinfo.json +2 -3
- package/styles-min.css +1 -1
- package/styles.css +1 -1
- package/dist/_virtual/assign-dea9f7c8.cjs.js +0 -3
- package/dist/_virtual/log-ec8d4df4.cjs.js +0 -3
- package/dist/_virtual/raise-da5b247f.cjs.js +0 -3
- package/dist/_virtual/store-1b2fbb72.cjs.js +0 -3
- /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.
|
|
13
|
-
import IconArrowDownRight from '../../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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
|
|
325
|
-
const {
|
|
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
|
}
|
|
@@ -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.
|
|
21
|
-
import IconDirectionSignFilled from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
22
|
-
import IconStack2 from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
23
|
-
import IconZoomScan from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
24
|
-
import IconStarFilled from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
25
|
-
import IconFolderFilled from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
26
|
-
import IconChevronRight from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
16
|
-
import IconLink from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
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.
|
|
8
|
-
import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
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.
|
|
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.
|
|
12
|
-
import IconLock from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
13
|
-
import IconLayoutBoardSplit from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
14
|
-
import IconLayoutAlignLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
15
|
-
import IconLayoutAlignCenter from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
16
|
-
import IconLayoutAlignRight from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
17
|
-
import IconLayoutAlignTop from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
18
|
-
import IconLayoutAlignMiddle from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
19
|
-
import IconLayoutAlignBottom from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
20
|
-
import IconRouteOff from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
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.
|
|
12
|
-
import IconPlayerSkipBackFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
13
|
-
import IconPlayerSkipForwardFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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,
|
|
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.
|
|
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:
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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.
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import createReactComponent from '../createReactComponent.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @license @tabler/icons-react v3.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|