@pipelex/mthds-ui 0.32.0 → 0.33.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/README.md +3 -0
- package/dist/{chunk-T5Y7KNCZ.js → chunk-ABUDTHWF.js} +2 -2
- package/dist/{chunk-T5Y7KNCZ.js.map → chunk-ABUDTHWF.js.map} +1 -1
- package/dist/graph/index.js +1 -1
- package/dist/graph/react/graph-core.css +13 -0
- package/dist/graph/react/index.d.ts +14 -0
- package/dist/graph/react/index.js +191 -90
- package/dist/graph/react/index.js.map +1 -1
- package/dist/graph/react/styles/simple/SimpleStyle.css +9 -0
- package/dist/index.js +1 -1
- package/dist/standalone/graph-standalone.html +130 -108
- package/dist/standalone/graph-viewer.css +22 -0
- package/dist/standalone/graph-viewer.js +108 -108
- package/package.json +1 -1
|
@@ -730,6 +730,19 @@ svg.react-flow__connectionline {
|
|
|
730
730
|
inset: 0;
|
|
731
731
|
background: var(--color-bg);
|
|
732
732
|
}
|
|
733
|
+
/* The still presentation (`GraphViewer`'s `interactive={false}`): the drawing
|
|
734
|
+
is laid in the page like a picture. The container flows in its parent at the
|
|
735
|
+
height `StillFit` sets inline rather than filling a sized parent, shows the
|
|
736
|
+
host's surface through it, and takes no pointer event, so a click or the
|
|
737
|
+
wheel reaches the page beneath. `GraphViewer` also makes it `inert`, which no
|
|
738
|
+
descendant's own `pointer-events: auto` (a fold button's) can override. */
|
|
739
|
+
.react-flow-container--still {
|
|
740
|
+
position: relative;
|
|
741
|
+
inset: auto;
|
|
742
|
+
width: 100%;
|
|
743
|
+
background: transparent;
|
|
744
|
+
pointer-events: none;
|
|
745
|
+
}
|
|
733
746
|
.react-flow__node {
|
|
734
747
|
font-family: var(--font-sans);
|
|
735
748
|
cursor: pointer;
|
|
@@ -2399,6 +2412,15 @@ button.node-validation-badge {
|
|
|
2399
2412
|
.react-flow__node-simpleFrame {
|
|
2400
2413
|
cursor: default !important;
|
|
2401
2414
|
}
|
|
2415
|
+
|
|
2416
|
+
/* An edge label's backing (`simpleStyle.ts`), dropped in the still
|
|
2417
|
+
presentation so the host's surface shows through: the layout reserves each
|
|
2418
|
+
label's box beside its arrow, so no line runs under the text. The detailed
|
|
2419
|
+
style keeps its backing, which is what hides a dashed batch edge behind its
|
|
2420
|
+
label. */
|
|
2421
|
+
.react-flow-container--still {
|
|
2422
|
+
--simple-edge-label-bg: transparent;
|
|
2423
|
+
}
|
|
2402
2424
|
.simple-handle.react-flow__handle {
|
|
2403
2425
|
opacity: 0;
|
|
2404
2426
|
border: none;
|