@pipelex/mthds-ui 0.31.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.
@@ -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;
@@ -962,6 +975,22 @@ svg.react-flow__connectionline {
962
975
  background: var(--pipe-card-accent);
963
976
  color: var(--text-on-accent);
964
977
  }
978
+ /* A document step's format, beside its badge: outlined in the badge's accent so
979
+ it reads as a qualifier of the type, and the badge's height so the header's
980
+ height does not change, since the layout sizes the card without it. */
981
+ .pipe-card-format {
982
+ font-family: var(--font-mono);
983
+ font-size: 10px;
984
+ font-weight: 600;
985
+ letter-spacing: 0.04em;
986
+ padding: 1px 6px;
987
+ border: 1px solid var(--pipe-card-accent);
988
+ border-radius: 4px;
989
+ white-space: nowrap;
990
+ line-height: 1.4;
991
+ color: var(--pipe-card-accent);
992
+ flex-shrink: 0;
993
+ }
965
994
  .pipe-card-code {
966
995
  font-family: var(--font-mono);
967
996
  font-size: 13px;
@@ -2383,6 +2412,15 @@ button.node-validation-badge {
2383
2412
  .react-flow__node-simpleFrame {
2384
2413
  cursor: default !important;
2385
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
+ }
2386
2424
  .simple-handle.react-flow__handle {
2387
2425
  opacity: 0;
2388
2426
  border: none;