@pipelex/mthds-ui 0.44.0 → 0.46.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/dist/{chunk-ENRYQOCO.js → chunk-CZGIDVT7.js} +2 -2
- package/dist/{chunk-7JZBXBZS.js → chunk-DNYJEPHT.js} +3 -3
- package/dist/{chunk-6S5TQPTO.js → chunk-DUBNSW66.js} +2 -2
- package/dist/{chunk-5E3UJI2I.js → chunk-SCKRIESM.js} +411 -29
- package/dist/chunk-SCKRIESM.js.map +1 -0
- package/dist/{chunk-N2F62MW7.js → chunk-UAYO53EO.js} +5 -5
- package/dist/chunk-UAYO53EO.js.map +1 -0
- package/dist/{chunk-4KLE62AN.js → chunk-X7GHQ3SD.js} +1 -1
- package/dist/{chunk-4KLE62AN.js.map → chunk-X7GHQ3SD.js.map} +1 -1
- package/dist/form/react/index.d.ts +17 -11
- package/dist/form/react/index.js +2 -2
- package/dist/form/react/index.js.map +1 -1
- package/dist/graph/index.d.ts +226 -4
- package/dist/graph/index.js +8 -4
- package/dist/graph/react/index.d.ts +2 -2
- package/dist/graph/react/index.js +1679 -985
- package/dist/graph/react/index.js.map +1 -1
- package/dist/graph/react/styles/simple/SimpleDetailPanel.css +492 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -4
- package/dist/{registryJoin-C6Wfkik-.d.ts → registryJoin-C7paykZ2.d.ts} +1 -1
- package/dist/standalone/graph-standalone.html +620 -127
- package/dist/standalone/graph-viewer.css +493 -0
- package/dist/standalone/graph-viewer.js +127 -127
- package/dist/static-graph/index.d.ts +1 -1
- package/dist/static-graph/index.js +1 -1
- package/dist/timeline/index.d.ts +3 -3
- package/dist/timeline/index.js +2 -2
- package/dist/timeline/react/index.d.ts +2 -2
- package/dist/timeline/react/index.js +5 -5
- package/dist/{types-DLAnYNoi.d.ts → types-DgYaVX6K.d.ts} +8 -0
- package/package.json +3 -2
- package/dist/chunk-5E3UJI2I.js.map +0 -1
- package/dist/chunk-N2F62MW7.js.map +0 -1
- /package/dist/{chunk-ENRYQOCO.js.map → chunk-CZGIDVT7.js.map} +0 -0
- /package/dist/{chunk-7JZBXBZS.js.map → chunk-DNYJEPHT.js.map} +0 -0
- /package/dist/{chunk-6S5TQPTO.js.map → chunk-DUBNSW66.js.map} +0 -0
|
@@ -0,0 +1,492 @@
|
|
|
1
|
+
/* ─── The simple style's detail panel ───────────────────────────────────── */
|
|
2
|
+
/* Token-only, like the rest of the panel: every colour comes from the active */
|
|
3
|
+
/* theme palette on the viewer's container. It speaks the canvas's visual */
|
|
4
|
+
/* language: proportional type, the step's category tint, the same status */
|
|
5
|
+
/* marks (`.simple-status`, from SimpleStyle.css). */
|
|
6
|
+
|
|
7
|
+
.simple-detail {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 14px;
|
|
11
|
+
font-family: var(--font-sans);
|
|
12
|
+
color: var(--text-default);
|
|
13
|
+
font-size: 13px;
|
|
14
|
+
line-height: 1.5;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.simple-detail p {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* ─── Header: what kind of node, and where its run stands ──────────────── */
|
|
22
|
+
|
|
23
|
+
.simple-detail-header {
|
|
24
|
+
--simple-detail-accent: var(--text-muted);
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
flex-wrap: wrap;
|
|
28
|
+
gap: 6px 12px;
|
|
29
|
+
min-height: 22px;
|
|
30
|
+
/* Room for the panel's close button, which the close row tucks beside the
|
|
31
|
+
first line of the content. */
|
|
32
|
+
padding-right: 28px;
|
|
33
|
+
}
|
|
34
|
+
.simple-detail-header--ai,
|
|
35
|
+
.simple-detail-header--judge {
|
|
36
|
+
--simple-detail-accent: var(--color-accent);
|
|
37
|
+
}
|
|
38
|
+
.simple-detail-header--decision {
|
|
39
|
+
--simple-detail-accent: var(--ctrl-condition-text);
|
|
40
|
+
}
|
|
41
|
+
.simple-detail-header--repeat {
|
|
42
|
+
--simple-detail-accent: var(--ctrl-batch-text);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.simple-detail-kind {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
gap: 6px;
|
|
49
|
+
font-size: 12px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
color: var(--simple-detail-accent, var(--text-muted));
|
|
52
|
+
}
|
|
53
|
+
.simple-detail-kind svg {
|
|
54
|
+
flex-shrink: 0;
|
|
55
|
+
}
|
|
56
|
+
.simple-detail-kind--output {
|
|
57
|
+
color: var(--color-success);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.simple-detail-run {
|
|
61
|
+
display: inline-flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
gap: 6px;
|
|
64
|
+
font-size: 12px;
|
|
65
|
+
color: var(--text-muted);
|
|
66
|
+
}
|
|
67
|
+
.simple-detail-run--failed {
|
|
68
|
+
color: var(--color-error);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/* Read by a screen reader, not shown: the status word a count line implies. */
|
|
72
|
+
.simple-detail-sr {
|
|
73
|
+
position: absolute;
|
|
74
|
+
width: 1px;
|
|
75
|
+
height: 1px;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
clip: rect(0 0 0 0);
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.simple-detail-title {
|
|
82
|
+
margin: 0;
|
|
83
|
+
font-size: 17px;
|
|
84
|
+
font-weight: 600;
|
|
85
|
+
line-height: 1.35;
|
|
86
|
+
color: var(--text-primary);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.simple-detail-subtitle {
|
|
90
|
+
margin-top: -10px;
|
|
91
|
+
font-size: 12px;
|
|
92
|
+
color: var(--text-muted);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.simple-detail-description {
|
|
96
|
+
color: var(--text-secondary);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.simple-detail-foreach {
|
|
100
|
+
display: inline-flex;
|
|
101
|
+
align-self: flex-start;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: 5px;
|
|
104
|
+
margin-top: -6px;
|
|
105
|
+
padding: 2px 8px;
|
|
106
|
+
border-radius: 999px;
|
|
107
|
+
border: 1px solid var(--ctrl-batch-border);
|
|
108
|
+
background: var(--ctrl-batch-bg);
|
|
109
|
+
color: var(--ctrl-batch-text);
|
|
110
|
+
font-size: 11px;
|
|
111
|
+
font-weight: 600;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.simple-detail-note {
|
|
115
|
+
font-size: 12px;
|
|
116
|
+
color: var(--text-muted);
|
|
117
|
+
padding: 8px 10px;
|
|
118
|
+
border-radius: 8px;
|
|
119
|
+
background: var(--surface-sunken);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/* ─── Sections ─────────────────────────────────────────────────────────── */
|
|
123
|
+
|
|
124
|
+
.simple-detail-section {
|
|
125
|
+
display: flex;
|
|
126
|
+
flex-direction: column;
|
|
127
|
+
gap: 8px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.simple-detail-section-title {
|
|
131
|
+
margin: 0;
|
|
132
|
+
font-size: 11px;
|
|
133
|
+
font-weight: 600;
|
|
134
|
+
color: var(--text-dim);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* ─── A value ──────────────────────────────────────────────────────────── */
|
|
138
|
+
|
|
139
|
+
.simple-value {
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
gap: 4px;
|
|
143
|
+
padding: 10px 12px;
|
|
144
|
+
border-radius: 10px;
|
|
145
|
+
border: 1px solid var(--border-default);
|
|
146
|
+
background: var(--surface-sunken);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.simple-value-head {
|
|
150
|
+
display: flex;
|
|
151
|
+
align-items: baseline;
|
|
152
|
+
flex-wrap: wrap;
|
|
153
|
+
gap: 4px 8px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.simple-value-icon {
|
|
157
|
+
display: inline-flex;
|
|
158
|
+
align-self: center;
|
|
159
|
+
color: var(--color-stuff-border, var(--text-muted));
|
|
160
|
+
}
|
|
161
|
+
.simple-value-icon--list {
|
|
162
|
+
filter: drop-shadow(2px -2px 0 var(--border-strong));
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.simple-value-title {
|
|
166
|
+
font-weight: 600;
|
|
167
|
+
color: var(--text-primary);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.simple-value-kind {
|
|
171
|
+
font-size: 12px;
|
|
172
|
+
color: var(--text-muted);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.simple-value-description {
|
|
176
|
+
font-size: 12px;
|
|
177
|
+
color: var(--text-secondary);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.simple-value-links {
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-wrap: wrap;
|
|
183
|
+
align-items: baseline;
|
|
184
|
+
gap: 2px 0;
|
|
185
|
+
font-size: 12px;
|
|
186
|
+
color: var(--text-muted);
|
|
187
|
+
}
|
|
188
|
+
.simple-value-links-label {
|
|
189
|
+
margin-right: 6px;
|
|
190
|
+
}
|
|
191
|
+
/* A flex item trims its trailing space, which would draw "a,b". */
|
|
192
|
+
.simple-value-links-sep {
|
|
193
|
+
white-space: pre;
|
|
194
|
+
}
|
|
195
|
+
.simple-value-links--none {
|
|
196
|
+
font-style: italic;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.simple-value-fold {
|
|
200
|
+
margin-top: 4px;
|
|
201
|
+
}
|
|
202
|
+
.simple-detail-value {
|
|
203
|
+
display: flex;
|
|
204
|
+
flex-direction: column;
|
|
205
|
+
gap: 8px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* ─── A link to a node on the canvas ───────────────────────────────────── */
|
|
209
|
+
|
|
210
|
+
.simple-link {
|
|
211
|
+
all: unset;
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
color: var(--color-accent);
|
|
214
|
+
text-decoration: underline;
|
|
215
|
+
text-decoration-color: color-mix(in srgb, var(--color-accent) 40%, transparent);
|
|
216
|
+
text-underline-offset: 2px;
|
|
217
|
+
font-size: inherit;
|
|
218
|
+
line-height: inherit;
|
|
219
|
+
}
|
|
220
|
+
.simple-link:hover {
|
|
221
|
+
text-decoration-color: currentColor;
|
|
222
|
+
}
|
|
223
|
+
.simple-link:focus-visible {
|
|
224
|
+
outline: 2px solid var(--focus-ring);
|
|
225
|
+
outline-offset: 2px;
|
|
226
|
+
border-radius: 2px;
|
|
227
|
+
}
|
|
228
|
+
.simple-link--static {
|
|
229
|
+
cursor: default;
|
|
230
|
+
color: inherit;
|
|
231
|
+
text-decoration: none;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.simple-detail-links {
|
|
235
|
+
list-style: none;
|
|
236
|
+
margin: 0;
|
|
237
|
+
padding: 0;
|
|
238
|
+
display: flex;
|
|
239
|
+
flex-direction: column;
|
|
240
|
+
gap: 4px;
|
|
241
|
+
}
|
|
242
|
+
/* Numbered, since the order is the steps' order. Stated outright, since a
|
|
243
|
+
Tailwind host's preflight takes every list's markers away, and a block list,
|
|
244
|
+
since a flex container's items lose theirs. */
|
|
245
|
+
.simple-detail-steps {
|
|
246
|
+
list-style: decimal;
|
|
247
|
+
margin: 0;
|
|
248
|
+
padding-left: 22px;
|
|
249
|
+
}
|
|
250
|
+
.simple-detail-steps > li + li {
|
|
251
|
+
margin-top: 4px;
|
|
252
|
+
}
|
|
253
|
+
.simple-detail-steps > li::marker {
|
|
254
|
+
color: var(--text-dim);
|
|
255
|
+
font-size: 12px;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/* ─── A decision's outcomes ────────────────────────────────────────────── */
|
|
259
|
+
|
|
260
|
+
.simple-detail-outcomes {
|
|
261
|
+
list-style: none;
|
|
262
|
+
margin: 0;
|
|
263
|
+
padding: 0;
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
gap: 6px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.simple-detail-outcome {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-wrap: wrap;
|
|
272
|
+
align-items: baseline;
|
|
273
|
+
gap: 2px 8px;
|
|
274
|
+
padding: 8px 10px;
|
|
275
|
+
border-radius: 8px;
|
|
276
|
+
border: 1px solid var(--border-default);
|
|
277
|
+
}
|
|
278
|
+
.simple-detail-outcome--taken {
|
|
279
|
+
border-color: color-mix(in srgb, var(--color-success) 55%, transparent);
|
|
280
|
+
background: var(--color-success-bg);
|
|
281
|
+
}
|
|
282
|
+
.simple-detail-outcome--not-taken {
|
|
283
|
+
opacity: 0.7;
|
|
284
|
+
}
|
|
285
|
+
.simple-detail-outcome-label {
|
|
286
|
+
font-weight: 600;
|
|
287
|
+
color: var(--ctrl-condition-text);
|
|
288
|
+
}
|
|
289
|
+
.simple-detail-outcome-arrow {
|
|
290
|
+
color: var(--text-dim);
|
|
291
|
+
}
|
|
292
|
+
.simple-detail-outcome-target {
|
|
293
|
+
flex: 1 1 auto;
|
|
294
|
+
min-width: 0;
|
|
295
|
+
}
|
|
296
|
+
.simple-detail-outcome-taken {
|
|
297
|
+
font-size: 11px;
|
|
298
|
+
font-weight: 600;
|
|
299
|
+
color: var(--text-muted);
|
|
300
|
+
}
|
|
301
|
+
.simple-detail-outcome--taken .simple-detail-outcome-taken {
|
|
302
|
+
color: var(--color-success);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.simple-detail-outcome-note {
|
|
306
|
+
font-size: 12px;
|
|
307
|
+
font-weight: 600;
|
|
308
|
+
color: var(--ctrl-condition-text);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* ─── An arrow's two ends ──────────────────────────────────────────────── */
|
|
312
|
+
|
|
313
|
+
.simple-detail-ends {
|
|
314
|
+
margin: 0;
|
|
315
|
+
display: grid;
|
|
316
|
+
grid-template-columns: auto 1fr;
|
|
317
|
+
gap: 6px 12px;
|
|
318
|
+
align-items: baseline;
|
|
319
|
+
}
|
|
320
|
+
.simple-detail-ends dt {
|
|
321
|
+
font-size: 11px;
|
|
322
|
+
font-weight: 600;
|
|
323
|
+
color: var(--text-dim);
|
|
324
|
+
}
|
|
325
|
+
.simple-detail-ends dd {
|
|
326
|
+
margin: 0;
|
|
327
|
+
font-size: 15px;
|
|
328
|
+
font-weight: 600;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* ─── What a value's concept contains ──────────────────────────────────── */
|
|
332
|
+
|
|
333
|
+
.simple-detail-fields {
|
|
334
|
+
margin: 0;
|
|
335
|
+
display: flex;
|
|
336
|
+
flex-direction: column;
|
|
337
|
+
gap: 2px;
|
|
338
|
+
}
|
|
339
|
+
.simple-detail-fields dt {
|
|
340
|
+
font-weight: 600;
|
|
341
|
+
color: var(--text-primary);
|
|
342
|
+
margin-top: 6px;
|
|
343
|
+
}
|
|
344
|
+
.simple-detail-fields dt:first-child {
|
|
345
|
+
margin-top: 0;
|
|
346
|
+
}
|
|
347
|
+
.simple-detail-fields dd {
|
|
348
|
+
margin: 0;
|
|
349
|
+
font-size: 12px;
|
|
350
|
+
color: var(--text-secondary);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* ─── Folds: the prompt, a value, the technical details ────────────────── */
|
|
354
|
+
|
|
355
|
+
.simple-detail-fold {
|
|
356
|
+
border-radius: 10px;
|
|
357
|
+
border: 1px solid var(--border-default);
|
|
358
|
+
}
|
|
359
|
+
.simple-value-fold {
|
|
360
|
+
border: none;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
.simple-detail-fold-title {
|
|
364
|
+
cursor: pointer;
|
|
365
|
+
padding: 8px 12px;
|
|
366
|
+
font-size: 12px;
|
|
367
|
+
font-weight: 600;
|
|
368
|
+
color: var(--text-secondary);
|
|
369
|
+
list-style: none;
|
|
370
|
+
display: flex;
|
|
371
|
+
align-items: center;
|
|
372
|
+
gap: 6px;
|
|
373
|
+
}
|
|
374
|
+
.simple-value-fold > .simple-detail-fold-title {
|
|
375
|
+
padding: 2px 0;
|
|
376
|
+
color: var(--color-accent);
|
|
377
|
+
}
|
|
378
|
+
.simple-detail-fold-title::-webkit-details-marker {
|
|
379
|
+
display: none;
|
|
380
|
+
}
|
|
381
|
+
.simple-detail-fold-title::before {
|
|
382
|
+
content: "";
|
|
383
|
+
width: 6px;
|
|
384
|
+
height: 6px;
|
|
385
|
+
border-right: 1.5px solid currentColor;
|
|
386
|
+
border-bottom: 1.5px solid currentColor;
|
|
387
|
+
transform: rotate(-45deg);
|
|
388
|
+
transition: transform 0.15s;
|
|
389
|
+
flex-shrink: 0;
|
|
390
|
+
}
|
|
391
|
+
.simple-detail-fold[open] > .simple-detail-fold-title::before {
|
|
392
|
+
transform: rotate(45deg);
|
|
393
|
+
}
|
|
394
|
+
.simple-detail-fold-title:focus-visible {
|
|
395
|
+
outline: 2px solid var(--focus-ring);
|
|
396
|
+
outline-offset: -2px;
|
|
397
|
+
border-radius: 10px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.simple-detail-fold-body {
|
|
401
|
+
padding: 0 12px 12px;
|
|
402
|
+
}
|
|
403
|
+
.simple-value-fold > .simple-detail-fold-body {
|
|
404
|
+
padding: 6px 0 0;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.simple-detail-prompt {
|
|
408
|
+
white-space: pre-wrap;
|
|
409
|
+
overflow-wrap: anywhere;
|
|
410
|
+
font-size: 12px;
|
|
411
|
+
line-height: 1.55;
|
|
412
|
+
color: var(--text-default);
|
|
413
|
+
max-height: 320px;
|
|
414
|
+
overflow-y: auto;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/* The technical fold holds the detailed style's panel as it is: its own
|
|
418
|
+
sections keep their own spacing. */
|
|
419
|
+
.simple-detail-technical-body {
|
|
420
|
+
display: flex;
|
|
421
|
+
flex-direction: column;
|
|
422
|
+
gap: 16px;
|
|
423
|
+
padding-top: 4px;
|
|
424
|
+
}
|
|
425
|
+
.simple-detail-technical-body .detail-sticky-header {
|
|
426
|
+
position: static;
|
|
427
|
+
margin-top: 0;
|
|
428
|
+
padding-top: 0;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
/* ─── A problem ────────────────────────────────────────────────────────── */
|
|
432
|
+
|
|
433
|
+
.simple-detail-problem {
|
|
434
|
+
display: flex;
|
|
435
|
+
flex-direction: column;
|
|
436
|
+
gap: 4px;
|
|
437
|
+
padding: 10px 12px;
|
|
438
|
+
border-radius: 10px;
|
|
439
|
+
border: 1px solid color-mix(in srgb, var(--color-error) 55%, transparent);
|
|
440
|
+
background: var(--color-error-bg);
|
|
441
|
+
}
|
|
442
|
+
.simple-detail-problem-title {
|
|
443
|
+
font-weight: 600;
|
|
444
|
+
color: var(--color-error);
|
|
445
|
+
}
|
|
446
|
+
.simple-detail-problem-detail {
|
|
447
|
+
font-size: 12px;
|
|
448
|
+
color: var(--text-default);
|
|
449
|
+
overflow-wrap: anywhere;
|
|
450
|
+
}
|
|
451
|
+
.simple-detail-problem-next {
|
|
452
|
+
font-size: 12px;
|
|
453
|
+
color: var(--text-secondary);
|
|
454
|
+
}
|
|
455
|
+
.simple-detail-problem-next-label {
|
|
456
|
+
font-weight: 600;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/* ─── A button ─────────────────────────────────────────────────────────── */
|
|
460
|
+
|
|
461
|
+
.simple-detail-button {
|
|
462
|
+
all: unset;
|
|
463
|
+
cursor: pointer;
|
|
464
|
+
align-self: flex-start;
|
|
465
|
+
padding: 5px 12px;
|
|
466
|
+
border-radius: 8px;
|
|
467
|
+
border: 1px solid var(--border-strong);
|
|
468
|
+
background: var(--surface-elevated);
|
|
469
|
+
color: var(--text-primary);
|
|
470
|
+
font-size: 12px;
|
|
471
|
+
font-weight: 600;
|
|
472
|
+
}
|
|
473
|
+
.simple-detail-button:hover {
|
|
474
|
+
background: var(--surface-elevated-hover);
|
|
475
|
+
}
|
|
476
|
+
.simple-detail-button:focus-visible {
|
|
477
|
+
outline: 2px solid var(--focus-ring);
|
|
478
|
+
outline-offset: 2px;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* ─── An arrow that opens a panel ──────────────────────────────────────── */
|
|
482
|
+
/* In a style whose arrows carry values, an arrow takes a click (through the
|
|
483
|
+
edge's own invisible hit path, wider than the line), and the arrow open in
|
|
484
|
+
the panel is drawn in the accent colour. */
|
|
485
|
+
|
|
486
|
+
.react-flow-container--value-arrows .react-flow__edge-routed {
|
|
487
|
+
cursor: pointer;
|
|
488
|
+
}
|
|
489
|
+
.react-flow-container--value-arrows .react-flow__edge-routed.selected .react-flow__edge-path {
|
|
490
|
+
stroke: var(--color-accent) !important;
|
|
491
|
+
stroke-width: 2.5px !important;
|
|
492
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { B as ARROW_CLOSED_MARKER, H as BINDING_STEP_TYPE, I as BindingNode, J as BindingStepSpec, K as BindingStepType, M as CONTROLLER_PADDING_BOTTOM, O as CONTROLLER_PADDING_TOP, Q as CONTROLLER_PADDING_X, s as CardNode, C as ConceptInfo, D as DataflowAnalysis, R as EDGE_TYPE, U as EDGE_TYPE_ROUTED, E as EdgeRoute, W as EdgeType, X as FOLD_MODE, Y as FieldResolution, F as FoldMode, o as FoldToggleOptions, Z as GRAPH_DIRECTION, _ as GRAPH_SPEC_MODE, $ as GRAPH_STYLE, a0 as GRAPH_THEME, a1 as GRAPH_THEME_MODE, h as GraphConfig, u as GraphData, i as GraphDirection, f as GraphEdge, g as GraphNode, e as GraphNodeData, x as GraphPoint, d as GraphSpec, a2 as GraphSpecEdge, a3 as GraphSpecEdgeKind, a4 as GraphSpecMeta, v as GraphSpecMode, a5 as GraphSpecModelUsage, q as GraphSpecNode, a6 as GraphSpecNodeIo, l as GraphSpecNodeIoItem, a7 as GraphSpecNodeTiming, a8 as GraphSpecNodeUsage, a9 as GraphSpecUsage, j as GraphStyleId, a as GraphTheme, G as GraphThemeMode, aa as JudgmentQuestionSpec, ab as KNOWN_PIPE_TYPES, L as LabelDescriptor, w as LayoutConfig, ac as NODE_TYPE_CONTROLLER, ad as NODE_TYPE_PIPE_CARD, ae as NODE_TYPE_SIMPLE_DECISION, af as NODE_TYPE_SIMPLE_FRAME, ag as NODE_TYPE_SIMPLE_STEP, ah as NODE_TYPE_SIMPLE_TERMINAL, ai as NODE_TYPE_STUFF, aj as NodeKind, z as NodePipeType, N as NodeValidationSummary, ak as PipeBatchBlueprint, al as PipeBlueprintBase, P as PipeBlueprintUnion, t as PipeCallNode, p as PipeCardPayload, am as PipeComposeBlueprint, an as PipeComposeConstructBlueprint, ao as PipeComposeConstructField, ap as PipeConditionBlueprint, n as PipeControllerType, aq as PipeDocGenBlueprint, ar as PipeExtractBlueprint, as as PipeFuncBlueprint, at as PipeImgGenBlueprint, au as PipeJudgeBlueprint, av as PipeLLMBlueprint, r as PipeOperatorType, aw as PipeParallelBlueprint, ax as PipeSearchBlueprint, b as PipeSequenceBlueprint, ay as PipeSignatureBlueprint, k as PipeStatus, az as PipeStructureBlueprint, aA as PipeType, c as PresenceMarker, aB as STEP_CATEGORY, aC as STUFF_ID_PREFIX, aD as SequenceStepSpec, aE as SimpleNodePayload, y as SimpleTitleFit, A as StepCategory, aF as StuffMultiplicity, aG as StuffRegistryEntry, aH as StuffRole, aI as StuffSpecInfo, S as SubPipeSpec, aJ as TOOLBAR_POSITION, aK as TemplateBlueprint, aL as ToolbarOrientation, T as ToolbarPosition, aM as ToolbarSide, aN as VALIDATION_STATE, V as ValidationIssue, m as ValidationState, aO as graphSpecMode, aP as isBindingNode, aQ as isBindingStepSpec, aR as isDryGraphSpec, aS as isFailingPipeNode, aT as isPluralMultiplicity, aU as isStaticGraphSpec, aV as isStuffNodeId, aW as multiplicitySuffix, aX as nodeHeight, aY as nodeWidth, aZ as problemFailingPipe, a_ as stuffDigestFromId, a$ as stuffNodeId, b0 as toolbarOrientation, b1 as toolbarSide } from './types-
|
|
2
|
-
export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GRAPH_STYLES, GRAPH_STYLE_IDS, GRAPH_STYLE_PIPELINES, GraphSpecValidationError, GraphStyleCapabilities, GraphStyleDescriptor, GraphStylePipeline, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, ROUTE_CORNER_RADIUS_PX, ROUTE_ENDPOINT_TOLERANCE_PX, SIMPLE_DECISION_WIDTHS, SIMPLE_FOLD_DEPTH, SIMPLE_STEP_TITLE_FITS, SIMPLE_STEP_WIDE_WIDTH, SIMPLE_STEP_WIDTH, SIMPLE_TERMINAL_WIDTH, STEP_CATEGORY_BY_PIPE_TYPE, STEP_CATEGORY_WORDS, SimpleProjection, SimpleProjectionInput, StuffLocation, StyleFrameArgs, StyleProjection, StyleProjectionArgs, WrapEstimate, aggregateStatus, applyControllers, applyFolds, applySimpleFrames, applyValidationDecorations, asCardNode, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, buildValidationDecorations, conceptPlainName, estimateNodeDimensions, estimateWrap, extractAbsolutePositions, extractEdgeRoutes, findCousinControllers, findStuffByDigest, fitRoute, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, humanizeIdentifier, humanizeInSentence, inputPortId, isGenericConcept, isGraphStyleId, outcomeLabel, outermostFoldedAncestor, outputPortId, pipeRefOf, pipeTitle, polylineMidpoint, projectSimpleGraph, resolveConceptRef, resolveGraphStyle, resolveIssueTargetNodeId, resolveNodeBlueprint, resolveStyleMenu, roundedPolylinePath, routeLabelCenter, sentenceCase, simpleDecisionSize, simpleDefaultFolds, simpleEdgeLabelSize, simpleStepSize, simpleTerminalSize, simpleTitleFit, simpleTitleWrap, sortParentsFirst, stripDomain, textWidthPx, validateGraphSpec } from './graph/index.js';
|
|
1
|
+
export { B as ARROW_CLOSED_MARKER, H as BINDING_STEP_TYPE, I as BindingNode, J as BindingStepSpec, K as BindingStepType, M as CONTROLLER_PADDING_BOTTOM, O as CONTROLLER_PADDING_TOP, Q as CONTROLLER_PADDING_X, s as CardNode, C as ConceptInfo, D as DataflowAnalysis, R as EDGE_TYPE, U as EDGE_TYPE_ROUTED, E as EdgeRoute, W as EdgeType, X as FOLD_MODE, Y as FieldResolution, F as FoldMode, o as FoldToggleOptions, Z as GRAPH_DIRECTION, _ as GRAPH_SPEC_MODE, $ as GRAPH_STYLE, a0 as GRAPH_THEME, a1 as GRAPH_THEME_MODE, h as GraphConfig, u as GraphData, i as GraphDirection, f as GraphEdge, g as GraphNode, e as GraphNodeData, x as GraphPoint, d as GraphSpec, a2 as GraphSpecEdge, a3 as GraphSpecEdgeKind, a4 as GraphSpecMeta, v as GraphSpecMode, a5 as GraphSpecModelUsage, q as GraphSpecNode, a6 as GraphSpecNodeIo, l as GraphSpecNodeIoItem, a7 as GraphSpecNodeTiming, a8 as GraphSpecNodeUsage, a9 as GraphSpecUsage, j as GraphStyleId, a as GraphTheme, G as GraphThemeMode, aa as JudgmentQuestionSpec, ab as KNOWN_PIPE_TYPES, L as LabelDescriptor, w as LayoutConfig, ac as NODE_TYPE_CONTROLLER, ad as NODE_TYPE_PIPE_CARD, ae as NODE_TYPE_SIMPLE_DECISION, af as NODE_TYPE_SIMPLE_FRAME, ag as NODE_TYPE_SIMPLE_STEP, ah as NODE_TYPE_SIMPLE_TERMINAL, ai as NODE_TYPE_STUFF, aj as NodeKind, z as NodePipeType, N as NodeValidationSummary, ak as PipeBatchBlueprint, al as PipeBlueprintBase, P as PipeBlueprintUnion, t as PipeCallNode, p as PipeCardPayload, am as PipeComposeBlueprint, an as PipeComposeConstructBlueprint, ao as PipeComposeConstructField, ap as PipeConditionBlueprint, n as PipeControllerType, aq as PipeDocGenBlueprint, ar as PipeExtractBlueprint, as as PipeFuncBlueprint, at as PipeImgGenBlueprint, au as PipeJudgeBlueprint, av as PipeLLMBlueprint, r as PipeOperatorType, aw as PipeParallelBlueprint, ax as PipeSearchBlueprint, b as PipeSequenceBlueprint, ay as PipeSignatureBlueprint, k as PipeStatus, az as PipeStructureBlueprint, aA as PipeType, c as PresenceMarker, aB as STEP_CATEGORY, aC as STUFF_ID_PREFIX, aD as SequenceStepSpec, aE as SimpleNodePayload, y as SimpleTitleFit, A as StepCategory, aF as StuffMultiplicity, aG as StuffRegistryEntry, aH as StuffRole, aI as StuffSpecInfo, S as SubPipeSpec, aJ as TOOLBAR_POSITION, aK as TemplateBlueprint, aL as ToolbarOrientation, T as ToolbarPosition, aM as ToolbarSide, aN as VALIDATION_STATE, V as ValidationIssue, m as ValidationState, aO as graphSpecMode, aP as isBindingNode, aQ as isBindingStepSpec, aR as isDryGraphSpec, aS as isFailingPipeNode, aT as isPluralMultiplicity, aU as isStaticGraphSpec, aV as isStuffNodeId, aW as multiplicitySuffix, aX as nodeHeight, aY as nodeWidth, aZ as problemFailingPipe, a_ as stuffDigestFromId, a$ as stuffNodeId, b0 as toolbarOrientation, b1 as toolbarSide } from './types-DgYaVX6K.js';
|
|
2
|
+
export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GRAPH_STYLES, GRAPH_STYLE_IDS, GRAPH_STYLE_PIPELINES, GraphSpecValidationError, GraphStyleCapabilities, GraphStyleDescriptor, GraphStylePipeline, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, ROUTE_CORNER_RADIUS_PX, ROUTE_ENDPOINT_TOLERANCE_PX, SIMPLE_DECISION_WIDTHS, SIMPLE_FOLD_DEPTH, SIMPLE_STEP_TITLE_FITS, SIMPLE_STEP_WIDE_WIDTH, SIMPLE_STEP_WIDTH, SIMPLE_TERMINAL_WIDTH, STEP_CATEGORY_BY_PIPE_TYPE, STEP_CATEGORY_WORDS, SimpleArrowDetail, SimpleDecisionDetail, SimpleDetail, SimpleDetailInput, SimpleDetailTarget, SimpleFrameDetail, SimpleInstructions, SimpleLinkKind, SimpleNodeLink, SimpleOutcome, SimpleOutcomeEnd, SimpleProjection, SimpleProjectionInput, SimpleRunSummary, SimpleRunTally, SimpleStepDetail, SimpleValue, SimpleValueDetail, SimpleValueFlow, StuffLocation, StyleFrameArgs, StyleProjection, StyleProjectionArgs, WrapEstimate, aggregateStatus, applyControllers, applyFolds, applySimpleFrames, applyValidationDecorations, asCardNode, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, buildSimpleNodeDetail, buildValidationDecorations, conceptPlainName, estimateNodeDimensions, estimateWrap, extractAbsolutePositions, extractEdgeRoutes, findCousinControllers, findStuffByDigest, fitRoute, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, humanizeIdentifier, humanizeInSentence, inputPortId, isGenericConcept, isGraphStyleId, outcomeLabel, outermostFoldedAncestor, outputPortId, pipeRefOf, pipeTitle, polylineMidpoint, projectSimpleGraph, resolveConceptRef, resolveGraphStyle, resolveIssueTargetNodeId, resolveNodeBlueprint, resolveStyleMenu, roundedPolylinePath, routeLabelCenter, sentenceCase, simpleDecisionSize, simpleDefaultFolds, simpleEdgeLabelSize, simpleStepSize, simpleTerminalSize, simpleTitleFit, simpleTitleWrap, simpleValueTitle, sortParentsFirst, stripDomain, textWidthPx, validateGraphSpec } from './graph/index.js';
|
|
3
3
|
export { P as ParsedPipeRef, m as makePipeRef, p as parsePipeRef } from './pipeRefs-BQJO5nh5.js';
|
|
4
4
|
import 'mthds/errors';
|
|
5
5
|
import 'elkjs/lib/elk-api';
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
buildElkGraph,
|
|
29
29
|
buildGraph,
|
|
30
30
|
buildPipeCardPayload,
|
|
31
|
+
buildSimpleNodeDetail,
|
|
31
32
|
buildValidationDecorations,
|
|
32
33
|
estimateNodeDimensions,
|
|
33
34
|
estimateWrap,
|
|
@@ -57,17 +58,18 @@ import {
|
|
|
57
58
|
simpleTerminalSize,
|
|
58
59
|
simpleTitleFit,
|
|
59
60
|
simpleTitleWrap,
|
|
61
|
+
simpleValueTitle,
|
|
60
62
|
sortParentsFirst,
|
|
61
63
|
textWidthPx,
|
|
62
64
|
validateGraphSpec
|
|
63
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SCKRIESM.js";
|
|
64
66
|
import {
|
|
65
67
|
GRAPH_STYLES,
|
|
66
68
|
GRAPH_STYLE_IDS,
|
|
67
69
|
isGraphStyleId,
|
|
68
70
|
resolveGraphStyle,
|
|
69
71
|
resolveStyleMenu
|
|
70
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UAYO53EO.js";
|
|
71
73
|
import {
|
|
72
74
|
makePipeRef,
|
|
73
75
|
parsePipeRef
|
|
@@ -88,7 +90,7 @@ import {
|
|
|
88
90
|
LIGHT_PALETTE_COLORS,
|
|
89
91
|
getPaletteColors,
|
|
90
92
|
getPaletteForTheme
|
|
91
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-CZGIDVT7.js";
|
|
92
94
|
import {
|
|
93
95
|
ARROW_CLOSED_MARKER,
|
|
94
96
|
BINDING_STEP_TYPE,
|
|
@@ -131,7 +133,7 @@ import {
|
|
|
131
133
|
stuffNodeId,
|
|
132
134
|
toolbarOrientation,
|
|
133
135
|
toolbarSide
|
|
134
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-X7GHQ3SD.js";
|
|
135
137
|
import "./chunk-2NMEKWO5.js";
|
|
136
138
|
export {
|
|
137
139
|
ARROW_CLOSED_MARKER,
|
|
@@ -192,6 +194,7 @@ export {
|
|
|
192
194
|
buildElkGraph,
|
|
193
195
|
buildGraph,
|
|
194
196
|
buildPipeCardPayload,
|
|
197
|
+
buildSimpleNodeDetail,
|
|
195
198
|
buildValidationDecorations,
|
|
196
199
|
conceptPlainName,
|
|
197
200
|
estimateNodeDimensions,
|
|
@@ -247,6 +250,7 @@ export {
|
|
|
247
250
|
simpleTerminalSize,
|
|
248
251
|
simpleTitleFit,
|
|
249
252
|
simpleTitleWrap,
|
|
253
|
+
simpleValueTitle,
|
|
250
254
|
sortParentsFirst,
|
|
251
255
|
stripDomain,
|
|
252
256
|
stuffDigestFromId,
|