@likec4/diagram 1.39.2 → 1.39.4
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-CaxOLfbm.js → chunk-CW_KClZe.js} +762 -770
- package/bundle/custom.js +20 -20
- package/bundle/index.js +660 -630
- package/dist/LikeC4Diagram.js +2 -2
- package/dist/LikeC4Styles.js +0 -10
- package/dist/base/primitives/edge/EdgeLabelContainer.js +1 -7
- package/dist/bundle/ShadowRoot.js +1 -7
- package/dist/bundle/styles.css.js +6 -5
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useId.d.ts +1 -0
- package/dist/hooks/useId.js +7 -0
- package/dist/likec4diagram/DiagramXYFlow.js +2 -4
- package/dist/likec4diagram/relationship-popover/RelationshipPopover.js +1 -1
- package/dist/navigationpanel/NavigationPanel.js +2 -3
- package/dist/navigationpanel/NavigationPanelDropdown.js +7 -0
- package/dist/state/DiagramActorProvider.js +12 -19
- package/dist/state/diagram-machine.d.ts +111 -91
- package/dist/state/diagram-machine.js +57 -19
- package/dist/styles-min.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css2.js +1 -1
- package/package.json +8 -8
- package/panda.buildinfo.json +5 -5
- package/src/LikeC4Diagram.tsx +2 -2
- package/src/LikeC4Styles.tsx +0 -6
- package/src/base/primitives/edge/EdgeLabelContainer.tsx +0 -6
- package/src/bundle/ShadowRoot.tsx +1 -7
- package/src/bundle/styles.css.ts +5 -6
- package/src/hooks/index.ts +1 -0
- package/src/hooks/useId.ts +5 -0
- package/src/likec4diagram/DiagramXYFlow.tsx +2 -4
- package/src/likec4diagram/relationship-popover/RelationshipPopover.tsx +1 -1
- package/src/navigationpanel/NavigationPanel.tsx +2 -3
- package/src/navigationpanel/NavigationPanelDropdown.tsx +9 -0
- package/src/state/DiagramActorProvider.tsx +12 -24
- package/src/state/diagram-machine.ts +69 -28
- package/dist/globals.css.js +0 -3
- package/src/globals.css +0 -124
package/bundle/custom.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { el, en, cd, eo,
|
|
1
|
+
import { dv as customNode, eh as useLikeC4ViewModel } from "./chunk-CW_KClZe.js";
|
|
2
|
+
import { el, en, cd, eo, d3, ep, ce, eq, d1, d2, em, er, es, cf, c$, et, da, eu, cg, d4, d5, cF, d7, d6, ev, dC, dn, e9, ds, ex, ey, ez, cG, dy, ew, cc, cz, cW, c6, cV, cm, cl, c7, ei, cS, cM, ej, cL, dU, cu, cR, ek, bf, c5, c8, dw, b9 } from "./chunk-CW_KClZe.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
function customDiagramNode(Node) {
|
|
5
5
|
return customNode((props) => {
|
|
@@ -19,36 +19,36 @@ export {
|
|
|
19
19
|
en as CompoundActions,
|
|
20
20
|
cd as CompoundDeploymentNode,
|
|
21
21
|
eo as CompoundDeploymentToolbar,
|
|
22
|
-
|
|
22
|
+
d3 as CompoundDetailsButton,
|
|
23
23
|
ep as CompoundDetailsButtonWithHandler,
|
|
24
24
|
ce as CompoundElementNode,
|
|
25
25
|
eq as CompoundElementToolbar,
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
d1 as CompoundNodeContainer,
|
|
27
|
+
d2 as CompoundTitle,
|
|
28
28
|
em as DefaultHandles,
|
|
29
29
|
er as DeploymentElementActions,
|
|
30
30
|
es as DeploymentElementToolbar,
|
|
31
31
|
cf as DeploymentNode,
|
|
32
|
-
|
|
32
|
+
c$ as ElementActionButtons,
|
|
33
33
|
et as ElementActions,
|
|
34
|
-
|
|
34
|
+
da as ElementDetailsButton,
|
|
35
35
|
eu as ElementDetailsButtonWithHandler,
|
|
36
36
|
cg as ElementNode,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
d4 as ElementNodeContainer,
|
|
38
|
+
d5 as ElementShape,
|
|
39
39
|
cF as ElementTag,
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
d7 as ElementTags,
|
|
41
|
+
d6 as ElementTitle,
|
|
42
42
|
ev as ElementToolbar,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
dC as IconOrShapeRenderer,
|
|
44
|
+
dn as IconRenderer,
|
|
45
45
|
e9 as IconRendererProvider,
|
|
46
|
-
|
|
46
|
+
ds as IfEnabled,
|
|
47
47
|
ex as IfNotEnabled,
|
|
48
48
|
ey as IfNotReadOnly,
|
|
49
49
|
ez as IfReadOnly,
|
|
50
50
|
cG as MarkdownBlock,
|
|
51
|
-
|
|
51
|
+
dy as Overlay,
|
|
52
52
|
ew as Toolbar,
|
|
53
53
|
cc as ViewGroupNode,
|
|
54
54
|
compoundDeploymentNode,
|
|
@@ -56,26 +56,26 @@ export {
|
|
|
56
56
|
deploymentNode,
|
|
57
57
|
elementNode,
|
|
58
58
|
cz as useCurrentViewId,
|
|
59
|
-
|
|
59
|
+
cW as useCurrentViewModel,
|
|
60
60
|
c6 as useDiagram,
|
|
61
|
-
|
|
61
|
+
cV as useDiagramActorRef,
|
|
62
62
|
cm as useDiagramContext,
|
|
63
63
|
cl as useDiagramEventHandlers,
|
|
64
64
|
c7 as useEnabledFeatures,
|
|
65
65
|
ei as useHasProjects,
|
|
66
|
-
|
|
66
|
+
cS as useLikeC4Model,
|
|
67
67
|
cM as useLikeC4ProjectId,
|
|
68
68
|
ej as useLikeC4Projects,
|
|
69
69
|
cL as useLikeC4ProjectsContext,
|
|
70
70
|
dU as useLikeC4Specification,
|
|
71
71
|
useLikeC4ViewModel,
|
|
72
72
|
cu as useMantinePortalProps,
|
|
73
|
-
|
|
73
|
+
cR as useOnDiagramEvent,
|
|
74
74
|
ek as useSetState,
|
|
75
75
|
bf as useUpdateEffect,
|
|
76
76
|
c5 as useXYFlow,
|
|
77
77
|
c8 as useXYInternalNode,
|
|
78
|
-
|
|
78
|
+
dw as useXYStore,
|
|
79
79
|
b9 as useXYStoreApi,
|
|
80
80
|
viewGroupNode
|
|
81
81
|
};
|