@likec4/diagram 1.47.0 → 1.49.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/LICENSE +1 -1
- package/README.md +8 -10
- package/adhoc-editor/package.json +4 -0
- package/dist/LikeC4Diagram.d.ts +2 -1
- package/dist/LikeC4Diagram.js +85 -81
- package/dist/LikeC4Diagram.props.d.ts +10 -6
- package/dist/LikeC4ModelProvider.d.ts +4 -4
- package/dist/LikeC4ModelProvider.js +2 -2
- package/dist/LikeC4ProjectsOverview.d.ts +3 -2
- package/dist/LikeC4ProjectsProvider.d.ts +2 -1
- package/dist/LikeC4ProjectsProvider.js +10 -8
- package/dist/LikeC4Styles.d.ts +3 -6
- package/dist/LikeC4Styles.js +44 -43
- package/dist/LikeC4View.d.ts +22 -1
- package/dist/LikeC4View.js +40 -25
- package/dist/ReactLikeC4.d.ts +13 -2
- package/dist/ReactLikeC4.js +8 -4
- package/dist/StaticLikeC4Diagram.d.ts +2 -1
- package/dist/StaticLikeC4Diagram.js +1 -0
- package/dist/_virtual/store-1b2fbb72.cjs.js +3 -0
- package/dist/_virtual/xstate-store-react.cjs.js +5 -0
- package/dist/_virtual/xstate-store-react.cjs2.js +3 -0
- package/dist/adhoc-editor/EditorPanel.d.ts +1 -0
- package/dist/adhoc-editor/EditorPanel.js +105 -0
- package/dist/adhoc-editor/ElementsTree.d.ts +2 -0
- package/dist/adhoc-editor/ElementsTree.js +142 -0
- package/dist/adhoc-editor/LikeC4AdHocViewEditor.d.ts +4 -0
- package/dist/adhoc-editor/LikeC4AdHocViewEditor.js +74 -0
- package/dist/adhoc-editor/components/Tree.d.ts +48 -0
- package/dist/adhoc-editor/components/Tree.js +296 -0
- package/dist/adhoc-editor/hooks.d.ts +14 -0
- package/dist/adhoc-editor/hooks.js +29 -0
- package/dist/adhoc-editor/index.d.ts +2 -0
- package/dist/adhoc-editor/index.js +1 -0
- package/dist/adhoc-editor/state/ActorProvider.d.ts +5 -0
- package/dist/adhoc-editor/state/ActorProvider.js +40 -0
- package/dist/adhoc-editor/state/actor.d.ts +13 -0
- package/dist/adhoc-editor/state/actor.editor.d.ts +56 -0
- package/dist/adhoc-editor/state/actor.editor.js +205 -0
- package/dist/adhoc-editor/state/actor.js +16 -0
- package/dist/adhoc-editor/state/actor.layouter.d.ts +51 -0
- package/dist/adhoc-editor/state/actor.layouter.js +70 -0
- package/dist/adhoc-editor/state/actor.types.d.ts +63 -0
- package/dist/adhoc-editor/state/actor.types.js +29 -0
- package/dist/adhoc-editor/state/panel.d.ts +95 -0
- package/dist/adhoc-editor/state/panel.js +139 -0
- package/dist/adhoc-editor/state/utils.d.ts +17 -0
- package/dist/adhoc-editor/state/utils.js +32 -0
- package/dist/adhoc-editor/useElementsTree.d.ts +18 -0
- package/dist/adhoc-editor/useElementsTree.js +130 -0
- package/dist/adhoc-editor/viewrules/ViewRulesPanel.d.ts +6 -0
- package/dist/base/const.d.ts +2 -0
- package/dist/base/const.js +2 -1
- package/dist/base/updateEdges.js +26 -3
- package/dist/base/updateNodes.js +8 -5
- package/dist/base-primitives/Markdown.d.ts +1 -1
- package/dist/base-primitives/Markdown.js +1 -1
- package/dist/base-primitives/NodeHandles.d.ts +4 -2
- package/dist/base-primitives/NodeHandles.js +46 -19
- package/dist/base-primitives/compound/CompoundActionButton.js +28 -12
- package/dist/base-primitives/compound/CompoundDetailsButton.js +24 -9
- package/dist/base-primitives/compound/CompoundNodeContainer.js +11 -8
- package/dist/base-primitives/compound/CompoundTitle.js +1 -2
- package/dist/base-primitives/compound/actionbtns.css.d.ts +1 -1
- package/dist/base-primitives/edge/EdgeActionButton.js +1 -1
- package/dist/base-primitives/edge/EdgeContainer.js +5 -2
- package/dist/base-primitives/edge/EdgeLabel.js +3 -4
- package/dist/base-primitives/edge/EdgeLabelContainer.d.ts +2 -1
- package/dist/base-primitives/edge/EdgeLabelContainer.js +17 -20
- package/dist/base-primitives/element/ElementActionButtons.js +57 -59
- package/dist/base-primitives/element/ElementData.d.ts +7 -7
- package/dist/base-primitives/element/ElementData.js +61 -48
- package/dist/base-primitives/element/ElementDetailsButton.js +48 -18
- package/dist/base-primitives/element/ElementNodeContainer.d.ts +5 -5
- package/dist/base-primitives/element/ElementNodeContainer.js +24 -10
- package/dist/base-primitives/element/ElementShape.d.ts +2 -2
- package/dist/base-primitives/element/ElementShape.js +70 -7
- package/dist/base-primitives/element/ElementTags.d.ts +6 -2
- package/dist/base-primitives/element/ElementTags.js +55 -32
- package/dist/base-primitives/index.d.ts +1 -1
- package/dist/base-primitives/memoEdge.js +1 -1
- package/dist/base-primitives/memoNode.js +1 -1
- package/dist/components/ErrorFallback.js +1 -1
- package/dist/components/Link.js +3 -3
- package/dist/components/NavigationPanel.d.ts +2 -2
- package/dist/components/NavigationPanel.js +5 -26
- package/dist/components/PortalToContainer.js +3 -4
- package/dist/components/RootContainer.js +9 -19
- package/dist/components/ViewNotFound.d.ts +3 -3
- package/dist/components/ViewNotFound.js +30 -26
- package/dist/context/CurrentViewModelProvider.d.ts +2 -0
- package/dist/context/CurrentViewModelProvider.js +12 -0
- package/dist/context/DefaultMantineProvider.d.ts +2 -0
- package/dist/context/DefaultMantineProvider.js +75 -0
- package/dist/context/DiagramEventHandlers.d.ts +5 -5
- package/dist/context/DiagramEventHandlers.js +10 -4
- package/dist/context/DiagramFeatures.d.ts +8 -7
- package/dist/context/DiagramFeatures.js +16 -13
- package/dist/context/EnsureMantine.d.ts +0 -3
- package/dist/context/EnsureMantine.js +3 -4
- package/dist/context/FramerMotionConfig.d.ts +1 -3
- package/dist/context/IconRenderer.d.ts +19 -4
- package/dist/context/IconRenderer.js +52 -25
- package/dist/context/LikeC4ModelContext.d.ts +10 -5
- package/dist/context/LikeC4ModelContext.js +11 -3
- package/dist/context/LikeC4ProjectsContext.d.ts +3 -2
- package/dist/context/LikeC4ProjectsContext.js +6 -2
- package/dist/context/RootContainerContext.d.ts +10 -3
- package/dist/context/RootContainerContext.js +8 -3
- package/dist/context/TagStylesContext.js +13 -5
- package/dist/custom/hooks.d.ts +2 -2
- package/dist/custom/index.d.ts +1 -1
- package/dist/custom/index.js +16 -15
- package/dist/editor/LikeC4EditorCallbacks.d.ts +18 -0
- package/dist/editor/LikeC4EditorCallbacks.js +5 -0
- package/dist/editor/LikeC4EditorProvider.d.ts +30 -18
- package/dist/editor/LikeC4EditorProvider.js +3 -3
- package/dist/editor/applyChangesToManualLayout.js +7 -6
- package/dist/editor/editorActor.actions.d.ts +25 -25
- package/dist/editor/editorActor.actions.js +22 -22
- package/dist/editor/editorActor.setup.d.ts +84 -0
- package/dist/editor/editorActor.setup.js +38 -0
- package/dist/editor/editorActor.states.d.ts +9 -0
- package/dist/editor/{editorActor.js → editorActor.states.js} +21 -72
- package/dist/editor/index.d.ts +4 -3
- package/dist/editor/useEditorActorLogic.d.ts +2 -565
- package/dist/editor/useEditorActorLogic.js +14 -21
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/safeContext.d.ts +4 -5
- package/dist/hooks/useCallbackRef.d.ts +6 -0
- package/dist/hooks/useCallbackRef.js +7 -6
- package/dist/hooks/useCurrentView.js +5 -10
- package/dist/hooks/useCurrentViewModel.d.ts +8 -2
- package/dist/hooks/useCurrentViewModel.js +3 -7
- package/dist/hooks/useDiagram.d.ts +9 -1
- package/dist/hooks/useDiagram.js +10 -4
- package/dist/hooks/useDiagramCompareLayout.d.ts +6 -6
- package/dist/hooks/useDiagramCompareLayout.js +1 -1
- package/dist/hooks/useLikeC4ElementsTree.d.ts +1 -1
- package/dist/hooks/useLikeC4ElementsTree.js +2 -2
- package/dist/hooks/useLikeC4Model.d.ts +6 -2
- package/dist/hooks/useLikeC4Model.js +7 -9
- package/dist/hooks/useLikeC4Project.d.ts +4 -6
- package/dist/hooks/useLikeC4Project.js +19 -31
- package/dist/hooks/useLikeC4Styles.js +3 -9
- package/dist/hooks/useMantinePortalProps.d.ts +1 -1
- package/dist/hooks/useMediaPrint.d.ts +0 -2
- package/dist/hooks/useOverlaysActor.js +4 -4
- package/dist/hooks/useSearchActor.js +4 -4
- package/dist/hooks/useSetState.d.ts +6 -1
- package/dist/hooks/useSetState.js +7 -4
- package/dist/hooks/useXYFlow.d.ts +7 -1
- package/dist/hooks/useXYFlow.js +4 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +3 -1
- package/dist/likec4diagram/DiagramUI.js +1 -3
- package/dist/likec4diagram/DiagramXYFlow.d.ts +2 -1
- package/dist/likec4diagram/DiagramXYFlow.js +29 -18
- package/dist/likec4diagram/convert-to-xyflow.d.ts +2 -1
- package/dist/likec4diagram/convert-to-xyflow.js +2 -6
- package/dist/likec4diagram/custom/edges/RelationshipEdge.js +34 -37
- package/dist/likec4diagram/custom/edges/edges.css.js +2 -1
- package/dist/likec4diagram/custom/edges/useControlPoints.js +3 -3
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.d.ts +3 -0
- package/dist/likec4diagram/custom/edges/useRelationshipEdgePath.js +52 -34
- package/dist/likec4diagram/custom/nodes/ElementActions.d.ts +1 -2
- package/dist/likec4diagram/custom/nodes/ElementActions.js +7 -10
- package/dist/likec4diagram/custom/nodes/NodeDrifts.d.ts +1 -2
- package/dist/likec4diagram/custom/nodes/NodeDrifts.js +3 -20
- package/dist/likec4diagram/custom/nodes/NodeNotes.d.ts +6 -0
- package/dist/likec4diagram/custom/nodes/NodeNotes.js +286 -0
- package/dist/likec4diagram/custom/nodes/SequenceActorNode.js +10 -6
- package/dist/likec4diagram/custom/nodes/nodes.js +30 -8
- package/dist/likec4diagram/custom/nodes/toolbar/ColorButton.js +5 -4
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.d.ts +6 -1
- package/dist/likec4diagram/custom/nodes/toolbar/ElementToolbar.js +14 -9
- package/dist/likec4diagram/custom/nodes/toolbar/_shared.js +4 -4
- package/dist/likec4diagram/custom/nodes/toolbar/styles.css.js +3 -3
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +16 -36
- package/dist/likec4diagram/relationship-popover/components.d.ts +7 -0
- package/dist/likec4diagram/relationship-popover/components.js +39 -0
- package/dist/likec4diagram/state/DiagramActorProvider.d.ts +4 -3
- package/dist/likec4diagram/state/DiagramActorProvider.js +39 -66
- package/dist/likec4diagram/state/assign.d.ts +1 -1
- package/dist/likec4diagram/state/createViewChange.js +16 -4
- package/dist/likec4diagram/state/diagram-api.d.ts +11 -0
- package/dist/likec4diagram/state/diagram-api.js +15 -0
- package/dist/likec4diagram/state/machine.actions.d.ts +92 -0
- package/dist/likec4diagram/state/machine.actions.js +127 -58
- package/dist/likec4diagram/state/machine.actions.layout.d.ts +23 -2
- package/dist/likec4diagram/state/machine.actions.layout.js +68 -15
- package/dist/likec4diagram/state/machine.d.ts +1 -1
- package/dist/likec4diagram/state/machine.js +35 -31
- package/dist/likec4diagram/state/machine.setup.d.ts +40 -7
- package/dist/likec4diagram/state/machine.setup.js +13 -4
- package/dist/likec4diagram/state/machine.state.initializing.d.ts +32 -2
- package/dist/likec4diagram/state/machine.state.navigating.d.ts +1 -1
- package/dist/likec4diagram/state/machine.state.navigating.js +82 -50
- package/dist/likec4diagram/state/machine.state.ready.d.ts +565 -579
- package/dist/likec4diagram/state/machine.state.ready.focused.d.ts +17 -148
- package/dist/likec4diagram/state/machine.state.ready.focused.js +6 -14
- package/dist/likec4diagram/state/machine.state.ready.idle.d.ts +11 -96
- package/dist/likec4diagram/state/machine.state.ready.idle.js +7 -12
- package/dist/likec4diagram/state/machine.state.ready.js +89 -70
- package/dist/likec4diagram/state/machine.state.ready.printing.d.ts +4 -0
- package/dist/likec4diagram/state/machine.state.ready.printing.js +4 -3
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.d.ts +145 -2
- package/dist/likec4diagram/state/machine.state.ready.walkthrough.js +29 -21
- package/dist/likec4diagram/state/types.d.ts +1 -1
- package/dist/likec4diagram/state/utils.d.ts +14 -14
- package/dist/likec4diagram/state/utils.js +12 -4
- package/dist/likec4diagram/types.d.ts +11 -3
- package/dist/likec4diagram/ui/notation/NotationPanel.css.js +2 -2
- package/dist/likec4diagram/ui/notation/NotationPanel.js +3 -3
- package/dist/likec4diagram/useLayoutConstraints.d.ts +12 -12
- package/dist/likec4diagram/useLayoutConstraints.js +126 -84
- package/dist/likec4diagram/xyflow-diagram/diagram-view.d.ts +11 -3
- package/dist/likec4diagram/xyflow-diagram/diagram-view.js +7 -3
- package/dist/likec4diagram/xyflow-sequence/sequence-layout.d.ts +7 -3
- package/dist/likec4diagram/xyflow-sequence/sequence-layout.js +15 -8
- package/dist/navigationpanel/NavigationPanel.js +4 -3
- package/dist/navigationpanel/NavigationPanelControls.js +4 -2
- package/dist/navigationpanel/NavigationPanelDropdown.js +13 -13
- package/dist/navigationpanel/_common.d.ts +1 -1
- package/dist/navigationpanel/_common.js +2 -3
- package/dist/navigationpanel/actor.js +1 -1
- package/dist/navigationpanel/comparepanel/CompareActionsMenu.js +2 -2
- package/dist/navigationpanel/comparepanel/ComparePanel.js +155 -29
- package/dist/navigationpanel/comparepanel/ComparePanelControls.js +1 -1
- package/dist/navigationpanel/comparepanel/DriftsSummary.d.ts +1 -0
- package/dist/navigationpanel/comparepanel/DriftsSummary.js +264 -0
- package/dist/navigationpanel/comparepanel/LayoutTypeSwitcher.js +4 -5
- package/dist/navigationpanel/controls/DetailsControls.js +7 -7
- package/dist/navigationpanel/controls/LayoutWarning.js +2 -2
- package/dist/navigationpanel/controls/LogoButton.js +1 -1
- package/dist/navigationpanel/controls/NavigationButtons.js +2 -2
- package/dist/navigationpanel/controls/OpenSource.js +1 -1
- package/dist/navigationpanel/controls/SearchControl.d.ts +1 -2
- package/dist/navigationpanel/controls/SearchControl.js +8 -12
- package/dist/navigationpanel/controls/ToggleReadonly.js +5 -6
- package/dist/navigationpanel/dropdown/ProjectsMenu.js +12 -6
- 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/editorpanel/styles.js +4 -4
- package/dist/navigationpanel/styles.css.d.ts +1 -1
- package/dist/navigationpanel/styles.css.js +1 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +6 -6
- package/dist/navigationpanel/walkthrough/DynamicViewControls.d.ts +77 -77
- package/dist/navigationpanel/walkthrough/DynamicViewControls.js +1 -1
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconBrowser.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +14 -0
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconCylinder.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconDeviceMobile.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconFileText.js +2 -2
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +14 -0
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +14 -0
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconRectangularPrism.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconReorder.js +2 -2
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +14 -0
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_react@19.2.4}/node_modules/@tabler/icons-react/dist/esm/icons/IconTarget.js +2 -2
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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/node_modules/@tabler/icons-react/dist/esm/icons/IconTrash.js +14 -0
- package/dist/node_modules/.pnpm/{@tabler_icons-react@3.36.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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.0_react@19.2.3 → @tabler_icons-react@3.36.1_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 +742 -0
- package/dist/node_modules/.pnpm/@xstate_store@3.14.0_react@19.2.4/node_modules/@xstate/store/react/dist/xstate-store-react.cjs.js +175 -0
- package/dist/overlays/element-details/ElementDetailsCard.css.js +15 -15
- package/dist/overlays/element-details/ElementDetailsCard.js +39 -40
- package/dist/overlays/element-details/MetadataValue.js +11 -12
- package/dist/overlays/element-details/TabPanelDeployments.js +8 -6
- package/dist/overlays/element-details/TabPanelRelationships.css.js +10 -30
- package/dist/overlays/element-details/TabPanelRelationships.js +4 -5
- package/dist/overlays/element-details/TabPanelStructure.css.js +3 -3
- package/dist/overlays/element-details/TabPanelStructure.js +3 -2
- package/dist/overlays/overlaysActor.js +19 -1
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +0 -5
- package/dist/overlays/relationship-details/RelationshipDetails.js +4 -4
- package/dist/overlays/relationship-details/SelectEdge.css.js +6 -6
- package/dist/overlays/relationship-details/SelectEdge.js +2 -2
- package/dist/overlays/relationship-details/compute.js +1 -1
- package/dist/overlays/relationship-details/custom/ElementActions.js +3 -3
- package/dist/overlays/relationship-details/custom/nodeTypes.js +14 -1
- package/dist/overlays/relationship-details/layout.js +1 -1
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +0 -5
- package/dist/overlays/relationships-browser/RelationshipsBrowser.js +116 -21
- package/dist/overlays/relationships-browser/SelectElement.css.js +2 -2
- package/dist/overlays/relationships-browser/SelectElement.js +2 -2
- package/dist/overlays/relationships-browser/actor.js +1 -1
- package/dist/overlays/relationships-browser/custom/ElementActions.js +3 -3
- package/dist/overlays/relationships-browser/custom/EmptyNode.js +21 -6
- package/dist/overlays/relationships-browser/custom/nodeTypes.js +14 -1
- package/dist/overlays/relationships-browser/layout.d.ts +1 -1
- package/dist/overlays/relationships-browser/layout.js +1 -1
- package/dist/overlays/relationships-browser/useViewToNodesEdges.js +1 -1
- package/dist/projects-overview/ProjectsOverview.js +2 -2
- package/dist/projects-overview/ProjectsOverviewXY.d.ts +1 -5
- package/dist/projects-overview/ProjectsOverviewXY.js +1 -1
- package/dist/projects-overview/actor.d.ts +1 -1
- package/dist/projects-overview/actor.js +8 -31
- package/dist/projects-overview/context.d.ts +2 -2
- package/dist/projects-overview/context.js +2 -1
- package/dist/projects-overview/custom/nodeTypes.js +1 -1
- package/dist/projects-overview/panel/ProjectsOverviewPanel.js +1 -1
- package/dist/search/Search.d.ts +2 -4
- package/dist/search/Search.js +67 -44
- package/dist/search/components/ElementsColumn.css.js +6 -6
- package/dist/search/components/ElementsColumn.js +93 -60
- package/dist/search/components/PickView.d.ts +3 -1
- package/dist/search/components/PickView.js +12 -7
- package/dist/search/components/SearchByTags.js +1 -1
- package/dist/search/components/SearchInput.js +2 -2
- package/dist/search/components/ViewsColum.d.ts +2 -1
- package/dist/search/components/ViewsColum.js +39 -35
- package/dist/search/components/ViewsColumn.css.js +1 -1
- package/dist/search/components/_shared.css.d.ts +1 -1
- package/dist/search/components/_shared.css.js +12 -12
- package/dist/search/components/utils.js +1 -4
- package/dist/search/hooks.d.ts +1 -6
- package/dist/search/hooks.js +15 -9
- package/dist/search/searchActor.d.ts +12 -2
- package/dist/search/searchActor.js +60 -4
- package/dist/shadowroot/ShadowRoot.d.ts +5 -2
- package/dist/shadowroot/ShadowRoot.js +25 -22
- package/dist/shadowroot/styles.css.d.ts +0 -2
- package/dist/shadowroot/styles.css.js +4 -36
- package/dist/styles-font.css2.js +1 -1
- package/dist/styles.css2.js +1 -1
- package/dist/utils/view-bounds.d.ts +3 -2
- package/dist/utils/view-bounds.js +10 -6
- package/dist/utils/xyflow.d.ts +27 -6
- package/dist/utils/xyflow.js +68 -23
- package/package.json +39 -37
- package/panda.buildinfo.json +226 -161
- package/styles-font.css +1 -1
- package/styles-min.css +1 -1
- package/styles.css +1 -1
- package/bundle/index.js +0 -51974
- package/bundle/package.json +0 -4
- package/dist/editor/__tests__/fixture.d.ts +0 -205
- package/dist/editor/editorActor.d.ts +0 -653
- package/dist/likec4diagram/relationship-popover/styles.css.d.ts +0 -2
- package/dist/likec4diagram/relationship-popover/styles.css.js +0 -28
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.0_react@19.2.3/node_modules/@tabler/icons-react/dist/esm/icons/IconCopy.js +0 -14
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.0_react@19.2.3/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js +0 -14
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.0_react@19.2.3/node_modules/@tabler/icons-react/dist/esm/icons/IconId.js +0 -14
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.36.0_react@19.2.3/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js +0 -14
- package/dist/overlays/relationships-browser/custom/styles.css.d.ts +0 -1
- package/dist/overlays/relationships-browser/custom/styles.css.js +0 -14
|
@@ -8,7 +8,7 @@ import * as m from 'motion/react-m';
|
|
|
8
8
|
import { memo, Fragment as Fragment$1 } from 'react';
|
|
9
9
|
import { useDiagramCompareLayout } from '../../hooks/useDiagramCompareLayout.js';
|
|
10
10
|
import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
|
|
11
|
-
import IconAlertTriangle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
11
|
+
import IconAlertTriangle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconAlertTriangle.js';
|
|
12
12
|
|
|
13
13
|
const LayoutWarning = memo(() => {
|
|
14
14
|
const [ctx, { toggleCompare }] = useDiagramCompareLayout();
|
|
@@ -53,7 +53,7 @@ const LayoutWarning = memo(() => {
|
|
|
53
53
|
userSelect: "none",
|
|
54
54
|
cursor: "pointer",
|
|
55
55
|
fontSize: "xs",
|
|
56
|
-
fontWeight:
|
|
56
|
+
fontWeight: "bold"
|
|
57
57
|
})
|
|
58
58
|
),
|
|
59
59
|
children: isActive ? /* @__PURE__ */ jsx(Fragment, { children: "Stop Compare" }) : /* @__PURE__ */ jsx(IconAlertTriangle, { size: 18 })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { css, cx } from '@likec4/styles/css';
|
|
3
3
|
import { hstack } from '@likec4/styles/patterns';
|
|
4
4
|
import { UnstyledButton } from '@mantine/core';
|
|
5
5
|
import * as m from 'motion/react-m';
|
|
@@ -4,8 +4,8 @@ import * as m from 'motion/react-m';
|
|
|
4
4
|
import { useDiagramContext } from '../../hooks/useDiagram.js';
|
|
5
5
|
import { PanelActionIcon } from '../_common.js';
|
|
6
6
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
7
|
-
import IconArrowLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
8
|
-
import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
7
|
+
import IconArrowLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowLeft.js';
|
|
8
|
+
import IconArrowRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconArrowRight.js';
|
|
9
9
|
|
|
10
10
|
const NavigationButtons = () => {
|
|
11
11
|
const diagram = useDiagram();
|
|
@@ -3,7 +3,7 @@ import { useDiagramEventHandlers } from '../../context/DiagramEventHandlers.js';
|
|
|
3
3
|
import { useEnabledFeatures } from '../../context/DiagramFeatures.js';
|
|
4
4
|
import { useCurrentViewId } from '../../hooks/useCurrentView.js';
|
|
5
5
|
import { Tooltip, PanelActionIcon } from '../_common.js';
|
|
6
|
-
import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
6
|
+
import IconFileSymlink from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFileSymlink.js';
|
|
7
7
|
|
|
8
8
|
const OpenSource = () => {
|
|
9
9
|
const viewId = useCurrentViewId();
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SearchControl: MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
1
|
+
export declare function SearchControl(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
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 { UnstyledButton } from '@mantine/core';
|
|
6
6
|
import { isMacOs } from '@xyflow/system';
|
|
7
|
-
import { AnimatePresence } from 'motion/react';
|
|
8
7
|
import * as m from 'motion/react-m';
|
|
9
|
-
import { memo } from 'react';
|
|
10
8
|
import '@xstate/react';
|
|
11
9
|
import 'fast-equals';
|
|
10
|
+
import 'react';
|
|
12
11
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
13
|
-
import
|
|
14
|
-
import IconSearch from '../../node_modules/.pnpm/@tabler_icons-react@3.36.0_react@19.2.3/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
|
|
12
|
+
import IconSearch from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconSearch.js';
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
const { enableSearch, enableCompareWithLatest } = useEnabledFeatures();
|
|
14
|
+
function SearchControl() {
|
|
18
15
|
const diagram = useDiagram();
|
|
19
16
|
const isMac = isMacOs();
|
|
20
|
-
return /* @__PURE__ */
|
|
17
|
+
return /* @__PURE__ */ jsxs(
|
|
21
18
|
UnstyledButton,
|
|
22
19
|
{
|
|
23
20
|
component: m.button,
|
|
@@ -51,7 +48,7 @@ const SearchControl = memo(() => {
|
|
|
51
48
|
{
|
|
52
49
|
css: {
|
|
53
50
|
fontSize: "11px",
|
|
54
|
-
fontWeight:
|
|
51
|
+
fontWeight: "bold",
|
|
55
52
|
lineHeight: 1,
|
|
56
53
|
opacity: 0.8,
|
|
57
54
|
whiteSpace: "nowrap"
|
|
@@ -61,8 +58,7 @@ const SearchControl = memo(() => {
|
|
|
61
58
|
)
|
|
62
59
|
]
|
|
63
60
|
}
|
|
64
|
-
)
|
|
65
|
-
}
|
|
66
|
-
SearchControl.displayName = "SearchControl";
|
|
61
|
+
);
|
|
62
|
+
}
|
|
67
63
|
|
|
68
64
|
export { SearchControl };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { css, cx } from '@likec4/styles/css';
|
|
3
3
|
import { hstack } from '@likec4/styles/patterns';
|
|
4
4
|
import { UnstyledButton } from '@mantine/core';
|
|
5
5
|
import { AnimatePresence } from 'motion/react';
|
|
@@ -8,18 +8,17 @@ import { isTruthy } from 'remeda';
|
|
|
8
8
|
import { useDiagramContext } from '../../hooks/useDiagram.js';
|
|
9
9
|
import { deriveToggledFeatures } from '../../likec4diagram/state/machine.setup.js';
|
|
10
10
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
11
|
-
import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
12
|
-
import IconLock from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
11
|
+
import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
|
|
12
|
+
import IconLock from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLock.js';
|
|
13
13
|
|
|
14
14
|
const selector = (ctx) => {
|
|
15
15
|
const toggledFeatures = deriveToggledFeatures(ctx);
|
|
16
16
|
const comparingLatest = toggledFeatures.enableCompareWithLatest && !!ctx.view.drifts && ctx.view._layout === "auto";
|
|
17
|
-
const sequenceLayoutActive = ctx.view._type === "dynamic" && ctx.dynamicViewVariant === "sequence";
|
|
18
17
|
const noActiveWalkthrough = !isTruthy(ctx.activeWalkthrough);
|
|
19
18
|
const hasEditor = ctx.features.enableEditor;
|
|
20
19
|
return {
|
|
21
20
|
visible: hasEditor && noActiveWalkthrough,
|
|
22
|
-
disabled: comparingLatest
|
|
21
|
+
disabled: comparingLatest,
|
|
23
22
|
isReadOnly: ctx.toggledFeatures.enableReadOnly ?? false
|
|
24
23
|
};
|
|
25
24
|
};
|
|
@@ -67,7 +66,7 @@ const ToggleReadonly = () => {
|
|
|
67
66
|
{
|
|
68
67
|
className: css({
|
|
69
68
|
fontSize: "11px",
|
|
70
|
-
fontWeight:
|
|
69
|
+
fontWeight: "bold",
|
|
71
70
|
lineHeight: 1,
|
|
72
71
|
opacity: 0.8
|
|
73
72
|
}),
|
|
@@ -1,23 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { css } from '@likec4/styles/css';
|
|
3
3
|
import { HStack, Box } from '@likec4/styles/jsx';
|
|
4
4
|
import { Menu, MenuTarget, Button, MenuDropdown, MenuItem } from '@mantine/core';
|
|
5
5
|
import { memo } from 'react';
|
|
6
6
|
import { useLikeC4ProjectsContext, useLikeC4ProjectId } from '../../hooks/useLikeC4Project.js';
|
|
7
|
-
import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
7
|
+
import IconChevronDown from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronDown.js';
|
|
8
8
|
|
|
9
9
|
const ProjectsMenu = memo((_) => {
|
|
10
10
|
const { projects, onProjectChange } = useLikeC4ProjectsContext();
|
|
11
|
-
const projectId = useLikeC4ProjectId();
|
|
12
11
|
if (projects.length <= 1) {
|
|
13
12
|
return null;
|
|
14
13
|
}
|
|
14
|
+
return /* @__PURE__ */ jsx(WithProjectsMenu, { projects, onProjectChange });
|
|
15
|
+
});
|
|
16
|
+
function WithProjectsMenu({
|
|
17
|
+
projects,
|
|
18
|
+
onProjectChange
|
|
19
|
+
}) {
|
|
20
|
+
const projectId = useLikeC4ProjectId();
|
|
15
21
|
return /* @__PURE__ */ jsxs(HStack, { gap: "0.5", alignItems: "baseline", children: [
|
|
16
22
|
/* @__PURE__ */ jsx(
|
|
17
23
|
Box,
|
|
18
24
|
{
|
|
19
25
|
css: {
|
|
20
|
-
fontWeight: "
|
|
26
|
+
fontWeight: "normal",
|
|
21
27
|
fontSize: "xxs",
|
|
22
28
|
color: "likec4.panel.text.dimmed",
|
|
23
29
|
userSelect: "none"
|
|
@@ -43,7 +49,7 @@ const ProjectsMenu = memo((_) => {
|
|
|
43
49
|
color: "gray",
|
|
44
50
|
classNames: {
|
|
45
51
|
root: css({
|
|
46
|
-
fontWeight: "
|
|
52
|
+
fontWeight: "normal",
|
|
47
53
|
fontSize: "xxs",
|
|
48
54
|
height: "auto",
|
|
49
55
|
lineHeight: 1.1,
|
|
@@ -79,6 +85,6 @@ const ProjectsMenu = memo((_) => {
|
|
|
79
85
|
}
|
|
80
86
|
)
|
|
81
87
|
] });
|
|
82
|
-
}
|
|
88
|
+
}
|
|
83
89
|
|
|
84
90
|
export { ProjectsMenu };
|
|
@@ -5,7 +5,7 @@ import 'react';
|
|
|
5
5
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
6
6
|
import { PanelActionIcon } from '../_common.js';
|
|
7
7
|
import { Tooltip } from './_common.js';
|
|
8
|
-
import IconFocusCentered from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
8
|
+
import IconFocusCentered from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconFocusCentered.js';
|
|
9
9
|
|
|
10
10
|
const CenterCamera = () => {
|
|
11
11
|
const diagram = useDiagram();
|
|
@@ -8,7 +8,7 @@ import { PanelActionIcon } from '../_common.js';
|
|
|
8
8
|
import { Tooltip } from './_common.js';
|
|
9
9
|
import { autolayoutIndicator, autolayoutButton, spacingSliderBody, spacingSliderThumb } from './styles.js';
|
|
10
10
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
11
|
-
import IconLayoutDashboard from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
11
|
+
import IconLayoutDashboard from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutDashboard.js';
|
|
12
12
|
|
|
13
13
|
const selector = (state) => ({
|
|
14
14
|
viewId: state.view.id,
|
|
@@ -9,15 +9,15 @@ import { useDiagram } from '../../hooks/safeContext.js';
|
|
|
9
9
|
import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
|
|
10
10
|
import { PanelActionIcon } from '../_common.js';
|
|
11
11
|
import { Tooltip } from './_common.js';
|
|
12
|
-
import IconLayoutCollage from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
13
|
-
import IconLayoutBoardSplit from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
14
|
-
import IconLayoutAlignLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
15
|
-
import IconLayoutAlignCenter from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
16
|
-
import IconLayoutAlignRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
17
|
-
import IconLayoutAlignTop from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
18
|
-
import IconLayoutAlignMiddle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
19
|
-
import IconLayoutAlignBottom from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
20
|
-
import IconRouteOff from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
12
|
+
import IconLayoutCollage from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutCollage.js';
|
|
13
|
+
import IconLayoutBoardSplit from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutBoardSplit.js';
|
|
14
|
+
import IconLayoutAlignLeft from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignLeft.js';
|
|
15
|
+
import IconLayoutAlignCenter from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignCenter.js';
|
|
16
|
+
import IconLayoutAlignRight from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignRight.js';
|
|
17
|
+
import IconLayoutAlignTop from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignTop.js';
|
|
18
|
+
import IconLayoutAlignMiddle from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignMiddle.js';
|
|
19
|
+
import IconLayoutAlignBottom from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLayoutAlignBottom.js';
|
|
20
|
+
import IconRouteOff from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconRouteOff.js';
|
|
21
21
|
|
|
22
22
|
const Action = ({
|
|
23
23
|
label,
|
|
@@ -5,7 +5,7 @@ import 'react';
|
|
|
5
5
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
6
6
|
import { PanelActionIcon } from '../_common.js';
|
|
7
7
|
import { Tooltip } from './_common.js';
|
|
8
|
-
import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
8
|
+
import IconLockOpen2 from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconLockOpen2.js';
|
|
9
9
|
|
|
10
10
|
const ToggleReadonly = () => {
|
|
11
11
|
const diagram = useDiagram();
|
|
@@ -42,7 +42,7 @@ css({
|
|
|
42
42
|
const autolayoutButton = css({
|
|
43
43
|
flex: "1 1 40%",
|
|
44
44
|
textAlign: "center",
|
|
45
|
-
fontWeight:
|
|
45
|
+
fontWeight: "medium",
|
|
46
46
|
padding: "[4px 6px]",
|
|
47
47
|
fontSize: "11px",
|
|
48
48
|
zIndex: 1
|
|
@@ -68,11 +68,11 @@ const spacingSliderBody = css({
|
|
|
68
68
|
});
|
|
69
69
|
const spacingSliderThumb = css({
|
|
70
70
|
position: "absolute",
|
|
71
|
-
width:
|
|
72
|
-
height:
|
|
71
|
+
width: "8px",
|
|
72
|
+
height: "8px",
|
|
73
73
|
border: `2px solid`,
|
|
74
74
|
borderColor: "mantine.colors.gray[5]",
|
|
75
|
-
borderRadius:
|
|
75
|
+
borderRadius: "sm",
|
|
76
76
|
transform: "translate(-50%, -50%)"
|
|
77
77
|
});
|
|
78
78
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { css } from '@likec4/styles/css';
|
|
3
3
|
import { Box } from '@likec4/styles/jsx';
|
|
4
|
-
import {
|
|
4
|
+
import { Badge, Button, Portal } from '@mantine/core';
|
|
5
5
|
import { AnimatePresence } from 'motion/react';
|
|
6
6
|
import * as m from 'motion/react-m';
|
|
7
7
|
import { isTruthy } from 'remeda';
|
|
8
8
|
import { useDiagramContext } from '../../hooks/useDiagram.js';
|
|
9
9
|
import { TriggerWalkthroughButton } from './DynamicViewControls.js';
|
|
10
10
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
11
|
-
import IconPlayerStopFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
12
|
-
import IconPlayerSkipBackFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
13
|
-
import IconPlayerSkipForwardFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
11
|
+
import IconPlayerStopFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerStopFilled.js';
|
|
12
|
+
import IconPlayerSkipBackFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipBackFilled.js';
|
|
13
|
+
import IconPlayerSkipForwardFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerSkipForwardFilled.js';
|
|
14
14
|
import { useMantinePortalProps } from '../../hooks/useMantinePortalProps.js';
|
|
15
15
|
|
|
16
16
|
const PrevNextButton = Button.withProps({
|
|
@@ -38,10 +38,10 @@ const ParallelFrame = () => {
|
|
|
38
38
|
width: "100%",
|
|
39
39
|
height: "100%",
|
|
40
40
|
border: `2px solid`,
|
|
41
|
-
borderColor: "
|
|
41
|
+
borderColor: "likec4.walkthrough.parallelFrame",
|
|
42
42
|
pointerEvents: "none",
|
|
43
43
|
md: {
|
|
44
|
-
borderWidth: 4
|
|
44
|
+
borderWidth: "4"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from '@mantine/core';
|
|
2
|
-
import { ForwardRefExoticComponent,
|
|
2
|
+
import { ForwardRefExoticComponent, AriaRole, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, ChangeEventHandler, InputEventHandler, ReactEventHandler, SubmitEventHandler, KeyboardEventHandler, MouseEventHandler, DragEventHandler, TouchEventHandler, PointerEventHandler, UIEventHandler, WheelEventHandler, AnimationEventHandler, ToggleEventHandler, TransitionEventHandler, Key, Ref, RefAttributes } from 'react';
|
|
3
3
|
import { MotionProps } from 'motion/react';
|
|
4
4
|
export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<ButtonProps & {
|
|
5
5
|
id?: string | undefined;
|
|
@@ -10,14 +10,72 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
|
|
|
10
10
|
className?: string | undefined;
|
|
11
11
|
title?: string | undefined;
|
|
12
12
|
color?: string | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
dir?: string | undefined;
|
|
14
|
+
property?: string | undefined;
|
|
15
15
|
role?: AriaRole | undefined;
|
|
16
16
|
"aria-label"?: string | undefined;
|
|
17
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
18
17
|
dangerouslySetInnerHTML?: {
|
|
19
18
|
__html: string | TrustedHTML;
|
|
20
19
|
} | undefined;
|
|
20
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
21
|
+
lang?: string | undefined;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
nonce?: string | undefined;
|
|
24
|
+
part?: string | undefined;
|
|
25
|
+
slot?: string | undefined;
|
|
26
|
+
tabIndex?: number | undefined;
|
|
27
|
+
"aria-activedescendant"?: string | undefined;
|
|
28
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
29
|
+
"aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
|
|
30
|
+
"aria-braillelabel"?: string | undefined;
|
|
31
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
32
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
33
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
34
|
+
"aria-colcount"?: number | undefined;
|
|
35
|
+
"aria-colindex"?: number | undefined;
|
|
36
|
+
"aria-colindextext"?: string | undefined;
|
|
37
|
+
"aria-colspan"?: number | undefined;
|
|
38
|
+
"aria-controls"?: string | undefined;
|
|
39
|
+
"aria-current"?: boolean | "step" | "time" | "page" | "location" | "date" | "true" | "false" | undefined;
|
|
40
|
+
"aria-describedby"?: string | undefined;
|
|
41
|
+
"aria-description"?: string | undefined;
|
|
42
|
+
"aria-details"?: string | undefined;
|
|
43
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
44
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
45
|
+
"aria-errormessage"?: string | undefined;
|
|
46
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
47
|
+
"aria-flowto"?: string | undefined;
|
|
48
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
49
|
+
"aria-haspopup"?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
|
|
50
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
51
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
52
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
53
|
+
"aria-labelledby"?: string | undefined;
|
|
54
|
+
"aria-level"?: number | undefined;
|
|
55
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
56
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
57
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
58
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
59
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
60
|
+
"aria-owns"?: string | undefined;
|
|
61
|
+
"aria-placeholder"?: string | undefined;
|
|
62
|
+
"aria-posinset"?: number | undefined;
|
|
63
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
64
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
65
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
66
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
67
|
+
"aria-roledescription"?: string | undefined;
|
|
68
|
+
"aria-rowcount"?: number | undefined;
|
|
69
|
+
"aria-rowindex"?: number | undefined;
|
|
70
|
+
"aria-rowindextext"?: string | undefined;
|
|
71
|
+
"aria-rowspan"?: number | undefined;
|
|
72
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
"aria-setsize"?: number | undefined;
|
|
74
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
75
|
+
"aria-valuemax"?: number | undefined;
|
|
76
|
+
"aria-valuemin"?: number | undefined;
|
|
77
|
+
"aria-valuenow"?: number | undefined;
|
|
78
|
+
"aria-valuetext"?: string | undefined;
|
|
21
79
|
onCopy?: ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
22
80
|
onCopyCapture?: ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
23
81
|
onCut?: ClipboardEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -34,20 +92,21 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
|
|
|
34
92
|
onFocusCapture?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
35
93
|
onBlur?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
36
94
|
onBlurCapture?: FocusEventHandler<HTMLButtonElement> | undefined;
|
|
37
|
-
onChange?:
|
|
38
|
-
onChangeCapture?:
|
|
95
|
+
onChange?: ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
96
|
+
onChangeCapture?: ChangeEventHandler<HTMLButtonElement, Element> | undefined;
|
|
39
97
|
onBeforeInput?: InputEventHandler<HTMLButtonElement> | undefined;
|
|
40
|
-
onBeforeInputCapture?:
|
|
41
|
-
onInput?:
|
|
42
|
-
onInputCapture?:
|
|
43
|
-
onReset?:
|
|
44
|
-
onResetCapture?:
|
|
45
|
-
onSubmit?:
|
|
46
|
-
onSubmitCapture?:
|
|
47
|
-
onInvalid?:
|
|
48
|
-
onInvalidCapture?:
|
|
98
|
+
onBeforeInputCapture?: InputEventHandler<HTMLButtonElement> | undefined;
|
|
99
|
+
onInput?: InputEventHandler<HTMLButtonElement> | undefined;
|
|
100
|
+
onInputCapture?: InputEventHandler<HTMLButtonElement> | undefined;
|
|
101
|
+
onReset?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
102
|
+
onResetCapture?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
103
|
+
onSubmit?: SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
104
|
+
onSubmitCapture?: SubmitEventHandler<HTMLButtonElement> | undefined;
|
|
105
|
+
onInvalid?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
106
|
+
onInvalidCapture?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
49
107
|
onLoad?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
50
108
|
onLoadCapture?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
109
|
+
onError?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
51
110
|
onErrorCapture?: ReactEventHandler<HTMLButtonElement> | undefined;
|
|
52
111
|
onKeyDown?: KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
53
112
|
onKeyDownCapture?: KeyboardEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -181,21 +240,16 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
|
|
|
181
240
|
onTransitionRunCapture?: TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
182
241
|
onTransitionStart?: TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
183
242
|
onTransitionStartCapture?: TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
243
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
184
244
|
defaultChecked?: boolean | undefined;
|
|
185
245
|
suppressContentEditableWarning?: boolean | undefined;
|
|
186
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
187
246
|
accessKey?: string | undefined;
|
|
188
247
|
autoCapitalize?: "none" | (string & {}) | "on" | "off" | "sentences" | "words" | "characters" | undefined;
|
|
189
248
|
autoFocus?: boolean | undefined;
|
|
190
249
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
191
250
|
contextMenu?: string | undefined;
|
|
192
|
-
|
|
193
|
-
enterKeyHint?: "search" | "done" | "send" | "next" | "previous" | "enter" | "go" | undefined;
|
|
194
|
-
lang?: string | undefined;
|
|
195
|
-
nonce?: string | undefined;
|
|
196
|
-
slot?: string | undefined;
|
|
251
|
+
enterKeyHint?: "search" | "next" | "previous" | "done" | "send" | "enter" | "go" | undefined;
|
|
197
252
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
198
|
-
tabIndex?: number | undefined;
|
|
199
253
|
translate?: "yes" | "no" | undefined;
|
|
200
254
|
radioGroup?: string | undefined;
|
|
201
255
|
about?: string | undefined;
|
|
@@ -203,7 +257,6 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
|
|
|
203
257
|
datatype?: string | undefined;
|
|
204
258
|
inlist?: any;
|
|
205
259
|
prefix?: string | undefined;
|
|
206
|
-
property?: string | undefined;
|
|
207
260
|
rel?: string | undefined;
|
|
208
261
|
resource?: string | undefined;
|
|
209
262
|
rev?: string | undefined;
|
|
@@ -226,60 +279,7 @@ export declare const TriggerWalkthroughButton: ForwardRefExoticComponent<Omit<Bu
|
|
|
226
279
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
227
280
|
is?: string | undefined;
|
|
228
281
|
exportparts?: string | undefined;
|
|
229
|
-
|
|
230
|
-
"aria-activedescendant"?: string | undefined;
|
|
231
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
232
|
-
"aria-autocomplete"?: "list" | "none" | "both" | "inline" | undefined;
|
|
233
|
-
"aria-braillelabel"?: string | undefined;
|
|
234
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
235
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
236
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
237
|
-
"aria-colcount"?: number | undefined;
|
|
238
|
-
"aria-colindex"?: number | undefined;
|
|
239
|
-
"aria-colindextext"?: string | undefined;
|
|
240
|
-
"aria-colspan"?: number | undefined;
|
|
241
|
-
"aria-controls"?: string | undefined;
|
|
242
|
-
"aria-current"?: boolean | "page" | "step" | "location" | "date" | "time" | "true" | "false" | undefined;
|
|
243
|
-
"aria-describedby"?: string | undefined;
|
|
244
|
-
"aria-description"?: string | undefined;
|
|
245
|
-
"aria-details"?: string | undefined;
|
|
246
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
247
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
248
|
-
"aria-errormessage"?: string | undefined;
|
|
249
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
250
|
-
"aria-flowto"?: string | undefined;
|
|
251
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
252
|
-
"aria-haspopup"?: boolean | "dialog" | "grid" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
|
|
253
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
254
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
255
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
256
|
-
"aria-labelledby"?: string | undefined;
|
|
257
|
-
"aria-level"?: number | undefined;
|
|
258
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
259
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
260
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
261
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
262
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
263
|
-
"aria-owns"?: string | undefined;
|
|
264
|
-
"aria-placeholder"?: string | undefined;
|
|
265
|
-
"aria-posinset"?: number | undefined;
|
|
266
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
267
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
268
|
-
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
269
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
270
|
-
"aria-roledescription"?: string | undefined;
|
|
271
|
-
"aria-rowcount"?: number | undefined;
|
|
272
|
-
"aria-rowindex"?: number | undefined;
|
|
273
|
-
"aria-rowindextext"?: string | undefined;
|
|
274
|
-
"aria-rowspan"?: number | undefined;
|
|
275
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
276
|
-
"aria-setsize"?: number | undefined;
|
|
277
|
-
"aria-sort"?: "none" | "other" | "ascending" | "descending" | undefined;
|
|
278
|
-
"aria-valuemax"?: number | undefined;
|
|
279
|
-
"aria-valuemin"?: number | undefined;
|
|
280
|
-
"aria-valuenow"?: number | undefined;
|
|
281
|
-
"aria-valuetext"?: string | undefined;
|
|
282
|
-
name?: string | undefined;
|
|
282
|
+
value?: string | number | readonly string[] | undefined;
|
|
283
283
|
key?: Key | null | undefined;
|
|
284
284
|
ref?: Ref<HTMLButtonElement> | undefined;
|
|
285
285
|
disabled?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ import { useDiagramContext } from '../../hooks/useDiagram.js';
|
|
|
10
10
|
import { Tooltip } from '../_common.js';
|
|
11
11
|
import { useNavigationActor } from '../hooks.js';
|
|
12
12
|
import { useDiagram } from '../../hooks/safeContext.js';
|
|
13
|
-
import IconPlayerPlayFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.
|
|
13
|
+
import IconPlayerPlayFilled from '../../node_modules/.pnpm/@tabler_icons-react@3.36.1_react@19.2.4/node_modules/@tabler/icons-react/dist/esm/icons/IconPlayerPlayFilled.js';
|
|
14
14
|
|
|
15
15
|
const TriggerWalkthroughButton = forwardRef((props, ref) => /* @__PURE__ */ jsx(
|
|
16
16
|
Button,
|
|
@@ -13,8 +13,8 @@ import { Markdown } from '../../base-primitives/Markdown.js';
|
|
|
13
13
|
const SectionHeader = styled("div", {
|
|
14
14
|
base: {
|
|
15
15
|
fontSize: "xs",
|
|
16
|
-
color: "
|
|
17
|
-
fontWeight:
|
|
16
|
+
color: "text.dimmed",
|
|
17
|
+
fontWeight: "medium",
|
|
18
18
|
userSelect: "none",
|
|
19
19
|
mb: "xxs"
|
|
20
20
|
}
|
|
@@ -2,7 +2,7 @@ import { forwardRef, createElement } from 'react';
|
|
|
2
2
|
import defaultAttributes from './defaultAttributes.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @license @tabler/icons-react v3.36.
|
|
5
|
+
* @license @tabler/icons-react v3.36.1 - 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,14 +1,14 @@
|
|
|
1
1
|
import createReactComponent from '../createReactComponent.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @license @tabler/icons-react v3.36.
|
|
4
|
+
* @license @tabler/icons-react v3.36.1 - 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.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
const __iconNode = [["path", { "d": "M12 9v4", "key": "svg-0" }], ["path", { "d": "M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274
|
|
11
|
+
const __iconNode = [["path", { "d": "M12 9v4", "key": "svg-0" }], ["path", { "d": "M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0", "key": "svg-1" }], ["path", { "d": "M12 16h.01", "key": "svg-2" }]];
|
|
12
12
|
const IconAlertTriangle = createReactComponent("outline", "alert-triangle", "AlertTriangle", __iconNode);
|
|
13
13
|
|
|
14
14
|
export { __iconNode, IconAlertTriangle as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import createReactComponent from '../createReactComponent.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @license @tabler/icons-react v3.36.
|
|
4
|
+
* @license @tabler/icons-react v3.36.1 - MIT
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license.
|
|
7
7
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import createReactComponent from '../createReactComponent.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* @license @tabler/icons-react v3.36.
|
|
4
|
+
* @license @tabler/icons-react v3.36.1 - 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.
|