@pipelex/mthds-ui 0.59.0 → 0.60.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.
Files changed (50) hide show
  1. package/dist/{chunk-S4UMMHLE.js → chunk-43NAVRQK.js} +17 -2
  2. package/dist/chunk-43NAVRQK.js.map +1 -0
  3. package/dist/{chunk-6KWNAU4F.js → chunk-BQZ3BPJM.js} +13 -1
  4. package/dist/chunk-BQZ3BPJM.js.map +1 -0
  5. package/dist/{chunk-XMTXWXFO.js → chunk-KKT6OVO6.js} +3 -3
  6. package/dist/{chunk-5N3MP5TD.js → chunk-PWKNMKFA.js} +106 -35
  7. package/dist/chunk-PWKNMKFA.js.map +1 -0
  8. package/dist/{chunk-ZRSFFUHA.js → chunk-S36KN6CG.js} +3 -3
  9. package/dist/chunk-UVEGKTBU.js +600 -0
  10. package/dist/chunk-UVEGKTBU.js.map +1 -0
  11. package/dist/{chunk-7QUQJW6Q.js → chunk-YQJNKQWO.js} +91 -285
  12. package/dist/chunk-YQJNKQWO.js.map +1 -0
  13. package/dist/form/react/index.d.ts +1 -1
  14. package/dist/form/react/index.js +2 -2
  15. package/dist/graph/index.d.ts +48 -21
  16. package/dist/graph/index.js +61 -21
  17. package/dist/graph/react/detail/DetailPanel.css +49 -0
  18. package/dist/graph/react/graph-core.css +20 -0
  19. package/dist/graph/react/index.d.ts +2 -2
  20. package/dist/graph/react/index.js +92 -29
  21. package/dist/graph/react/index.js.map +1 -1
  22. package/dist/graph/react/styles/simple/SimpleDetailPanel.css +20 -0
  23. package/dist/graph/react/styles/simple/SimpleStyle.css +13 -0
  24. package/dist/index.d.ts +3 -2
  25. package/dist/index.js +61 -21
  26. package/dist/methodWords-DIEg1PVT.d.ts +180 -0
  27. package/dist/{registryJoin-CMfBspIs.d.ts → registryJoin-Cj1mIkqe.d.ts} +18 -10
  28. package/dist/standalone/graph-standalone.html +232 -130
  29. package/dist/standalone/graph-viewer.css +102 -0
  30. package/dist/standalone/graph-viewer.js +130 -130
  31. package/dist/static-graph/index.d.ts +1 -1
  32. package/dist/static-graph/index.js +33 -12
  33. package/dist/static-graph/index.js.map +1 -1
  34. package/dist/timeline/index.d.ts +42 -7
  35. package/dist/timeline/index.js +8 -3
  36. package/dist/timeline/react/RunTimeline.css +18 -0
  37. package/dist/timeline/react/index.d.ts +3 -2
  38. package/dist/timeline/react/index.js +20 -11
  39. package/dist/timeline/react/index.js.map +1 -1
  40. package/dist/timeline/react/styles/simple/SimpleProgress.css +25 -0
  41. package/dist/{types-CnDJyLYo.d.ts → types-BygAt1Si.d.ts} +51 -1
  42. package/package.json +2 -2
  43. package/dist/chunk-5N3MP5TD.js.map +0 -1
  44. package/dist/chunk-6KWNAU4F.js.map +0 -1
  45. package/dist/chunk-7QUQJW6Q.js.map +0 -1
  46. package/dist/chunk-P6IGZVWE.js +0 -155
  47. package/dist/chunk-P6IGZVWE.js.map +0 -1
  48. package/dist/chunk-S4UMMHLE.js.map +0 -1
  49. /package/dist/{chunk-XMTXWXFO.js.map → chunk-KKT6OVO6.js.map} +0 -0
  50. /package/dist/{chunk-ZRSFFUHA.js.map → chunk-S36KN6CG.js.map} +0 -0
@@ -730,6 +730,26 @@ svg.react-flow__connectionline {
730
730
  inset: 0;
731
731
  background: var(--color-bg);
732
732
  }
733
+ /* The tone roles (`OUTCOME_TONE_COLORS` in `graphConfig.ts`), which colour a
734
+ condition's outcome. Not in the inline palette: they are the form kernel's
735
+ tokens too, which a host sets from its own stylesheet, so their defaults are
736
+ declared here at zero specificity, per theme. A host rule on the container
737
+ (`.react-flow-container { --caution: … }`) wins over them in either order,
738
+ and `paletteColors`, inline, wins over both. Declared on the container
739
+ rather than read with a fallback, so a page-wide value meant for another
740
+ theme (the kernel's `:root`) does not reach a graph drawn in the other. */
741
+ :where(.react-flow-container) {
742
+ --positive: hsl(142 69% 58%);
743
+ --caution: hsl(43 96% 56%);
744
+ --negative: hsl(0 91% 71%);
745
+ --neutral: hsl(240 5% 64.9%);
746
+ }
747
+ :where(.react-flow-container--theme-light) {
748
+ --positive: hsl(142 72% 29%);
749
+ --caution: hsl(26 90% 37%);
750
+ --negative: hsl(0 74% 42%);
751
+ --neutral: hsl(240 5.2% 33.9%);
752
+ }
733
753
  /* The still presentation (`GraphViewer`'s `interactive={false}`): the drawing
734
754
  is laid in the page like a picture. The container flows in its parent at the
735
755
  height `StillFit` sets inline rather than filling a sized parent, shows the
@@ -1772,6 +1792,15 @@ button.node-validation-badge {
1772
1792
  flex-shrink: 0; /* label stays at its natural width */
1773
1793
  }
1774
1794
 
1795
+ /* An outcome's key column carries its label, which a method may write as a
1796
+ sentence: it shares the row with the pipe it names instead of squeezing it. */
1797
+ .detail-kv-key--outcome {
1798
+ flex: 0 1 auto;
1799
+ min-width: 0;
1800
+ max-width: 60%;
1801
+ overflow-wrap: anywhere;
1802
+ }
1803
+
1775
1804
  .detail-kv-value {
1776
1805
  font-family: var(--font-mono);
1777
1806
  color: var(--text-default);
@@ -1782,6 +1811,46 @@ button.node-validation-badge {
1782
1811
  overflow-wrap: anywhere;
1783
1812
  }
1784
1813
 
1814
+ /* ─── A step's activity and a condition's outcome words ─── */
1815
+
1816
+ .detail-activity {
1817
+ font-size: 12px;
1818
+ color: var(--text-secondary);
1819
+ margin-top: 4px;
1820
+ }
1821
+
1822
+ .detail-activity-label {
1823
+ color: var(--text-dim);
1824
+ }
1825
+
1826
+ /* An outcome's label reads in its tone, through the tone tokens, never a literal. */
1827
+ .detail-outcome-label {
1828
+ font-family: var(--font-sans);
1829
+ font-weight: 600;
1830
+ }
1831
+
1832
+ .detail-outcome-label--positive {
1833
+ color: var(--positive);
1834
+ }
1835
+
1836
+ .detail-outcome-label--caution {
1837
+ color: var(--caution);
1838
+ }
1839
+
1840
+ .detail-outcome-label--negative {
1841
+ color: var(--negative);
1842
+ }
1843
+
1844
+ .detail-outcome-label--neutral {
1845
+ color: var(--neutral);
1846
+ }
1847
+
1848
+ .detail-outcome-description {
1849
+ display: block;
1850
+ font-family: var(--font-sans);
1851
+ color: var(--text-muted);
1852
+ }
1853
+
1785
1854
  /* ─── Field block: labeled multi-line text (for long resolved values) ─── */
1786
1855
 
1787
1856
  .detail-field-block {
@@ -3041,6 +3110,19 @@ button.node-validation-badge {
3041
3110
  font-weight: 600;
3042
3111
  color: var(--ctrl-batch-text);
3043
3112
  white-space: nowrap;
3113
+ min-width: 0;
3114
+ }
3115
+ /* A batch's own activity can outrun its frame's width, which its steps set:
3116
+ it is cut with an ellipsis, the whole of it in the title's tooltip. A
3117
+ tooltip shows only for the element under the pointer, so the title takes
3118
+ the pointer back from the header that lets it through; a press on it still
3119
+ reaches the frame's node, which selects and drags the frame. */
3120
+ .simple-frame-header .simple-frame-title {
3121
+ pointer-events: auto;
3122
+ }
3123
+ .simple-frame-title-text {
3124
+ overflow: hidden;
3125
+ text-overflow: ellipsis;
3044
3126
  }
3045
3127
  .simple-frame-header .simple-status,
3046
3128
  .simple-frame-header .node-validation-badge {
@@ -3353,6 +3435,26 @@ button.node-validation-badge {
3353
3435
  font-weight: 600;
3354
3436
  color: var(--ctrl-condition-text);
3355
3437
  }
3438
+ /* An outcome the method gives words reads in its tone, through the tone
3439
+ tokens, never a literal colour. */
3440
+ .simple-detail-outcome-label--positive {
3441
+ color: var(--positive);
3442
+ }
3443
+ .simple-detail-outcome-label--caution {
3444
+ color: var(--caution);
3445
+ }
3446
+ .simple-detail-outcome-label--negative {
3447
+ color: var(--negative);
3448
+ }
3449
+ .simple-detail-outcome-label--neutral {
3450
+ color: var(--neutral);
3451
+ }
3452
+ /* What taking it means, on a line of its own under the outcome. */
3453
+ .simple-detail-outcome-description {
3454
+ flex-basis: 100%;
3455
+ font-size: 12px;
3456
+ color: var(--text-muted);
3457
+ }
3356
3458
  .simple-detail-outcome-arrow {
3357
3459
  color: var(--text-dim);
3358
3460
  }