@crewlethq/ui 0.121.0 → 0.122.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 (36) hide show
  1. package/README.md +1 -1
  2. package/dist/GraphCanvas/GraphCanvas.d.ts +187 -0
  3. package/dist/GraphCanvas/index.d.ts +9 -0
  4. package/dist/GraphCanvas/index.js +21 -0
  5. package/dist/GraphCanvas/layout.d.ts +201 -0
  6. package/dist/GraphCanvas/reach.d.ts +27 -0
  7. package/dist/GraphCanvas/walk.d.ts +20 -0
  8. package/dist/GraphCanvas-RSBMO2AF.css +388 -0
  9. package/dist/ObjectHeader/ObjectHeader.d.ts +17 -2
  10. package/dist/ObjectHeader/index.d.ts +2 -2
  11. package/dist/ObjectHeader/index.js +1 -1
  12. package/dist/{ObjectHeader-5RK5YAUK.css → ObjectHeader-BH7OBEAL.css} +12 -0
  13. package/dist/OrgTable/index.js +2 -2
  14. package/dist/PropertyList/index.js +2 -2
  15. package/dist/ReadingPane/index.js +1 -1
  16. package/dist/{ReadingPane-POH66FU7.css → ReadingPane-2VJ4JQ3J.css} +7 -0
  17. package/dist/RichEditor/index.js +1 -1
  18. package/dist/SetupWizard/index.js +2 -2
  19. package/dist/StatusLegend/StatusLegend.d.ts +1 -1
  20. package/dist/StatusLegend/index.js +1 -1
  21. package/dist/{StatusLegend-HVMKJQFY.css → StatusLegend-DMSTS2NG.css} +9 -0
  22. package/dist/{chunk-65AMIQSW.js → chunk-4PEPSGCZ.js} +4 -2
  23. package/dist/chunk-6KPHU4EB.js +1770 -0
  24. package/dist/{chunk-5LIWAA7S.js → chunk-CXFMNOPV.js} +15 -6
  25. package/dist/{chunk-3RKS3DLF.js → chunk-ENYHABQJ.js} +1 -1
  26. package/dist/{chunk-KZTR3V2P.js → chunk-J44ZIWGH.js} +11 -3
  27. package/dist/{chunk-75QU5C3I.js → chunk-XZ47PWVD.js} +1 -1
  28. package/dist/generated/index.d.ts +1 -0
  29. package/dist/generated/index.js +44 -43
  30. package/dist/index.js +44 -43
  31. package/dist/styles.css +422 -3
  32. package/package.json +3 -3
  33. package/dist/{Editor-JCAYNXQX.js → Editor-SBHTMAEK.js} +1 -1
  34. package/dist/{chunk-WLL3PFI3.js → chunk-2DZV4PHK.js} +1 -1
  35. package/dist/{chunk-S2ZUAI6C.js → chunk-MDD6K5M4.js} +1 -1
  36. /package/dist/{chunk-33NGH63Z.js → chunk-QV3WVNRA.js} +0 -0
@@ -0,0 +1,388 @@
1
+ /*
2
+ * A layered map on a canvas (GraphCanvas.tsx).
3
+ *
4
+ * Every card is one size, set here in rem and spacing tokens, so the layout
5
+ * reads it once from a probe rather than measuring each card. Colour carries
6
+ * state only: a dot for attention, the accent for the selection, a dashed
7
+ * edge for an unconfirmed entry, and neutral ink for everything else.
8
+ */
9
+
10
+ .crewlet-graph-canvas {
11
+ --crewlet-graph-canvas-card-width: 13.5rem;
12
+ --crewlet-graph-canvas-card-height: 3.25rem;
13
+ display: flex;
14
+ flex-direction: column;
15
+ height: 100%;
16
+ min-height: 0;
17
+ }
18
+
19
+ .crewlet-graph-canvas > .crewlet-canvas {
20
+ flex: 1;
21
+ }
22
+
23
+ .crewlet-graph-canvas__ground,
24
+ .crewlet-graph-canvas__edges,
25
+ .crewlet-graph-canvas__shapes,
26
+ .crewlet-graph-canvas__card,
27
+ .crewlet-graph-canvas__head,
28
+ .crewlet-graph-canvas__empty,
29
+ .crewlet-graph-canvas__empty-probe,
30
+ .crewlet-graph-canvas__lane-head,
31
+ .crewlet-graph-canvas__band-title,
32
+ .crewlet-graph-canvas__probe {
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ }
37
+
38
+ .crewlet-graph-canvas__ground,
39
+ .crewlet-graph-canvas__edges,
40
+ .crewlet-graph-canvas__shapes {
41
+ overflow: visible;
42
+ pointer-events: none;
43
+ }
44
+
45
+ /* ── the probes the layout reads its sizes from ────────────────────────── */
46
+
47
+ .crewlet-graph-canvas__probe,
48
+ .crewlet-graph-canvas__empty-probe {
49
+ visibility: hidden;
50
+ pointer-events: none;
51
+ }
52
+
53
+ /* The channel between columns, and the gap between rows. */
54
+ .crewlet-graph-canvas__gap {
55
+ width: var(--spacing-10);
56
+ height: var(--spacing-5);
57
+ }
58
+
59
+ /* A lane's padding past its cards, and the room round the map and between bands. */
60
+ .crewlet-graph-canvas__pad {
61
+ width: var(--spacing-3);
62
+ height: var(--spacing-6);
63
+ }
64
+
65
+ .crewlet-graph-canvas__empty-probe {
66
+ width: var(--crewlet-graph-canvas-card-width);
67
+ }
68
+
69
+ /* ── lanes and bands ──────────────────────────────────────────────────────── */
70
+
71
+ /* A lane is a quiet panel under its cards: the column a reader follows down. */
72
+ .crewlet-graph-canvas__lane {
73
+ fill: var(--color-surface-subtle);
74
+ rx: var(--radius-xl);
75
+ }
76
+
77
+ .crewlet-graph-canvas__lane-head {
78
+ box-sizing: border-box;
79
+ display: flex;
80
+ align-items: center;
81
+ gap: var(--spacing-2);
82
+ padding: var(--spacing-3) var(--spacing-1) var(--spacing-2);
83
+ font-size: var(--font-size-xs);
84
+ line-height: var(--font-line-height-snug);
85
+ white-space: nowrap;
86
+ pointer-events: none;
87
+ }
88
+
89
+ .crewlet-graph-canvas__lane-label {
90
+ min-width: 0;
91
+ overflow: hidden;
92
+ text-overflow: ellipsis;
93
+ font-weight: var(--font-weight-semibold);
94
+ color: var(--color-text-secondary);
95
+ }
96
+
97
+ .crewlet-graph-canvas__lane-count {
98
+ color: var(--color-text-tertiary);
99
+ font-variant-numeric: tabular-nums;
100
+ }
101
+
102
+ .crewlet-graph-canvas__band-title {
103
+ box-sizing: border-box;
104
+ display: flex;
105
+ align-items: flex-end;
106
+ padding: var(--spacing-4) var(--spacing-1) var(--spacing-1);
107
+ font-size: var(--font-size-sm);
108
+ font-weight: var(--font-weight-semibold);
109
+ line-height: var(--font-line-height-snug);
110
+ color: var(--color-text-primary);
111
+ white-space: nowrap;
112
+ pointer-events: none;
113
+ }
114
+
115
+ /* ── groups ──────────────────────────────────────────────────────────────── */
116
+
117
+ /* A dashed box: a card's own edge is solid, and a grouping is not a thing. */
118
+ .crewlet-graph-canvas__group {
119
+ fill: var(--color-surface-background);
120
+ stroke: var(--color-border-strong);
121
+ stroke-dasharray: 4 3;
122
+ rx: var(--radius-lg);
123
+ }
124
+
125
+ .crewlet-graph-canvas__head {
126
+ box-sizing: border-box;
127
+ display: flex;
128
+ align-items: center;
129
+ gap: var(--spacing-2);
130
+ padding: 0 var(--spacing-2);
131
+ font-size: var(--font-size-xs);
132
+ line-height: var(--font-line-height-snug);
133
+ color: var(--color-text-secondary);
134
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
135
+ cursor: pointer;
136
+ outline: none;
137
+ }
138
+
139
+ .crewlet-graph-canvas__head:hover {
140
+ color: var(--color-text-primary);
141
+ }
142
+
143
+ .crewlet-graph-canvas__head:focus-visible {
144
+ outline: 2px solid var(--color-focus);
145
+ outline-offset: var(--size-focus-ring-inset-offset);
146
+ }
147
+
148
+ .crewlet-graph-canvas__lead {
149
+ display: inline-flex;
150
+ flex: none;
151
+ }
152
+
153
+ .crewlet-graph-canvas__group-label {
154
+ min-width: 0;
155
+ font-weight: var(--font-weight-medium);
156
+ }
157
+
158
+ .crewlet-graph-canvas__group-count {
159
+ color: var(--color-text-tertiary);
160
+ font-variant-numeric: tabular-nums;
161
+ }
162
+
163
+ .crewlet-graph-canvas__chevron {
164
+ flex: none;
165
+ color: var(--color-text-tertiary);
166
+ }
167
+
168
+ /* ── cards ───────────────────────────────────────────────────────────────── */
169
+
170
+ .crewlet-graph-canvas__card {
171
+ box-sizing: border-box;
172
+ width: var(--crewlet-graph-canvas-card-width);
173
+ height: var(--crewlet-graph-canvas-card-height);
174
+ display: flex;
175
+ align-items: center;
176
+ gap: var(--spacing-2);
177
+ padding: 0 var(--spacing-3) 0 var(--spacing-2);
178
+ background: var(--color-surface-elevated);
179
+ border: 1px solid var(--color-border-default);
180
+ border-radius: var(--radius-lg);
181
+ box-shadow: var(--shadow-xs);
182
+ color: var(--color-text-primary);
183
+ cursor: pointer;
184
+ outline: none;
185
+ }
186
+
187
+ .crewlet-graph-canvas__card:hover {
188
+ border-color: var(--color-border-hover);
189
+ }
190
+
191
+ /* The ring is drawn over the card's own edge, never beside it. */
192
+ .crewlet-graph-canvas__card:focus-visible {
193
+ outline: 2px solid var(--color-focus);
194
+ outline-offset: var(--size-focus-ring-inset-offset);
195
+ }
196
+
197
+ /* The selection is where the reader is: the accent, as the card's own edge made heavier. */
198
+ .crewlet-graph-canvas__card[data-selected] {
199
+ border-color: var(--color-brand-accent);
200
+ box-shadow: inset 0 0 0 1px var(--color-brand-accent);
201
+ }
202
+
203
+ /* Not confirmed by anyone the map trusts: the edge is dashed, the same device a grouping uses. */
204
+ .crewlet-graph-canvas__card[data-unconfirmed] {
205
+ border-style: dashed;
206
+ border-color: var(--color-border-strong);
207
+ box-shadow: none;
208
+ }
209
+
210
+ .crewlet-graph-canvas__card[data-unconfirmed][data-selected] {
211
+ border-color: var(--color-brand-accent);
212
+ }
213
+
214
+ /*
215
+ * Pushed back: the card sinks into its lane's own fill, flat and grey, its
216
+ * words in the quiet ink, which still clears its contrast floor; only the
217
+ * glyph, which the name already says, fades.
218
+ */
219
+ .crewlet-graph-canvas__card[data-dimmed] {
220
+ background: var(--color-surface-subtle);
221
+ border-color: var(--color-border-default);
222
+ box-shadow: none;
223
+ color: var(--color-text-tertiary);
224
+ }
225
+
226
+ .crewlet-graph-canvas__card[data-dimmed] .crewlet-graph-canvas__name {
227
+ font-weight: var(--font-weight-regular);
228
+ }
229
+
230
+ .crewlet-graph-canvas__card[data-dimmed] .crewlet-graph-canvas__tile {
231
+ filter: grayscale(1);
232
+ opacity: 0.5;
233
+ }
234
+
235
+ .crewlet-graph-canvas__card[data-dimmed] .crewlet-graph-canvas__dot {
236
+ filter: grayscale(1);
237
+ }
238
+
239
+ .crewlet-graph-canvas__head[data-dimmed] {
240
+ color: var(--color-text-tertiary);
241
+ }
242
+
243
+ .crewlet-graph-canvas__tile {
244
+ flex: none;
245
+ }
246
+
247
+ .crewlet-graph-canvas__text {
248
+ display: flex;
249
+ flex-direction: column;
250
+ min-width: 0;
251
+ flex: 1;
252
+ }
253
+
254
+ .crewlet-graph-canvas__name {
255
+ font-size: var(--font-size-sm);
256
+ font-weight: var(--font-weight-medium);
257
+ line-height: var(--font-line-height-snug);
258
+ }
259
+
260
+ .crewlet-graph-canvas__caption {
261
+ font-size: var(--font-size-xs);
262
+ line-height: var(--font-line-height-snug);
263
+ color: var(--color-text-tertiary);
264
+ }
265
+
266
+ .crewlet-graph-canvas__card[data-dimmed] .crewlet-graph-canvas__caption {
267
+ color: var(--color-text-tertiary);
268
+ }
269
+
270
+ /* The dot stands on the card's top corner, clear of the name. */
271
+ .crewlet-graph-canvas__dot {
272
+ position: absolute;
273
+ top: var(--spacing-2);
274
+ right: var(--spacing-2);
275
+ }
276
+
277
+ .crewlet-graph-canvas__card--group .crewlet-graph-canvas__chevron {
278
+ margin-right: calc(-1 * var(--spacing-1));
279
+ }
280
+
281
+ /* ── empty lanes ────────────────────────────────────────────────────────── */
282
+
283
+ .crewlet-graph-canvas__empty,
284
+ .crewlet-graph-canvas__empty-probe {
285
+ box-sizing: border-box;
286
+ padding: var(--spacing-3);
287
+ font-size: var(--font-size-xs);
288
+ line-height: var(--font-line-height-normal);
289
+ color: var(--color-text-secondary);
290
+ overflow-wrap: anywhere;
291
+ }
292
+
293
+ .crewlet-graph-canvas__empty {
294
+ display: flex;
295
+ flex-direction: column;
296
+ align-items: flex-start;
297
+ gap: var(--spacing-2);
298
+ border: 1px dashed var(--color-border-strong);
299
+ border-radius: var(--radius-lg);
300
+ outline: none;
301
+ }
302
+
303
+ .crewlet-graph-canvas__empty-probe {
304
+ display: flex;
305
+ flex-direction: column;
306
+ gap: var(--spacing-2);
307
+ }
308
+
309
+ .crewlet-graph-canvas__empty:focus-visible {
310
+ outline: 2px solid var(--color-focus);
311
+ outline-offset: var(--size-focus-ring-inset-offset);
312
+ }
313
+
314
+ /* ── edges ───────────────────────────────────────────────────────────────── */
315
+
316
+ /*
317
+ * An edge is the content between cards, so it takes the boundary step the
318
+ * palette holds to 3:1 on the canvas's ground, as a tree's connectors do.
319
+ */
320
+ .crewlet-graph-canvas__edge {
321
+ fill: none;
322
+ stroke: var(--color-border-control);
323
+ stroke-width: 1.5;
324
+ stroke-linecap: round;
325
+ stroke-linejoin: round;
326
+ }
327
+
328
+ .crewlet-graph-canvas__arrow {
329
+ fill: var(--color-border-control);
330
+ stroke: none;
331
+ }
332
+
333
+ .crewlet-graph-canvas__edge[data-state='faint'] {
334
+ stroke: var(--color-border-default);
335
+ }
336
+
337
+ .crewlet-graph-canvas__arrow[data-state='faint'] {
338
+ fill: var(--color-border-default);
339
+ }
340
+
341
+ .crewlet-graph-canvas__edge[data-state='strong'] {
342
+ stroke: var(--color-brand-accent);
343
+ stroke-width: 2;
344
+ }
345
+
346
+ .crewlet-graph-canvas__arrow[data-state='strong'] {
347
+ fill: var(--color-brand-accent);
348
+ }
349
+
350
+ /* ── cards as shapes, zoomed out past reading ─────────────────────────────── */
351
+
352
+ .crewlet-graph-canvas__shapes path {
353
+ stroke-width: 1;
354
+ }
355
+
356
+ .crewlet-graph-canvas__shapes [data-shape='card'] {
357
+ fill: var(--color-surface-elevated);
358
+ stroke: var(--color-border-strong);
359
+ }
360
+
361
+ .crewlet-graph-canvas__shapes [data-shape='faded'] {
362
+ fill: var(--color-surface-background);
363
+ stroke: var(--color-border-default);
364
+ }
365
+
366
+ .crewlet-graph-canvas__shapes [data-shape='dashed'] {
367
+ fill: var(--color-surface-elevated);
368
+ stroke: var(--color-border-strong);
369
+ stroke-dasharray: 4 3;
370
+ }
371
+
372
+ .crewlet-graph-canvas__shapes [data-shape='selected'] {
373
+ fill: var(--color-surface-elevated);
374
+ stroke: var(--color-brand-accent);
375
+ stroke-width: 3;
376
+ }
377
+
378
+ .crewlet-graph-canvas__shapes [data-shape='danger'] {
379
+ fill: var(--color-feedback-danger);
380
+ }
381
+
382
+ .crewlet-graph-canvas__shapes [data-shape='warning'] {
383
+ fill: var(--color-feedback-warning);
384
+ }
385
+
386
+ .crewlet-graph-canvas__shapes [data-shape='info'] {
387
+ fill: var(--color-feedback-info);
388
+ }
@@ -1,8 +1,21 @@
1
1
  import type { ReactNode } from 'react';
2
+ /**
3
+ * How the actor came by the value: `set` it (the default), `seen` it in a
4
+ * source's read, `observed` it while working, or `confirmed` it as a person.
5
+ */
6
+ export type SetByVerb = 'set' | 'seen' | 'observed' | 'confirmed';
7
+ /** The words each verb is drawn with, before the actor. */
8
+ export declare const SET_BY_VERBS: Readonly<Record<SetByVerb, string>>;
2
9
  /** Who last changed a value, and where. */
3
10
  export interface SetBy {
4
- /** Who changed it: a seat, a person, the operator. */
11
+ /** Who changed it: a seat, a person, the operator, an integration. */
5
12
  actor: string;
13
+ /** How the actor came by the value. Unset, the line reads "set by". */
14
+ verb?: SetByVerb | undefined;
15
+ /** A short word drawn after the actor, such as a confidence: "observed by sre · likely". */
16
+ qualifier?: string | undefined;
17
+ /** A mark drawn beside the actor's name, such as a vendor's. Decorative: the name is read. */
18
+ mark?: ReactNode;
6
19
  /** When, already said as a relative time ("2h ago"); the caller formats it. */
7
20
  ago?: string | undefined;
8
21
  /** The page of the turn that changed it. Drawn as "turn" with an outward arrow. */
@@ -28,7 +41,9 @@ export interface SetByLineProps {
28
41
  }
29
42
  /**
30
43
  * Who set a value, in the one wording the whole product uses: "set by ada ·
31
- * 2h ago · turn", the last word a link to the turn that did it.
44
+ * 2h ago · turn", the last word a link to the turn that did it. A value the
45
+ * actor did not set takes its own verb: "seen by Cloudflare", "observed by sre
46
+ * · likely", "confirmed by ada".
32
47
  *
33
48
  * ONE WORDING. A header's fact line and a properties rail beside it state the
34
49
  * same provenance, and phrased two ways on one screen a bare handle under a
@@ -1,3 +1,3 @@
1
1
  import './ObjectHeader.css';
2
- export { FactLine, ObjectHeader, SetByLine } from './ObjectHeader.js';
3
- export type { FactLineProps, ObjectFact, ObjectHeaderProps, ObjectHeaderSize, SetBy, SetByLineProps, } from './ObjectHeader.js';
2
+ export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './ObjectHeader.js';
3
+ export type { FactLineProps, ObjectFact, ObjectHeaderProps, ObjectHeaderSize, SetBy, SetByLineProps, SetByVerb, } from './ObjectHeader.js';
@@ -1,4 +1,4 @@
1
- export { FactLine, ObjectHeader, SetByLine } from '../chunk-KZTR3V2P.js';
1
+ export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-J44ZIWGH.js';
2
2
  import '../chunk-JZI7SIM6.js';
3
3
  import '../chunk-XLMURU75.js';
4
4
  import '../chunk-WSIJDWUG.js';
@@ -252,6 +252,18 @@
252
252
 
253
253
  /* ── the by-line ───────────────────────────────────────────────────────── */
254
254
 
255
+ /* An actor's mark sits on the line's own baseline, at the line's size. */
256
+ .crewlet-set-by__mark {
257
+ display: inline-flex;
258
+ vertical-align: -0.125em;
259
+ margin-right: 0.25em;
260
+ }
261
+
262
+ .crewlet-set-by__mark > svg {
263
+ width: 1em;
264
+ height: 1em;
265
+ }
266
+
255
267
  /* The word and its arrow are one atomic box, so the arrow never takes a line
256
268
  of its own. */
257
269
  .crewlet-set-by__turn {
@@ -1,7 +1,7 @@
1
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-S2ZUAI6C.js';
1
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-MDD6K5M4.js';
2
2
  import '../chunk-X5YI6QLW.js';
3
- import '../chunk-MY374UUD.js';
4
3
  import '../chunk-DEVO45TG.js';
4
+ import '../chunk-MY374UUD.js';
5
5
  import '../chunk-ZOMTCEHR.js';
6
6
  import '../chunk-X4HBZSXA.js';
7
7
  import '../chunk-WFAJYBLX.js';
@@ -1,5 +1,5 @@
1
- export { PropertyList } from '../chunk-65AMIQSW.js';
2
- import '../chunk-KZTR3V2P.js';
1
+ export { PropertyList } from '../chunk-4PEPSGCZ.js';
2
+ import '../chunk-J44ZIWGH.js';
3
3
  import '../chunk-JZI7SIM6.js';
4
4
  import '../chunk-LH4OF7FI.js';
5
5
  import '../chunk-WGLOH33S.js';
@@ -1,4 +1,4 @@
1
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-75QU5C3I.js';
1
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
2
2
  import '../chunk-RK4XPHVG.js';
3
3
  import '../chunk-4ITETIGZ.js';
4
4
  import '../chunk-PQADV6P6.js';
@@ -15,6 +15,9 @@
15
15
  /* A question and its answers read best at about seventy characters a line. */
16
16
  --crewlet-reading-pane-measure: 640px;
17
17
 
18
+ /* EVERY GRID HERE IS ONE minmax(0, 1fr) TRACK, never an implicit `auto`
19
+ one: an auto track is as wide as its widest child's longest unbreakable
20
+ line, so one code line would carry every block beside it past the measure. */
18
21
  display: grid;
19
22
  grid-template-columns: minmax(0, 1fr);
20
23
  gap: calc(var(--spacing-4) + var(--spacing-1) / 2);
@@ -101,6 +104,7 @@
101
104
 
102
105
  .crewlet-reading-pane__lead {
103
106
  display: grid;
107
+ grid-template-columns: minmax(0, 1fr);
104
108
  gap: var(--spacing-2);
105
109
  min-width: 0;
106
110
  font-size: var(--font-size-sm);
@@ -115,6 +119,7 @@
115
119
 
116
120
  .crewlet-reading-pane__quote {
117
121
  display: grid;
122
+ grid-template-columns: minmax(0, 1fr);
118
123
  gap: var(--spacing-2);
119
124
  min-width: 0;
120
125
  margin: 0;
@@ -140,6 +145,7 @@
140
145
 
141
146
  .crewlet-reading-pane__reasoning {
142
147
  display: grid;
148
+ grid-template-columns: minmax(0, 1fr);
143
149
  gap: var(--spacing-1);
144
150
  min-width: 0;
145
151
  padding: var(--spacing-3) calc(var(--spacing-3) + var(--spacing-1) / 2);
@@ -160,6 +166,7 @@
160
166
 
161
167
  .crewlet-reading-pane__reasoning-body {
162
168
  display: grid;
169
+ grid-template-columns: minmax(0, 1fr);
163
170
  gap: var(--spacing-2);
164
171
  min-width: 0;
165
172
  overflow-wrap: anywhere;
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-3RKS3DLF.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-ENYHABQJ.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-KBZO4B33.js';
@@ -1,6 +1,6 @@
1
- export { SetupWizard } from '../chunk-WLL3PFI3.js';
2
- import '../chunk-EHD4CEHK.js';
1
+ export { SetupWizard } from '../chunk-2DZV4PHK.js';
3
2
  import '../chunk-FPDIHEM4.js';
3
+ import '../chunk-EHD4CEHK.js';
4
4
  import '../chunk-QRE6JCHS.js';
5
5
  import '../chunk-D5O64CVE.js';
6
6
  import '../chunk-SK4BIFTG.js';
@@ -28,4 +28,4 @@ export interface StatusLegendProps {
28
28
  * Each status with its dot, its word and a quiet count, as one line that wraps:
29
29
  * the key to a chart's colours, and with `onValueChange` its filter as well.
30
30
  */
31
- export declare function StatusLegend({ label, items, value, onValueChange, countLabel, className }: StatusLegendProps): import("react").JSX.Element;
31
+ export declare function StatusLegend({ label, items, value, onValueChange, countLabel, className, }: StatusLegendProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export { StatusLegend } from '../chunk-5LIWAA7S.js';
1
+ export { StatusLegend } from '../chunk-CXFMNOPV.js';
2
2
  import '../chunk-QRE6JCHS.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -31,6 +31,15 @@
31
31
  white-space: nowrap;
32
32
  }
33
33
 
34
+ /* What a reader sees of an item, hidden from assistive technology, which hears one sentence instead:
35
+ the dot and word, then the count, a step and a half apart on one line. */
36
+ .crewlet-status-legend__face {
37
+ display: inline-flex;
38
+ align-items: center;
39
+ gap: calc(var(--spacing-1) * 1.5);
40
+ min-width: 0;
41
+ }
42
+
34
43
  button.crewlet-status-legend__item {
35
44
  cursor: pointer;
36
45
  transition:
@@ -1,4 +1,4 @@
1
- import { SetByLine } from './chunk-KZTR3V2P.js';
1
+ import { SetByLine } from './chunk-J44ZIWGH.js';
2
2
  import { Link } from './chunk-JZI7SIM6.js';
3
3
  import { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
4
4
  import { EmptyValue } from './chunk-WGLOH33S.js';
@@ -34,7 +34,9 @@ function attributions(items) {
34
34
  close(i - 1);
35
35
  return;
36
36
  }
37
- const next = [line.actor, line.ago, line.turnHref, line.cleared, item.change].join("\0");
37
+ const next = [line.actor, line.verb ?? "set", line.qualifier, line.ago, line.turnHref, line.cleared, item.change].join(
38
+ "\0"
39
+ );
38
40
  if (start >= 0 && next === key) return;
39
41
  close(i - 1);
40
42
  start = i;