@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.
- package/dist/LikeC4View.js +1 -1
- package/dist/_virtual/assign-6b5249c3.cjs.js +3 -0
- package/dist/_virtual/log-b8ad8428.cjs.js +3 -0
- package/dist/_virtual/raise-f23ccfcb.cjs.js +3 -0
- package/dist/_virtual/store-803b8f7d.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/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/NavigationPanel.js +4 -2
- package/dist/components/SearchControl.css.js +79 -0
- package/dist/components/SearchControl.js +17 -0
- package/dist/context/IconRenderer.js +7 -7
- package/dist/custom/index.d.ts +1 -0
- package/dist/custom/index.js +1 -0
- package/dist/editor/editorActor.actions.d.ts +142 -190
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- 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.setup.js +2 -2
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +148 -196
- 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.printing.d.ts +91 -121
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +583 -775
- package/dist/likec4diagram/ui/notation/NotationPanel.js +2 -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.0_react@19.2.4/node_modules/@xstate/store/dist/store-803b8f7d.cjs.js} +151 -132
- 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
- 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
- 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
- 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
- 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
- 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
- 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 +3 -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/Search.d.ts +8 -0
- package/dist/search/Search.js +40 -47
- package/dist/search/SearchContext.d.ts +21 -0
- package/dist/search/SearchContext.js +20 -0
- package/dist/search/XStateSearchAdapter.d.ts +5 -0
- package/dist/search/XStateSearchAdapter.js +64 -0
- package/dist/search/components/ElementsColumn.js +6 -9
- package/dist/search/components/PickView.d.ts +1 -3
- package/dist/search/components/PickView.js +5 -5
- package/dist/search/components/SearchByTags.js +1 -1
- package/dist/search/components/SearchInput.js +6 -7
- package/dist/search/components/ViewsColum.js +8 -12
- package/dist/search/hooks.d.ts +0 -2
- package/dist/search/hooks.js +7 -33
- package/dist/styles.css2.js +1 -1
- package/package.json +23 -23
- 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.28.0}/node_modules/xstate/dev/dist/xstate-dev.cjs.js +0 -0
package/dist/LikeC4View.js
CHANGED
|
@@ -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.
|
|
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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __require as requireXstateActions_cjs } from '../node_modules/.pnpm/xstate@5.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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";
|
package/dist/components/Link.js
CHANGED
|
@@ -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.
|
|
8
|
-
import IconCopy from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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.
|
|
5
|
-
import IconFileText from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
6
|
-
import IconCylinder from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
7
|
-
import IconReorder from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
8
|
-
import IconUser from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
9
|
-
import IconDeviceMobile from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
10
|
-
import IconBrowser from '../node_modules/.pnpm/@tabler_icons-react@3.
|
|
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({
|
package/dist/custom/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/custom/index.js
CHANGED
|
@@ -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';
|