@likec4/diagram 1.38.1 → 1.39.1
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/bundle/{chunk-BZV0K82k.js → chunk-CaxOLfbm.js} +277 -271
- package/bundle/custom.js +39 -39
- package/bundle/index.js +354 -240
- package/dist/LikeC4Diagram.js +4 -2
- package/dist/LikeC4Diagram.props.d.ts +15 -8
- package/dist/LikeC4Styles.d.ts +3 -1
- package/dist/LikeC4Styles.js +52 -20
- package/dist/base/BaseXYFlow.js +5 -5
- package/dist/base/index.d.ts +1 -2
- package/dist/base/primitives/MarkdownBlock.js +2 -1
- package/dist/base/primitives/customEdge.d.ts +3 -3
- package/dist/base/primitives/edge/EdgeLabel.js +1 -2
- package/dist/base/primitives/element/ElementTitle.js +2 -10
- package/dist/base/types.d.ts +62 -5
- package/dist/base/types.js +54 -0
- package/dist/bundle/LikeC4View.d.ts +2 -2
- package/dist/bundle/LikeC4View.props.d.ts +4 -3
- package/dist/bundle/ReactLikeC4.d.ts +4 -4
- package/dist/context/RootContainer.d.ts +2 -1
- package/dist/context/RootContainer.js +1 -2
- package/dist/custom/customNodes.d.ts +2 -1
- package/dist/globals.css.js +1 -1
- package/dist/hooks/useXYFlow.d.ts +28 -29
- package/dist/likec4diagram/custom/edges/RelationshipEdge.d.ts +4 -5
- package/dist/likec4diagram/custom/nodes/ElementActions.js +1 -1
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +75 -68
- package/dist/likec4diagram/relationship-popover/styles.css.js +8 -5
- package/dist/likec4diagram/types.d.ts +2 -1
- package/dist/likec4diagram/useViewToNodesEdges.js +1 -1
- package/dist/likec4model/LikeC4ModelContext.d.ts +5 -2
- package/dist/likec4model/useLikeC4ElementsTree.js +1 -1
- package/dist/likec4model/useLikeC4Model.d.ts +7 -20
- package/dist/navigationpanel/NavigationPanel.js +3 -1
- package/dist/navigationpanel/NavigationPanelDropdown.js +1 -1
- package/dist/navigationpanel/walkthrough/ActiveWalkthroughControls.js +6 -4
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.d.ts +1 -0
- package/dist/navigationpanel/walkthrough/WalkthroughPanel.js +83 -0
- package/dist/overlays/element-details/actor.d.ts +556 -557
- package/dist/overlays/relationship-details/RelationshipDetails.d.ts +2 -3
- package/dist/overlays/relationship-details/actor.d.ts +1 -1
- package/dist/overlays/relationship-details/actor.js +7 -7
- package/dist/overlays/relationship-details/compute.js +2 -1
- package/dist/overlays/relationship-details/custom/edgeTypes.d.ts +2 -3
- package/dist/overlays/relationship-details/hooks.d.ts +18 -19
- package/dist/overlays/relationship-details/layout.js +2 -1
- package/dist/overlays/relationships-browser/RelationshipsBrowser.d.ts +2 -3
- package/dist/overlays/relationships-browser/actor.d.ts +12 -12
- package/dist/overlays/relationships-browser/actor.js +8 -8
- package/dist/overlays/relationships-browser/custom/edgeTypes.d.ts +2 -3
- package/dist/overlays/relationships-browser/layout.js +2 -1
- package/dist/search/components/ElementsColumn.js +1 -1
- package/dist/state/DiagramActorProvider.js +2 -2
- package/dist/state/assign.js +6 -6
- package/dist/state/diagram-machine.js +14 -14
- package/dist/styles-min.css +1 -1
- package/dist/styles-xyflow.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css2.js +1 -1
- package/dist/utils/xyflow.js +2 -2
- package/package.json +16 -16
- package/panda.buildinfo.json +30 -27
- package/src/LikeC4Diagram.props.ts +16 -16
- package/src/LikeC4Diagram.tsx +4 -2
- package/src/LikeC4Styles.tsx +50 -22
- package/src/base/index.ts +1 -2
- package/src/base/primitives/MarkdownBlock.tsx +1 -0
- package/src/base/primitives/customEdge.ts +5 -5
- package/src/base/primitives/edge/EdgeLabel.tsx +1 -2
- package/src/base/primitives/element/ElementTitle.tsx +10 -22
- package/src/base/types.ts +122 -13
- package/src/bundle/LikeC4View.props.ts +4 -3
- package/src/bundle/LikeC4View.tsx +6 -6
- package/src/bundle/ReactLikeC4.tsx +7 -6
- package/src/context/RootContainer.tsx +2 -2
- package/src/custom/customNodes.ts +3 -1
- package/src/globals.css +2 -2
- package/src/hooks/useSetState.ts +2 -2
- package/src/likec4diagram/custom/nodes/ElementActions.tsx +2 -1
- package/src/likec4diagram/relationship-popover/RelationshipPopover.tsx +49 -41
- package/src/likec4diagram/relationship-popover/styles.css.ts +8 -5
- package/src/likec4diagram/types.ts +1 -1
- package/src/likec4diagram/useViewToNodesEdges.ts +1 -1
- package/src/likec4model/LikeC4ModelContext.tsx +5 -2
- package/src/likec4model/useLikeC4ElementsTree.ts +3 -3
- package/src/likec4model/useLikeC4Model.ts +8 -5
- package/src/navigationpanel/NavigationPanel.tsx +2 -0
- package/src/navigationpanel/NavigationPanelDropdown.tsx +1 -1
- package/src/navigationpanel/walkthrough/ActiveWalkthroughControls.tsx +3 -1
- package/src/navigationpanel/walkthrough/WalkthroughPanel.tsx +88 -0
- package/src/overlays/relationship-details/compute.ts +3 -12
- package/src/overlays/relationship-details/layout.ts +3 -3
- package/src/overlays/relationships-browser/actor.ts +2 -1
- package/src/overlays/relationships-browser/layout.ts +3 -3
- package/src/search/components/ElementsColumn.tsx +3 -3
- package/src/utils/xyflow.ts +2 -2
- package/dist/base/types.Base.d.ts +0 -54
- package/dist/base/types.Base.js +0 -48
- package/dist/likec4diagram/custom/edges/NotePopover.d.ts +0 -4
- package/src/base/types.Base.ts +0 -104
- package/src/likec4diagram/custom/edges/NotePopover.tsx +0 -95
- /package/dist/{likec4diagram/custom/edges/NotePopover.css.d.ts → navigationpanel/walkthrough/WalkthroughPanel.css.d.ts} +0 -0
- /package/src/{likec4diagram/custom/edges/NotePopover.css.ts → navigationpanel/walkthrough/WalkthroughPanel.css.ts} +0 -0
package/bundle/custom.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { el, en,
|
|
1
|
+
import { du as customNode, eh as useLikeC4ViewModel } from "./chunk-CaxOLfbm.js";
|
|
2
|
+
import { el, en, cd, eo, d2, ep, ce, eq, d0, d1, em, er, es, cf, c_, et, d9, eu, cg, d3, d4, cF, d6, d5, ev, dB, dm, e9, dr, ex, ey, ez, cG, dx, ew, cc, cz, cV, c6, cU, cm, cl, c7, ei, cR, cM, ej, cL, dU, cu, dE, ek, bf, c5, c8, dv, b9 } from "./chunk-CaxOLfbm.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
function customDiagramNode(Node) {
|
|
5
5
|
return customNode((props) => {
|
|
@@ -17,65 +17,65 @@ const elementNode = customDiagramNode, deploymentNode = customDiagramNode, compo
|
|
|
17
17
|
export {
|
|
18
18
|
el as CompoundActionButton,
|
|
19
19
|
en as CompoundActions,
|
|
20
|
-
|
|
20
|
+
cd as CompoundDeploymentNode,
|
|
21
21
|
eo as CompoundDeploymentToolbar,
|
|
22
|
-
|
|
22
|
+
d2 as CompoundDetailsButton,
|
|
23
23
|
ep as CompoundDetailsButtonWithHandler,
|
|
24
|
-
|
|
24
|
+
ce as CompoundElementNode,
|
|
25
25
|
eq as CompoundElementToolbar,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
d0 as CompoundNodeContainer,
|
|
27
|
+
d1 as CompoundTitle,
|
|
28
28
|
em as DefaultHandles,
|
|
29
29
|
er as DeploymentElementActions,
|
|
30
30
|
es as DeploymentElementToolbar,
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
cf as DeploymentNode,
|
|
32
|
+
c_ as ElementActionButtons,
|
|
33
33
|
et as ElementActions,
|
|
34
|
-
|
|
34
|
+
d9 as ElementDetailsButton,
|
|
35
35
|
eu as ElementDetailsButtonWithHandler,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
cg as ElementNode,
|
|
37
|
+
d3 as ElementNodeContainer,
|
|
38
|
+
d4 as ElementShape,
|
|
39
|
+
cF as ElementTag,
|
|
40
|
+
d6 as ElementTags,
|
|
41
|
+
d5 as ElementTitle,
|
|
42
42
|
ev as ElementToolbar,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
dB as IconOrShapeRenderer,
|
|
44
|
+
dm as IconRenderer,
|
|
45
45
|
e9 as IconRendererProvider,
|
|
46
|
-
|
|
46
|
+
dr as IfEnabled,
|
|
47
47
|
ex as IfNotEnabled,
|
|
48
48
|
ey as IfNotReadOnly,
|
|
49
49
|
ez as IfReadOnly,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
cG as MarkdownBlock,
|
|
51
|
+
dx as Overlay,
|
|
52
52
|
ew as Toolbar,
|
|
53
|
-
|
|
53
|
+
cc as ViewGroupNode,
|
|
54
54
|
compoundDeploymentNode,
|
|
55
55
|
compoundElementNode,
|
|
56
56
|
deploymentNode,
|
|
57
57
|
elementNode,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
58
|
+
cz as useCurrentViewId,
|
|
59
|
+
cV as useCurrentViewModel,
|
|
60
|
+
c6 as useDiagram,
|
|
61
|
+
cU as useDiagramActorRef,
|
|
62
|
+
cm as useDiagramContext,
|
|
63
|
+
cl as useDiagramEventHandlers,
|
|
64
|
+
c7 as useEnabledFeatures,
|
|
65
65
|
ei as useHasProjects,
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
cR as useLikeC4Model,
|
|
67
|
+
cM as useLikeC4ProjectId,
|
|
68
68
|
ej as useLikeC4Projects,
|
|
69
|
-
|
|
69
|
+
cL as useLikeC4ProjectsContext,
|
|
70
70
|
dU as useLikeC4Specification,
|
|
71
71
|
useLikeC4ViewModel,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
cu as useMantinePortalProps,
|
|
73
|
+
dE as useOnDiagramEvent,
|
|
74
74
|
ek as useSetState,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
bf as useUpdateEffect,
|
|
76
|
+
c5 as useXYFlow,
|
|
77
|
+
c8 as useXYInternalNode,
|
|
78
|
+
dv as useXYStore,
|
|
79
|
+
b9 as useXYStoreApi,
|
|
80
80
|
viewGroupNode
|
|
81
81
|
};
|