@crewlethq/ui 0.167.1 → 0.168.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 (52) hide show
  1. package/README.md +10 -0
  2. package/dist/AppShell/AccountRow.d.ts +10 -1
  3. package/dist/AppShell/index.js +1 -1
  4. package/dist/{AppShell-RPILZZW5.css → AppShell-4BFYBNNQ.css} +24 -0
  5. package/dist/ArrangeFrame/ArrangeFrame.d.ts +2 -1
  6. package/dist/ArrangeFrame/index.js +1 -1
  7. package/dist/{ArrangeFrame-QCQZ5RF6.css → ArrangeFrame-7B6PUS37.css} +4 -2
  8. package/dist/ArtifactCard/index.js +3 -3
  9. package/dist/AttentionList/index.js +2 -2
  10. package/dist/AuthLayout/index.js +2 -2
  11. package/dist/BriefCard/index.js +3 -3
  12. package/dist/Card/index.js +1 -1
  13. package/dist/{Card-EORTFWTB.css → Card-6UEMEFS2.css} +5 -1
  14. package/dist/DataView/index.js +1 -1
  15. package/dist/DeepWorkCard/index.js +3 -3
  16. package/dist/EntityList/index.js +3 -3
  17. package/dist/FolderTile/index.js +2 -2
  18. package/dist/InboxList/InboxList.d.ts +10 -8
  19. package/dist/InboxList/index.js +1 -1
  20. package/dist/{InboxList-NQABW65H.css → InboxList-FLKL5DII.css} +41 -16
  21. package/dist/OpenInAppCard/index.js +3 -3
  22. package/dist/ProposalCard/index.js +3 -3
  23. package/dist/RailList/index.js +2 -2
  24. package/dist/RefusalCard/index.js +3 -3
  25. package/dist/RelatedRow/index.js +2 -2
  26. package/dist/ResultTableCard/index.js +3 -3
  27. package/dist/RichEditor/index.js +1 -1
  28. package/dist/StatusCard/index.js +2 -2
  29. package/dist/{chunk-E7KRB77B.js → chunk-354NVZ6M.js} +1 -1
  30. package/dist/{chunk-LTKAOA6Q.js → chunk-ARIYL6YO.js} +1 -1
  31. package/dist/{chunk-4VJ5UZIK.js → chunk-ESZXGC4P.js} +1 -1
  32. package/dist/{chunk-GI4THYUT.js → chunk-KL3BX2KM.js} +1 -1
  33. package/dist/{chunk-3FPDM4V7.js → chunk-LPOUIGTP.js} +1 -1
  34. package/dist/{chunk-GCUJCO3W.js → chunk-OU6O6CFN.js} +1 -1
  35. package/dist/{chunk-DH6SZD6T.js → chunk-OYTJ4AWU.js} +1 -1
  36. package/dist/{chunk-3GIGAGEG.js → chunk-PGLERBQT.js} +1 -1
  37. package/dist/{chunk-PUPOP3XN.js → chunk-PKPVDGSG.js} +5 -2
  38. package/dist/{chunk-ZPLAR53E.js → chunk-ROMQFKKG.js} +1 -1
  39. package/dist/{chunk-MCYS3HLW.js → chunk-S2YWBTWN.js} +1 -1
  40. package/dist/{chunk-OZNL3WOR.js → chunk-T6HFLCXB.js} +1 -1
  41. package/dist/{chunk-HHYFL2GH.js → chunk-THCLP7TT.js} +1 -1
  42. package/dist/{chunk-YZMRHLLL.js → chunk-VEIJ5IOK.js} +2 -2
  43. package/dist/{chunk-2LVAA4JM.js → chunk-VLDDTLZ3.js} +1 -1
  44. package/dist/{chunk-4BBS3XU2.js → chunk-VYYBR3X2.js} +1 -1
  45. package/dist/{chunk-DSKPTCYM.js → chunk-W3BVLXE6.js} +1 -1
  46. package/dist/{chunk-MKKUM4AR.js → chunk-Y2WNFKMF.js} +1 -1
  47. package/dist/{chunk-MXXTQIHB.js → chunk-YMNV6GHW.js} +34 -8
  48. package/dist/generated/index.js +50 -50
  49. package/dist/index.js +50 -50
  50. package/dist/styles.css +78 -23
  51. package/package.json +3 -3
  52. package/dist/{Editor-RDC4N2UZ.js → Editor-CL2RZDZG.js} +1 -1
package/README.md CHANGED
@@ -208,6 +208,16 @@ places:
208
208
  - A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
209
209
  when the content beneath it moves, and every panel anchored inside follows.
210
210
 
211
+ ## Changes in 0.168.0
212
+
213
+ ### A row's quick actions cover none of its words
214
+
215
+ **An `InboxRow`'s tray keeps clear of the words under the name.** The tray is taller than the name's line, so its foot covered the end of the line under it: the message's first line, or at the default density a wrapped name's second line. The row now measures the tray's height onto itself (`--crewlet-inbox-row-tray-block`, beside `--crewlet-inbox-row-tray`) and keeps that much room: the head's track is at least as tall as the tray reaches past the row's top pad, and the room on the name's line extends to the lines the head shows beside the tray, so the words under the name start below the tray's foot at every width. The tray stands in the row's top end corner, inside the row and clear of the control's focus ring. A row with actions is 6px taller at chat density for it, and up to 15px at the default density when its name fits one line. The chat density's internal `--crewlet-inbox-row-actions-top` is gone.
216
+
217
+ ### The app's build under the account row
218
+
219
+ **`AccountRow` takes `build`**: the build the app runs, in words ("Crewlet v1.4.0"), drawn as the rail foot's last line, in the detail's quiet ink and step, from the badge's edge, cut at its end rather than wrapped, its controls staying on the row's line; a string is its own title, so a pointer reads a cut version whole. In the compact rail it is a line of the face's tooltip. Story: `AccountRow` With Build, With Long Build.
220
+
211
221
  ## Changes in 0.167.0
212
222
 
213
223
  ### A conversation on a wide page reads in one column
@@ -41,6 +41,12 @@ export interface AccountRowProps {
41
41
  linkSuffix?: string | undefined;
42
42
  /** Controls at the row's end: a theme toggle, the trigger of a preferences panel. */
43
43
  actions?: ReactNode;
44
+ /**
45
+ * The build the app runs ("Crewlet v1.4.0"), in words: a quiet line under
46
+ * the row, cut at its end rather than wrapped, a string its own title for
47
+ * the pointer. Compact, it is a line of the face's tooltip.
48
+ */
49
+ build?: ReactNode;
44
50
  /**
45
51
  * The reader's face alone, for the compact rail's foot: the badge is the
46
52
  * link (or the menu's button), the name and the detail are its accessible
@@ -73,6 +79,9 @@ export interface AccountRowProps {
73
79
  * account is one item of it. The menu says only what the row does not, in its
74
80
  * header (their access), above the actions.
75
81
  *
82
+ * THE BUILD IS THE FOOT'S LAST LINE (`build`): the version a reader names
83
+ * when they ask for help or an update, quiet and secondary, under the row.
84
+ *
76
85
  * IN THE COMPACT RAIL THE ROW IS THE READER'S FACE (`compact`): the same link
77
86
  * or menu button, holding the badge alone, named by the name and the detail
78
87
  * as the full row is, and showing them in a tooltip, since a face says who
@@ -80,4 +89,4 @@ export interface AccountRowProps {
80
89
  * column on the line the tiles above it are centred on, and at their height
81
90
  * when it is handed at the small step.
82
91
  */
83
- export declare function AccountRow({ avatar, name, detail, href, menu, current, title, linkSuffix, actions, compact: compactProp, className, }: AccountRowProps): import("react").JSX.Element;
92
+ export declare function AccountRow({ avatar, name, detail, href, menu, current, title, linkSuffix, actions, build, compact: compactProp, className, }: AccountRowProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-MXXTQIHB.js';
1
+ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-YMNV6GHW.js';
2
2
  import '../chunk-SNKQNAJI.js';
3
3
  import '../chunk-JLOESTT2.js';
4
4
  import '../chunk-EUET4PNC.js';
@@ -1183,6 +1183,30 @@ button.crewlet-account-row__who:focus-visible {
1183
1183
  gap: var(--spacing-1);
1184
1184
  }
1185
1185
 
1186
+ /* The build: a line of its own under the row, from the badge's edge, in the
1187
+ detail's quiet ink and step, cut rather than wrapped. */
1188
+ .crewlet-account-row--build {
1189
+ flex-wrap: wrap;
1190
+ }
1191
+
1192
+ /* The row's own line breaks as it did unwrapped: the name gives way to the controls. */
1193
+ .crewlet-account-row--build > :is(.crewlet-account-row__who, .crewlet-menu-anchor) {
1194
+ flex-basis: 0;
1195
+ }
1196
+
1197
+ .crewlet-account-row__build {
1198
+ flex: 1 0 100%;
1199
+ min-width: 0;
1200
+ margin: 0;
1201
+ padding-inline: calc(var(--spacing-1) + var(--spacing-1) / 2);
1202
+ overflow: hidden;
1203
+ font-size: var(--font-size-2xs);
1204
+ line-height: var(--font-line-height-snug);
1205
+ color: var(--color-text-tertiary);
1206
+ text-overflow: ellipsis;
1207
+ white-space: nowrap;
1208
+ }
1209
+
1186
1210
  /*
1187
1211
  * The compact account: the reader's face alone, centred in the compact foot,
1188
1212
  * with the row's link and menu rules and no pad, so the box is the face.
@@ -77,6 +77,7 @@ export interface ArrangeFrameProps extends Omit<HTMLAttributes<HTMLDivElement>,
77
77
  * carries no grip. A container (a group) is moved the same way, by its header
78
78
  * or its edge, except from a field, where a press types or selects.
79
79
  *
80
- * A FIXED HEIGHT SCROLLS ITS CONTENT rather than cutting it off.
80
+ * A FIXED HEIGHT SCROLLS ITS CONTENT rather than cutting it off, and hands
81
+ * the wheel to the page at its ends.
81
82
  */
82
83
  export declare const ArrangeFrame: import("react").ForwardRefExoticComponent<ArrangeFrameProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- export { ArrangeFrame, useGridResize } from '../chunk-DH6SZD6T.js';
1
+ export { ArrangeFrame, useGridResize } from '../chunk-OYTJ4AWU.js';
2
2
  import '../chunk-XHTQ4X4P.js';
3
3
  import '../chunk-TDFLCUBE.js';
4
4
  import '../chunk-KIPOJKHG.js';
@@ -32,10 +32,12 @@
32
32
  min-height: 0;
33
33
  }
34
34
 
35
- /* A height of the reader's: the content scrolls inside it. */
35
+ /* A height of the reader's: the content scrolls inside it, and the wheel
36
+ passes to the page at its ends (vertical `contain` held it even over a block
37
+ whose content fits). Sideways it stays, so a swipe never turns the page back. */
36
38
  .crewlet-arrange-frame.is-fixed-height .crewlet-arrange-frame__content > * {
37
39
  overflow: auto;
38
- overscroll-behavior: contain;
40
+ overscroll-behavior-x: contain;
39
41
  }
40
42
 
41
43
  /* ---- Editing ---------------------------------------------------------- */
@@ -1,15 +1,15 @@
1
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-YZMRHLLL.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-VEIJ5IOK.js';
2
2
  import '../chunk-WFAJYBLX.js';
3
3
  import '../chunk-265IX4YA.js';
4
4
  import '../chunk-GBKBME7Q.js';
5
5
  import '../chunk-WGLOH33S.js';
6
- import '../chunk-E7KRB77B.js';
6
+ import '../chunk-354NVZ6M.js';
7
7
  import '../chunk-AV2DXAEL.js';
8
8
  import '../chunk-475DOAWF.js';
9
9
  import '../chunk-WSIJDWUG.js';
10
10
  import '../chunk-W3A6NBUM.js';
11
- import '../chunk-DOY3KC6I.js';
12
11
  import '../chunk-TGENJXOJ.js';
12
+ import '../chunk-DOY3KC6I.js';
13
13
  export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
14
14
  import '../chunk-JWHXDVN5.js';
15
15
  import '../chunk-YMFFGPFE.js';
@@ -1,6 +1,6 @@
1
- export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-3FPDM4V7.js';
1
+ export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-LPOUIGTP.js';
2
2
  import '../chunk-JH6K5UWI.js';
3
- import '../chunk-E7KRB77B.js';
3
+ import '../chunk-354NVZ6M.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
5
  import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
@@ -1,6 +1,6 @@
1
- export { AuthLayout } from '../chunk-HHYFL2GH.js';
1
+ export { AuthLayout } from '../chunk-THCLP7TT.js';
2
2
  import '../chunk-KXWJJWBD.js';
3
- import '../chunk-E7KRB77B.js';
3
+ import '../chunk-354NVZ6M.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
5
  import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
@@ -1,9 +1,9 @@
1
- export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-MCYS3HLW.js';
1
+ export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-S2YWBTWN.js';
2
2
  import '../chunk-IR3OWPAZ.js';
3
3
  import '../chunk-6C7GQOBV.js';
4
- import '../chunk-3GIGAGEG.js';
4
+ import '../chunk-PGLERBQT.js';
5
5
  import '../chunk-HOIZJFYS.js';
6
- import '../chunk-E7KRB77B.js';
6
+ import '../chunk-354NVZ6M.js';
7
7
  import '../chunk-AV2DXAEL.js';
8
8
  import '../chunk-475DOAWF.js';
9
9
  import '../chunk-WSIJDWUG.js';
@@ -1,4 +1,4 @@
1
- export { Card } from '../chunk-E7KRB77B.js';
1
+ export { Card } from '../chunk-354NVZ6M.js';
2
2
  export { useCardHeaderSlot } from '../chunk-AV2DXAEL.js';
3
3
  import '../chunk-475DOAWF.js';
4
4
  import '../chunk-WSIJDWUG.js';
@@ -118,9 +118,13 @@
118
118
  * makes the header's hairline and a table's own corners follow the radius
119
119
  * instead of crossing it. A chosen card's edge and fill survive the clip
120
120
  * because they are its own border and background.
121
+ *
122
+ * `clip`, not `hidden`: no scroll container, so a sticky head inside sticks
123
+ * to the page and a card held shorter than its content never scrolls itself.
124
+ * To cap a flush card's height, scroll a Body inside it, never the card.
121
125
  */
122
126
  .crewlet-card--flush {
123
- overflow: hidden;
127
+ overflow: clip;
124
128
  }
125
129
 
126
130
  /* ---- The inset scale ---------------------------------------------------- */
@@ -7,8 +7,8 @@ import '../chunk-HHV5WHTT.js';
7
7
  import '../chunk-KW7T23RT.js';
8
8
  import '../chunk-STJ7QBC3.js';
9
9
  import '../chunk-DTIW4CHZ.js';
10
- import '../chunk-EE3DJMSQ.js';
11
10
  import '../chunk-NPEI2QAN.js';
11
+ import '../chunk-EE3DJMSQ.js';
12
12
  import '../chunk-AJFA2XDQ.js';
13
13
  import '../chunk-GBKBME7Q.js';
14
14
  import '../chunk-WGLOH33S.js';
@@ -1,10 +1,10 @@
1
- export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-GI4THYUT.js';
1
+ export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-KL3BX2KM.js';
2
2
  import '../chunk-2MN3RNRM.js';
3
3
  import '../chunk-3XXFU4XP.js';
4
4
  import '../chunk-MXOT2CWL.js';
5
- import '../chunk-3GIGAGEG.js';
5
+ import '../chunk-PGLERBQT.js';
6
6
  import '../chunk-HOIZJFYS.js';
7
- import '../chunk-E7KRB77B.js';
7
+ import '../chunk-354NVZ6M.js';
8
8
  import '../chunk-AV2DXAEL.js';
9
9
  import '../chunk-475DOAWF.js';
10
10
  import '../chunk-WSIJDWUG.js';
@@ -1,7 +1,7 @@
1
- export { EntityList } from '../chunk-2LVAA4JM.js';
2
- import '../chunk-3GIGAGEG.js';
1
+ export { EntityList } from '../chunk-VLDDTLZ3.js';
2
+ import '../chunk-PGLERBQT.js';
3
3
  import '../chunk-HOIZJFYS.js';
4
- import '../chunk-E7KRB77B.js';
4
+ import '../chunk-354NVZ6M.js';
5
5
  import '../chunk-AV2DXAEL.js';
6
6
  import '../chunk-475DOAWF.js';
7
7
  import '../chunk-WSIJDWUG.js';
@@ -1,5 +1,5 @@
1
- export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-4VJ5UZIK.js';
2
- import '../chunk-E7KRB77B.js';
1
+ export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-ESZXGC4P.js';
2
+ import '../chunk-354NVZ6M.js';
3
3
  import '../chunk-AV2DXAEL.js';
4
4
  import '../chunk-475DOAWF.js';
5
5
  import '../chunk-WSIJDWUG.js';
@@ -129,13 +129,14 @@ export interface InboxRowProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'on
129
129
  /** A small glyph before the context, hidden from a screen reader: the kind of row. */
130
130
  contextIcon?: ReactNode;
131
131
  /**
132
- * The row's quick actions (a `MessageActions` tray): shown at the end of
133
- * its first line while the row is hovered or holds focus, with the time
132
+ * The row's quick actions (a `MessageActions` tray): shown in the row's
133
+ * top end corner while the row is hovered or holds focus, with the time
134
134
  * and any status moved aside to stand beside it, never under it. Never a
135
- * reflow: the room the tray takes is kept at the end of the name's line, so
136
- * the words never move. Outside the row's control, so each action is a
137
- * control of its own, reached by Tab from the row; a row that does not
138
- * hold focus keeps its tray out of the tab order.
135
+ * reflow: the room the tray takes is kept at the end of the name's line
136
+ * and below it, so the words never move and none is covered. Outside the
137
+ * row's control, so each action is a control of its own, reached by Tab
138
+ * from the row; a row that does not hold focus keeps its tray out of the
139
+ * tab order.
139
140
  */
140
141
  actions?: ReactNode;
141
142
  /** Drawn after the words in the quiet ink, inside the same three lines: a comment's own text. */
@@ -220,8 +221,9 @@ export interface InboxRowProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'on
220
221
  * nobody says: it is drawn over the control's leading slot from outside it,
221
222
  * while a copy nobody sees or reads holds the slot's place inside it.
222
223
  *
223
- * THE TIME IS NEVER COVERED. A row's quick actions show beside the time,
224
- * which moves aside into room the name's line always keeps for them.
224
+ * NO WORDS ARE COVERED. A row's quick actions show beside the time, which
225
+ * moves aside into room the name's line always keeps for them, and the words
226
+ * under the name start below the tray.
225
227
  *
226
228
  * NOTHING IS CUT AT THE EDGE. The name and its qualifier wrap to two lines
227
229
  * before they stop, the time keeps a column of its own and never wraps, and
@@ -1,4 +1,4 @@
1
- export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-PUPOP3XN.js';
1
+ export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-PKPVDGSG.js';
2
2
  import '../chunk-RK4XPHVG.js';
3
3
  import '../chunk-6C7GQOBV.js';
4
4
  import '../chunk-SNKQNAJI.js';
@@ -319,17 +319,21 @@
319
319
  * nothing and pushed the time past the row's edge.
320
320
  *
321
321
  * THE TIME FLOATS AT THE END OF THE FIRST LINE, so only that line gives up
322
- * room to it and the second runs the row's full width: "replied to a thread
323
- * in #engineering" keeps the room's name, the part of the line most worth
324
- * reading, where a column of its own took the time's width from both lines.
322
+ * room to it and the second runs the row's full width (unless a row's quick
323
+ * actions reach it, below): "replied to a thread in #engineering" keeps the
324
+ * room's name, the part of the line most worth reading, where a column of its
325
+ * own took the time's width from both lines.
325
326
  * The float sits in a block of its own inside the clamp, which is where every
326
327
  * engine lays a float out and still counts the clamped lines.
327
328
  */
329
+ /* How many lines the head shows, read by the clamp and by the room a tray keeps. */
328
330
  .crewlet-inbox-row__head {
331
+ --crewlet-inbox-row-head-lines: 2;
332
+
329
333
  display: -webkit-box;
330
334
  -webkit-box-orient: vertical;
331
- -webkit-line-clamp: 2;
332
- line-clamp: 2;
335
+ -webkit-line-clamp: var(--crewlet-inbox-row-head-lines);
336
+ line-clamp: var(--crewlet-inbox-row-head-lines);
333
337
  min-width: 0;
334
338
  overflow: hidden;
335
339
  overflow-wrap: anywhere;
@@ -530,15 +534,19 @@
530
534
  }
531
535
 
532
536
  /*
533
- * THE QUICK ACTIONS STAND BESIDE THE TIME, never over it, and never reflow.
534
- * The tray floats at the end of the first line while the row is hovered or
535
- * holds focus, and the time (with any status) moves aside to stand before
536
- * it. The room it moves into is kept at the end of the name's line all the
537
- * time, in the float's place (`--crewlet-inbox-row-room`: the tray's width,
537
+ * THE QUICK ACTIONS STAND BESIDE THE TIME, never over it or any words, and
538
+ * never reflow. The tray stands in the row's top end corner while the row is
539
+ * hovered or holds focus, and the time (with any status) moves aside to stand
540
+ * before it. The room it moves into is kept at the end of the name's line all
541
+ * the time, in the float's place (`--crewlet-inbox-row-room`: the tray's width,
538
542
  * which the row measures into `--crewlet-inbox-row-tray`, from where the
539
543
  * tray stands to where the words end, and a gap), so the name never wraps
540
544
  * differently under the pointer and the row keeps its height.
541
545
  *
546
+ * THE ROOM IS AS TALL AS THE TRAY (`--crewlet-inbox-row-reach`): the head's
547
+ * track and the lines its float keeps reach the tray's foot, so the words under
548
+ * the name start below it. The tray stands clear of the inset focus ring.
549
+ *
542
550
  * HIDDEN, NOT ONLY CLEAR, while the row is neither hovered nor focused: a
543
551
  * tray drawn at zero opacity was a Tab stop on every row, two stops a row in
544
552
  * a list that is meant to be one. The row that holds focus shows its tray,
@@ -551,13 +559,21 @@
551
559
  0px,
552
560
  var(--crewlet-inbox-row-tray, 0px) + var(--crewlet-inbox-row-tray-end) + var(--spacing-2) - var(--crewlet-inbox-row-words-end)
553
561
  );
562
+ /* The control's top pad (`.crewlet-inbox-row__control`, kept with it). */
563
+ --crewlet-inbox-row-pad: calc(var(--spacing-2) + var(--spacing-1) / 2);
564
+ --crewlet-inbox-row-tray-top: calc(-1 * var(--size-focus-ring-inset-offset));
565
+ /* Before the row has measured its tray, the kit's message tray's height. */
566
+ --crewlet-inbox-row-reach: max(
567
+ 0px,
568
+ var(--crewlet-inbox-row-tray-top) + var(--crewlet-inbox-row-tray-block, var(--crewlet-chat-toolbar, 0px)) - var(--crewlet-inbox-row-pad)
569
+ );
554
570
 
555
571
  position: relative;
556
572
  }
557
573
 
558
574
  .crewlet-inbox-row__actions {
559
575
  position: absolute;
560
- top: var(--crewlet-inbox-row-actions-top, 0px);
576
+ top: var(--crewlet-inbox-row-tray-top, 0px);
561
577
  inset-inline-end: var(--crewlet-inbox-row-tray-end, var(--spacing-2));
562
578
  z-index: 1;
563
579
  opacity: 0;
@@ -573,7 +589,17 @@
573
589
  pointer-events: auto;
574
590
  }
575
591
 
592
+ .crewlet-inbox-row--actions .crewlet-inbox-row__main {
593
+ grid-template-rows: minmax(var(--crewlet-inbox-row-reach), auto);
594
+ }
595
+
596
+ /* At its own height, so the clamp still cuts at its last line. */
597
+ .crewlet-inbox-row--actions .crewlet-inbox-row__head {
598
+ align-self: start;
599
+ }
600
+
576
601
  .crewlet-inbox-row--actions .crewlet-inbox-row__head-end--place {
602
+ min-height: min(var(--crewlet-inbox-row-reach), var(--crewlet-inbox-row-head-lines) * 1lh);
577
603
  padding-inline-end: var(--crewlet-inbox-row-room);
578
604
  }
579
605
 
@@ -627,9 +653,9 @@
627
653
 
628
654
  .crewlet-inbox-list--chat .crewlet-inbox-row {
629
655
  border-bottom: 1px solid var(--color-border-default);
630
- /* The tray sits on the name's line: its middle on the line's middle. */
631
- --crewlet-inbox-row-actions-top: calc(var(--spacing-4) + var(--crewlet-chat-line) * var(--crewlet-chat-text) / 2 - var(--crewlet-chat-toolbar) / 2);
632
- /* It stands a step in from the row's end, where the words end at the side inset. */
656
+ /* Its control's top pad (below, kept with it), and a tray a step in from
657
+ the row's end, where the words end at the side inset. */
658
+ --crewlet-inbox-row-pad: var(--spacing-4);
633
659
  --crewlet-inbox-row-tray-end: var(--spacing-3);
634
660
  --crewlet-inbox-row-words-end: var(--crewlet-chat-pad-x);
635
661
  }
@@ -664,8 +690,7 @@
664
690
  }
665
691
 
666
692
  .crewlet-inbox-list--chat .crewlet-inbox-row__head {
667
- -webkit-line-clamp: 1;
668
- line-clamp: 1;
693
+ --crewlet-inbox-row-head-lines: 1;
669
694
  }
670
695
 
671
696
  .crewlet-inbox-list--chat .crewlet-inbox-row__meta {
@@ -1,11 +1,11 @@
1
- export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-4BBS3XU2.js';
1
+ export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-VYYBR3X2.js';
2
2
  import '../chunk-KOJPDCGQ.js';
3
3
  import '../chunk-VRVNLJUA.js';
4
4
  import '../chunk-3XXFU4XP.js';
5
- import '../chunk-3GIGAGEG.js';
5
+ import '../chunk-PGLERBQT.js';
6
6
  import '../chunk-KMTOGF6T.js';
7
7
  import '../chunk-HOIZJFYS.js';
8
- import '../chunk-E7KRB77B.js';
8
+ import '../chunk-354NVZ6M.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
10
  import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
@@ -1,4 +1,4 @@
1
- export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-GCUJCO3W.js';
1
+ export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OU6O6CFN.js';
2
2
  import '../chunk-DXC4K33F.js';
3
3
  import '../chunk-657WR3MX.js';
4
4
  import '../chunk-3XXFU4XP.js';
@@ -6,12 +6,12 @@ import '../chunk-ZJGGXYFS.js';
6
6
  import '../chunk-KW7T23RT.js';
7
7
  import '../chunk-5D7RMXM2.js';
8
8
  import '../chunk-7XUP32RY.js';
9
- import '../chunk-3GIGAGEG.js';
9
+ import '../chunk-PGLERBQT.js';
10
10
  import '../chunk-I4NRQIRF.js';
11
11
  import '../chunk-HOIZJFYS.js';
12
12
  import '../chunk-GBKBME7Q.js';
13
13
  import '../chunk-WGLOH33S.js';
14
- import '../chunk-E7KRB77B.js';
14
+ import '../chunk-354NVZ6M.js';
15
15
  import '../chunk-AV2DXAEL.js';
16
16
  import '../chunk-475DOAWF.js';
17
17
  import '../chunk-WSIJDWUG.js';
@@ -1,11 +1,11 @@
1
- export { RAIL_LIST_LABELS, RailList } from '../chunk-LTKAOA6Q.js';
1
+ export { RAIL_LIST_LABELS, RailList } from '../chunk-ARIYL6YO.js';
2
2
  import '../chunk-R2R7IKQ6.js';
3
3
  import '../chunk-657WR3MX.js';
4
4
  import '../chunk-6KWNXIDE.js';
5
5
  import '../chunk-KW7T23RT.js';
6
6
  import '../chunk-TODOBUXO.js';
7
7
  import '../chunk-HBDA76EZ.js';
8
- import '../chunk-E7KRB77B.js';
8
+ import '../chunk-354NVZ6M.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
10
  import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
@@ -1,7 +1,7 @@
1
- export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-MKKUM4AR.js';
2
- import '../chunk-3GIGAGEG.js';
1
+ export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-Y2WNFKMF.js';
2
+ import '../chunk-PGLERBQT.js';
3
3
  import '../chunk-HOIZJFYS.js';
4
- import '../chunk-E7KRB77B.js';
4
+ import '../chunk-354NVZ6M.js';
5
5
  import '../chunk-AV2DXAEL.js';
6
6
  import '../chunk-475DOAWF.js';
7
7
  import '../chunk-WSIJDWUG.js';
@@ -1,6 +1,6 @@
1
- export { RelatedRow } from '../chunk-ZPLAR53E.js';
1
+ export { RelatedRow } from '../chunk-ROMQFKKG.js';
2
2
  import '../chunk-ZAC7SKUN.js';
3
- import '../chunk-E7KRB77B.js';
3
+ import '../chunk-354NVZ6M.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
5
  import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
@@ -1,11 +1,11 @@
1
- export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-DSKPTCYM.js';
1
+ export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-W3BVLXE6.js';
2
2
  import '../chunk-YGN4SBNP.js';
3
3
  import '../chunk-XJOLNBEI.js';
4
4
  import '../chunk-YNRKVY7X.js';
5
5
  import '../chunk-DTIW4CHZ.js';
6
- import '../chunk-3GIGAGEG.js';
6
+ import '../chunk-PGLERBQT.js';
7
7
  import '../chunk-HOIZJFYS.js';
8
- import '../chunk-E7KRB77B.js';
8
+ import '../chunk-354NVZ6M.js';
9
9
  import '../chunk-AV2DXAEL.js';
10
10
  import '../chunk-475DOAWF.js';
11
11
  import '../chunk-WSIJDWUG.js';
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-OZNL3WOR.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-T6HFLCXB.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-DGXHQMNP.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-I4NRQIRF.js';
@@ -1,6 +1,6 @@
1
- export { StatusCard } from '../chunk-3GIGAGEG.js';
1
+ export { StatusCard } from '../chunk-PGLERBQT.js';
2
2
  import '../chunk-HOIZJFYS.js';
3
- import '../chunk-E7KRB77B.js';
3
+ import '../chunk-354NVZ6M.js';
4
4
  import '../chunk-AV2DXAEL.js';
5
5
  import '../chunk-475DOAWF.js';
6
6
  import '../chunk-WSIJDWUG.js';
@@ -3,7 +3,7 @@ import { Text } from './chunk-475DOAWF.js';
3
3
  import { Count } from './chunk-Y5CMDLQM.js';
4
4
  import { useHeadingLevel, nextHeadingLevel, HeadingLevelProvider, headingTag } from './chunk-PQADV6P6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './Card-EORTFWTB.css';
6
+ import './Card-6UEMEFS2.css';
7
7
  import { createContext, useId, useState, isValidElement, useRef, useCallback, useMemo, Children, cloneElement, useContext, useLayoutEffect, Fragment } from 'react';
8
8
  import { jsx, jsxs } from 'react/jsx-runtime';
9
9
 
@@ -1,6 +1,6 @@
1
1
  import { SidebarNav, NavItem } from './chunk-R2R7IKQ6.js';
2
2
  import { Select } from './chunk-657WR3MX.js';
3
- import { Card } from './chunk-E7KRB77B.js';
3
+ import { Card } from './chunk-354NVZ6M.js';
4
4
  import { Text } from './chunk-475DOAWF.js';
5
5
  import './RailList-PXWNLVOJ.css';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { Card } from './chunk-E7KRB77B.js';
1
+ import { Card } from './chunk-354NVZ6M.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './FolderTile-NM7CRTVH.css';
@@ -1,7 +1,7 @@
1
1
  import { StepList } from './chunk-2MN3RNRM.js';
2
2
  import { ReceiptStrip } from './chunk-3XXFU4XP.js';
3
3
  import { Meter } from './chunk-MXOT2CWL.js';
4
- import { StatusCard } from './chunk-3GIGAGEG.js';
4
+ import { StatusCard } from './chunk-PGLERBQT.js';
5
5
  import { Disclosure } from './chunk-D5O64CVE.js';
6
6
  import { Spinner } from './chunk-XSPCITPN.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { NOTICE_LIST_LABELS, NoticeLineView } from './chunk-JH6K5UWI.js';
2
- import { Card } from './chunk-E7KRB77B.js';
2
+ import { Card } from './chunk-354NVZ6M.js';
3
3
  import { Button } from './chunk-34K3XN47.js';
4
4
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,7 +1,7 @@
1
1
  import { ValueField } from './chunk-DXC4K33F.js';
2
2
  import { RefusalStrip, ReceiptStrip } from './chunk-3XXFU4XP.js';
3
3
  import { ChangeList } from './chunk-5D7RMXM2.js';
4
- import { StatusCard } from './chunk-3GIGAGEG.js';
4
+ import { StatusCard } from './chunk-PGLERBQT.js';
5
5
  import { Callout } from './chunk-I4NRQIRF.js';
6
6
  import { toInstant, currentNow, formatUntil, useNow, formatExact, toISO } from './chunk-GBKBME7Q.js';
7
7
  import { Checkbox } from './chunk-TGENJXOJ.js';
@@ -1,7 +1,7 @@
1
1
  import { IconButton } from './chunk-XHTQ4X4P.js';
2
2
  import { announce } from './chunk-WGMKERCR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
- import './ArrangeFrame-QCQZ5RF6.css';
4
+ import './ArrangeFrame-7B6PUS37.css';
5
5
  import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
6
6
  import { TrashGlyph } from '@crewlethq/icons/glyphs';
7
7
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { Tag } from './chunk-HOIZJFYS.js';
2
- import { Card } from './chunk-E7KRB77B.js';
2
+ import { Card } from './chunk-354NVZ6M.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './StatusCard-72STCSWY.css';
@@ -5,7 +5,7 @@ import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './ChatScale-LGESYXCO.css';
8
- import './InboxList-NQABW65H.css';
8
+ import './InboxList-FLKL5DII.css';
9
9
  import { createContext, useRef, useCallback, useLayoutEffect, useEffect, useContext, useId, useState, cloneElement, Children, isValidElement } from 'react';
10
10
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
11
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -358,7 +358,10 @@ function InboxRow({
358
358
  const row = self.current;
359
359
  const box = tray.current;
360
360
  if (!hasActions || !row || !box) return;
361
- const measure = () => row.style.setProperty("--crewlet-inbox-row-tray", `${box.offsetWidth}px`);
361
+ const measure = () => {
362
+ row.style.setProperty("--crewlet-inbox-row-tray", `${box.offsetWidth}px`);
363
+ row.style.setProperty("--crewlet-inbox-row-tray-block", `${box.offsetHeight}px`);
364
+ };
362
365
  measure();
363
366
  if (typeof ResizeObserver === "undefined") return;
364
367
  const observer = new ResizeObserver(measure);
@@ -1,5 +1,5 @@
1
1
  import { Inline, Stack, Spacer } from './chunk-ZAC7SKUN.js';
2
- import { Card } from './chunk-E7KRB77B.js';
2
+ import { Card } from './chunk-354NVZ6M.js';
3
3
  import { Text } from './chunk-475DOAWF.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './RelatedRow-IZ22XCLP.css';
@@ -1,6 +1,6 @@
1
1
  import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
- import { StatusCard } from './chunk-3GIGAGEG.js';
3
+ import { StatusCard } from './chunk-PGLERBQT.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
5
  import { Button } from './chunk-34K3XN47.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';