@crewlethq/ui 0.127.0 → 0.128.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 (99) hide show
  1. package/dist/ActivityLine/index.js +3 -3
  2. package/dist/AgentHandoffPanel/index.js +5 -5
  3. package/dist/AppShell/index.js +3 -3
  4. package/dist/ArrangeList/index.js +2 -2
  5. package/dist/ArtifactBar/index.js +1 -1
  6. package/dist/ArtifactCard/index.js +4 -4
  7. package/dist/AuthLayout/index.js +1 -1
  8. package/dist/Avatar/index.js +1 -1
  9. package/dist/{Avatar-CRSLRUVT.css → Avatar-RHFI55UZ.css} +14 -0
  10. package/dist/{AvatarStack-GNEJHEU6.css → AvatarStack-UNBXFHTZ.css} +14 -1
  11. package/dist/BriefCard/index.js +1 -1
  12. package/dist/ChatThread/index.js +3 -3
  13. package/dist/Clamp/Clamp.d.ts +50 -0
  14. package/dist/Clamp/index.d.ts +3 -0
  15. package/dist/Clamp/index.js +12 -0
  16. package/dist/Clamp-Q5WKCGWY.css +60 -0
  17. package/dist/CommentThread/index.js +7 -7
  18. package/dist/Composer/index.js +4 -4
  19. package/dist/DataGrid/index.js +4 -4
  20. package/dist/DataTable/index.js +2 -2
  21. package/dist/DataView/index.js +3 -3
  22. package/dist/DatasetSource/index.js +1 -1
  23. package/dist/DeepWorkCard/index.js +1 -1
  24. package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +37 -24
  25. package/dist/DeliveryReceipt/index.js +1 -2
  26. package/dist/{DeliveryReceipt-G55ILD6O.css → DeliveryReceipt-BILVVNTO.css} +11 -14
  27. package/dist/DocTabsEditor/index.js +4 -4
  28. package/dist/DockColumn/index.js +1 -1
  29. package/dist/EditingStatus/index.js +2 -2
  30. package/dist/EntityChip/index.js +1 -1
  31. package/dist/EntityList/index.js +1 -1
  32. package/dist/GraphCanvas/index.js +2 -2
  33. package/dist/ImageUpload/index.js +1 -1
  34. package/dist/InlineEditor/index.js +3 -3
  35. package/dist/ListInput/index.js +2 -2
  36. package/dist/OpenInAppCard/index.js +1 -1
  37. package/dist/OrgLabel/index.js +1 -1
  38. package/dist/OrgNode/index.js +1 -1
  39. package/dist/OrgTable/index.js +8 -8
  40. package/dist/PeopleRail/index.js +1 -1
  41. package/dist/PresenceStack/index.js +1 -1
  42. package/dist/Principal/index.js +1 -1
  43. package/dist/PrincipalPicker/index.js +1 -1
  44. package/dist/ProposalCard/index.js +1 -1
  45. package/dist/RailList/index.js +3 -3
  46. package/dist/RefusalCard/index.js +1 -1
  47. package/dist/ResultTableCard/index.js +1 -1
  48. package/dist/SectionFrame/index.js +3 -3
  49. package/dist/SendKeys/index.js +2 -2
  50. package/dist/SetupWizard/index.js +1 -1
  51. package/dist/ShareDialog/index.js +4 -4
  52. package/dist/SheetGrid/index.js +1 -1
  53. package/dist/SidebarNav/index.js +2 -2
  54. package/dist/SlideFilmstrip/index.js +4 -4
  55. package/dist/StatusCard/index.js +1 -1
  56. package/dist/Switcher/index.js +3 -3
  57. package/dist/TableCells/index.js +2 -2
  58. package/dist/ThreadSummary/ThreadSummary.d.ts +24 -16
  59. package/dist/ThreadSummary/index.js +2 -2
  60. package/dist/{ThreadSummary-2AFEU6NH.css → ThreadSummary-3AODTHAM.css} +44 -35
  61. package/dist/TreeCanvas/index.js +2 -2
  62. package/dist/TreeGrid/index.js +5 -5
  63. package/dist/VersionTimeline/index.js +1 -1
  64. package/dist/WorkingLine/index.js +2 -2
  65. package/dist/{chunk-XUFVRAEB.js → chunk-26TNM64L.js} +2 -2
  66. package/dist/{chunk-YNREHSBZ.js → chunk-66TVD3RU.js} +1 -1
  67. package/dist/{chunk-XWEHTYVM.js → chunk-7GGX7TDB.js} +1 -1
  68. package/dist/{chunk-5SMYKL3D.js → chunk-ARZGEHWE.js} +2 -2
  69. package/dist/{chunk-NZFYX5UF.js → chunk-AVH6XN2O.js} +1 -1
  70. package/dist/{chunk-U3VDJ7QJ.js → chunk-BZVQ7KTX.js} +1 -1
  71. package/dist/{chunk-BG4GI5W3.js → chunk-FNJCCVQX.js} +1 -1
  72. package/dist/chunk-GTNXDLYH.js +146 -0
  73. package/dist/chunk-IZGB6SQE.js +89 -0
  74. package/dist/{chunk-EFY7R766.js → chunk-LPP2PMKP.js} +1 -1
  75. package/dist/{chunk-E32PP25Z.js → chunk-NB2QYDYA.js} +1 -1
  76. package/dist/{chunk-SFO4KY65.js → chunk-OYKQVTJB.js} +1 -1
  77. package/dist/{chunk-UA7FQCD7.js → chunk-PAK2FUDN.js} +3 -3
  78. package/dist/{chunk-I5HJ6Y6E.js → chunk-U4HA6LRQ.js} +8 -14
  79. package/dist/{chunk-WGJRD3PY.js → chunk-WMZ2MROV.js} +1 -1
  80. package/dist/{chunk-G3WSU5J7.js → chunk-Y54H5NJO.js} +2 -2
  81. package/dist/generated/index.d.ts +1 -0
  82. package/dist/generated/index.js +78 -77
  83. package/dist/index.js +78 -77
  84. package/dist/styles.css +150 -54
  85. package/package.json +3 -3
  86. package/dist/chunk-WNPKXYDJ.js +0 -141
  87. package/dist/{chunk-QV3WVNRA.js → chunk-2KUAO2CX.js} +0 -0
  88. package/dist/{chunk-QCBITY5I.js → chunk-6LG6JJSW.js} +1 -1
  89. package/dist/{chunk-4OKNZZ5E.js → chunk-7AAM3PCB.js} +1 -1
  90. package/dist/{chunk-SM2MM4DQ.js → chunk-BS5DASEB.js} +1 -1
  91. package/dist/{chunk-D6I7HBZC.js → chunk-COPAHZHK.js} +2 -2
  92. package/dist/{chunk-KTKPC3CV.js → chunk-CRXNGDYG.js} +1 -1
  93. package/dist/{chunk-TLZ7NG6T.js → chunk-HGL7HMBZ.js} +1 -1
  94. package/dist/{chunk-6N53ZWRM.js → chunk-KRF3GQ63.js} +1 -1
  95. package/dist/{chunk-2FRELJBU.js → chunk-LLPDEZT5.js} +1 -1
  96. package/dist/{chunk-W7SOT7RS.js → chunk-NKYBXVYQ.js} +1 -1
  97. package/dist/{chunk-WJIBZ2UM.js → chunk-R4LHYCZN.js} +1 -1
  98. package/dist/{chunk-TU6IC2XD.js → chunk-RE6MXNIM.js} +1 -1
  99. package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
@@ -1,6 +1,6 @@
1
- export { ActivityLine } from '../chunk-BG4GI5W3.js';
2
- import '../chunk-SFO4KY65.js';
3
- import '../chunk-5SMYKL3D.js';
1
+ export { ActivityLine } from '../chunk-FNJCCVQX.js';
2
+ import '../chunk-OYKQVTJB.js';
3
+ import '../chunk-ARZGEHWE.js';
4
4
  import '../chunk-XZY6S3UC.js';
5
5
  import '../chunk-RRRK2KB6.js';
6
6
  import '../chunk-ODEQTPFM.js';
@@ -1,15 +1,13 @@
1
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-NZFYX5UF.js';
1
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-AVH6XN2O.js';
2
2
  import '../chunk-XDUXAQIS.js';
3
3
  import '../chunk-WFCWPXJN.js';
4
- import '../chunk-YNREHSBZ.js';
5
- import '../chunk-UZMXC5T6.js';
4
+ import '../chunk-66TVD3RU.js';
5
+ import '../chunk-YUVQUJND.js';
6
6
  import '../chunk-D5O64CVE.js';
7
7
  import '../chunk-6IBFWV6U.js';
8
8
  import '../chunk-O7V5AHLU.js';
9
9
  import '../chunk-MBEZOURR.js';
10
10
  import '../chunk-FQ6J4DK7.js';
11
- import '../chunk-SK4BIFTG.js';
12
- import '../chunk-COS6LJ4K.js';
13
11
  import '../chunk-VBBLHS2Y.js';
14
12
  import '../chunk-M2M6ZD7P.js';
15
13
  import '../chunk-XSPCITPN.js';
@@ -19,6 +17,8 @@ import '../chunk-NICEDVZM.js';
19
17
  import '../chunk-JLKO7PSK.js';
20
18
  import '../chunk-PJV5HVZY.js';
21
19
  import '../chunk-TEXK4RK6.js';
20
+ import '../chunk-SK4BIFTG.js';
21
+ import '../chunk-COS6LJ4K.js';
22
22
  import '../chunk-X5YI6E5X.js';
23
23
  import '../chunk-TDFLCUBE.js';
24
24
  import '../chunk-HXVMXH6U.js';
@@ -1,15 +1,15 @@
1
- export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-TU6IC2XD.js';
1
+ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-RE6MXNIM.js';
2
2
  import '../chunk-SNKQNAJI.js';
3
3
  import '../chunk-JLOESTT2.js';
4
4
  import '../chunk-FIQGLZ5Q.js';
5
5
  export { useAppShellAside, useAppShellPeek } from '../chunk-MBEZOURR.js';
6
6
  export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from '../chunk-FQ6J4DK7.js';
7
- import '../chunk-SK4BIFTG.js';
8
- import '../chunk-COS6LJ4K.js';
9
7
  import '../chunk-VBBLHS2Y.js';
10
8
  import '../chunk-M2M6ZD7P.js';
11
9
  import '../chunk-XSPCITPN.js';
12
10
  import '../chunk-2YTOOH3A.js';
11
+ import '../chunk-SK4BIFTG.js';
12
+ import '../chunk-COS6LJ4K.js';
13
13
  import '../chunk-X5YI6E5X.js';
14
14
  import '../chunk-TDFLCUBE.js';
15
15
  import '../chunk-HXVMXH6U.js';
@@ -2,13 +2,13 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-XVKTZ2AC.js';
2
2
  import '../chunk-6YYRFGXO.js';
3
3
  import '../chunk-JMBPMSNI.js';
4
4
  import '../chunk-KFTVPWG2.js';
5
- import '../chunk-SK4BIFTG.js';
6
- import '../chunk-COS6LJ4K.js';
7
5
  import '../chunk-NN44J7BP.js';
8
6
  import '../chunk-NICEDVZM.js';
9
7
  import '../chunk-JLKO7PSK.js';
10
8
  import '../chunk-PJV5HVZY.js';
11
9
  import '../chunk-TEXK4RK6.js';
10
+ import '../chunk-SK4BIFTG.js';
11
+ import '../chunk-COS6LJ4K.js';
12
12
  import '../chunk-X5YI6E5X.js';
13
13
  import '../chunk-TDFLCUBE.js';
14
14
  import '../chunk-HXVMXH6U.js';
@@ -5,8 +5,8 @@ import '../chunk-L2N7SZFY.js';
5
5
  import '../chunk-7F3OPUM5.js';
6
6
  import '../chunk-QRE6JCHS.js';
7
7
  import '../chunk-AVL52EME.js';
8
- import '../chunk-FIQGLZ5Q.js';
9
8
  import '../chunk-RSKW25Y5.js';
9
+ import '../chunk-FIQGLZ5Q.js';
10
10
  import '../chunk-VBBLHS2Y.js';
11
11
  import '../chunk-M2M6ZD7P.js';
12
12
  import '../chunk-XSPCITPN.js';
@@ -1,4 +1,4 @@
1
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-UA7FQCD7.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-PAK2FUDN.js';
2
2
  import '../chunk-WFAJYBLX.js';
3
3
  import '../chunk-HF5L56YQ.js';
4
4
  import '../chunk-GBKBME7Q.js';
@@ -7,11 +7,11 @@ import '../chunk-RABEMWTA.js';
7
7
  import '../chunk-AV2DXAEL.js';
8
8
  import '../chunk-475DOAWF.js';
9
9
  import '../chunk-WSIJDWUG.js';
10
- import '../chunk-DOY3KC6I.js';
11
10
  import '../chunk-W3A6NBUM.js';
12
- import '../chunk-KFTVPWG2.js';
11
+ import '../chunk-DOY3KC6I.js';
13
12
  export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
14
- import '../chunk-5SMYKL3D.js';
13
+ import '../chunk-KFTVPWG2.js';
14
+ import '../chunk-ARZGEHWE.js';
15
15
  import '../chunk-XZY6S3UC.js';
16
16
  import '../chunk-NN44J7BP.js';
17
17
  import '../chunk-NICEDVZM.js';
@@ -1,10 +1,10 @@
1
1
  export { AuthLayout } from '../chunk-VPQX3EQQ.js';
2
2
  import '../chunk-KXWJJWBD.js';
3
- import '../chunk-JLOESTT2.js';
4
3
  import '../chunk-RABEMWTA.js';
5
4
  import '../chunk-AV2DXAEL.js';
6
5
  import '../chunk-475DOAWF.js';
7
6
  import '../chunk-WSIJDWUG.js';
7
+ import '../chunk-JLOESTT2.js';
8
8
  import '../chunk-Y5CMDLQM.js';
9
9
  import '../chunk-PQADV6P6.js';
10
10
  import '../chunk-RRRK2KB6.js';
@@ -1,3 +1,3 @@
1
- export { AvatarStack, avatarStackLabel } from '../chunk-5SMYKL3D.js';
1
+ export { AvatarStack, avatarStackLabel } from '../chunk-ARZGEHWE.js';
2
2
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-XZY6S3UC.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -66,6 +66,20 @@
66
66
  box-sizing: border-box;
67
67
  }
68
68
 
69
+ /*
70
+ * ONE PLACE ON A LINE, WHATEVER THE FACE HOLDS. An inline flex box takes its
71
+ * baseline from its first item, so a face standing in a line of text or in an
72
+ * inline wrapper (a title tooltip's span) sat on its initials' baseline when
73
+ * it held initials and on its picture's foot when it held a character: a
74
+ * person beside two agents stood 2px lower at 20px, measured. Centred on the
75
+ * line, every face lands on the same middle. A face in a sentence
76
+ * (`size="text"`) is placed by the sentence that holds it (InlineRef.css), so
77
+ * it is left out here.
78
+ */
79
+ .crewlet-avatar:not(.crewlet-avatar--text) {
80
+ vertical-align: middle;
81
+ }
82
+
69
83
  /*
70
84
  * The four steps. Each pairs its box with a type step, so two initials sit
71
85
  * inside the outline at every one of them. A numeric size sets the same
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  /*
41
- * THE RING IS THE ONLY EDGE A STACKED FACE NEEDS. A face's own hairline inside
41
+ * THE RING IS THE ONLY EDGE A PLATED FACE NEEDS. A face's own hairline inside
42
42
  * the ring drew each face as a framed tile, two edges a pixel apart, so a
43
43
  * stacked face (a member, or the face a member wraps) draws its border in no
44
44
  * colour. The border keeps its width, so the face keeps its box.
@@ -48,6 +48,19 @@
48
48
  border-color: transparent;
49
49
  }
50
50
 
51
+ /*
52
+ * EXCEPT A FACE WITH NO PLATE OF ITS OWN. The neutral badge (a person's
53
+ * initials, an agent nobody gave a hue) is the raised rung, which on the
54
+ * light sheet is a step of 1.03:1, so with its hairline gone it had no edge
55
+ * at all: a person's initials stood bare between agents' tinted plates and
56
+ * read as a smaller face. Its hairline is its plate's only edge, and it keeps
57
+ * it inside the ring.
58
+ */
59
+ .crewlet-avatar-stack > .crewlet-avatar-stack__member.crewlet-avatar--neutral,
60
+ .crewlet-avatar-stack > .crewlet-avatar-stack__member > .crewlet-avatar--neutral {
61
+ border-color: var(--color-edge-hairline);
62
+ }
63
+
51
64
  /*
52
65
  * A BADGE IN FRONT HIDES THE ONE BEHIND IT. A hue's plate is a tint, 12% of
53
66
  * the hue over whatever the badge stands on, and in a stack that is partly
@@ -3,11 +3,11 @@ import '../chunk-IR3OWPAZ.js';
3
3
  import '../chunk-6C7GQOBV.js';
4
4
  import '../chunk-X227R7IP.js';
5
5
  import '../chunk-SJ3EUCFD.js';
6
- import '../chunk-QRE6JCHS.js';
7
6
  import '../chunk-RABEMWTA.js';
8
7
  import '../chunk-AV2DXAEL.js';
9
8
  import '../chunk-475DOAWF.js';
10
9
  import '../chunk-WSIJDWUG.js';
10
+ import '../chunk-QRE6JCHS.js';
11
11
  import '../chunk-M2M6ZD7P.js';
12
12
  import '../chunk-XSPCITPN.js';
13
13
  import '../chunk-TDFLCUBE.js';
@@ -1,9 +1,9 @@
1
- export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
1
+ export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-CRXNGDYG.js';
2
2
  import '../chunk-Y3EV3Q2U.js';
3
- import '../chunk-SK4BIFTG.js';
4
- import '../chunk-COS6LJ4K.js';
5
3
  import '../chunk-M2M6ZD7P.js';
6
4
  import '../chunk-XSPCITPN.js';
5
+ import '../chunk-SK4BIFTG.js';
6
+ import '../chunk-COS6LJ4K.js';
7
7
  import '../chunk-TDFLCUBE.js';
8
8
  import '../chunk-HXVMXH6U.js';
9
9
  import '../chunk-L72URIHR.js';
@@ -0,0 +1,50 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ export interface ClampLabels {
3
+ /** The press that opens a folded block. */
4
+ more: string;
5
+ /** The press that folds it again. */
6
+ less: string;
7
+ }
8
+ export declare const CLAMP_LABELS: ClampLabels;
9
+ /**
10
+ * How much longer than its fold a block must be before it is folded: a
11
+ * quarter. A block a few lines past the fold would cost a press to read a
12
+ * few lines, and the fade alone would take most of what it hides.
13
+ */
14
+ export declare const CLAMP_SLACK = 1.25;
15
+ export interface ClampProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
16
+ /**
17
+ * The folded height, a CSS length: `20rem` by default, about fifteen lines
18
+ * of body text. A block that fits it, with a quarter to spare, is drawn
19
+ * whole and gets no control at all.
20
+ */
21
+ height?: string | undefined;
22
+ /** Controlled open state. */
23
+ open?: boolean | undefined;
24
+ /** Uncontrolled initial state; folded by default. */
25
+ defaultOpen?: boolean | undefined;
26
+ onOpenChange?: ((open: boolean) => void) | undefined;
27
+ labels?: Partial<ClampLabels> | undefined;
28
+ children?: ReactNode;
29
+ }
30
+ /**
31
+ * A long block folded to a height, with Show more under it: a comment, a
32
+ * report or a message that would otherwise make a reader scroll past the
33
+ * whole of it to reach the next one.
34
+ *
35
+ * ONLY WHAT IS LONG IS FOLDED. The block is measured as it renders and as it
36
+ * reflows, and folded only while it is more than a quarter longer than the
37
+ * fold; anything shorter is drawn whole, with no control and no fade.
38
+ *
39
+ * THE FOLD FADES, IT DOES NOT CUT. The last lines above the fold fade out
40
+ * through a mask, which needs no colour of the ground it stands on, so the
41
+ * same block folds on a card, on the sheet or in a panel.
42
+ *
43
+ * NOTHING IS HIDDEN FROM WHAT READS IT. The folded part stays in the
44
+ * document, so a screen reader and find in page reach all of it, and a focus
45
+ * that lands inside it (a link tabbed onto) opens the block, so the keyboard
46
+ * never stands on something out of sight. The control says whether the block
47
+ * is open (`aria-expanded`) and names what it controls. Printed, every block
48
+ * is whole.
49
+ */
50
+ export declare function Clamp({ height, open: controlled, defaultOpen, onOpenChange, labels: overrides, className, style, onFocusCapture, children, ...rest }: ClampProps): import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './Clamp.css';
2
+ export { CLAMP_LABELS, Clamp } from './Clamp.js';
3
+ export type { ClampLabels, ClampProps } from './Clamp.js';
@@ -0,0 +1,12 @@
1
+ export { CLAMP_LABELS, Clamp } from '../chunk-IZGB6SQE.js';
2
+ import '../chunk-M2M6ZD7P.js';
3
+ import '../chunk-XSPCITPN.js';
4
+ import '../chunk-TDFLCUBE.js';
5
+ import '../chunk-HXVMXH6U.js';
6
+ import '../chunk-L72URIHR.js';
7
+ import '../chunk-HTS5RJ7S.js';
8
+ import '../chunk-FIX72ZEC.js';
9
+ import '../chunk-EDPMHSLZ.js';
10
+ import '../chunk-4ITETIGZ.js';
11
+ import '../chunk-RRRK2KB6.js';
12
+ import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,60 @@
1
+ /*
2
+ * A long block folded to a height, with Show more under it (Clamp.tsx).
3
+ */
4
+ .crewlet-clamp {
5
+ --crewlet-clamp-height: 20rem;
6
+ /* How far above the fold the last lines fade out. */
7
+ --crewlet-clamp-fade: var(--spacing-10);
8
+ position: relative;
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: flex-start;
12
+ gap: var(--spacing-1);
13
+ min-width: 0;
14
+ }
15
+
16
+ /* The body runs the block's width; only the control hugs its words. */
17
+ .crewlet-clamp__body {
18
+ align-self: stretch;
19
+ min-width: 0;
20
+ }
21
+
22
+ /* The fold, measured: an empty box as tall as it, out of the flow and unseen,
23
+ so the block can tell whether it is long enough to fold. */
24
+ .crewlet-clamp__fold {
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ width: 0;
29
+ height: var(--crewlet-clamp-height);
30
+ visibility: hidden;
31
+ pointer-events: none;
32
+ }
33
+
34
+ /*
35
+ * FOLDED, the body stops at the fold and its last lines fade out. The fade is
36
+ * a MASK: it takes the block's own ground away rather than painting one over
37
+ * it, so it needs no colour of whatever the block stands on. Any opaque ink
38
+ * draws a mask; only its alpha is read.
39
+ */
40
+ .crewlet-clamp[data-state='folded'] > .crewlet-clamp__body {
41
+ max-height: var(--crewlet-clamp-height);
42
+ overflow: hidden;
43
+ mask-image: linear-gradient(
44
+ to bottom,
45
+ var(--color-text-primary) calc(100% - var(--crewlet-clamp-fade)),
46
+ transparent
47
+ );
48
+ }
49
+
50
+ @media print {
51
+ .crewlet-clamp[data-state='folded'] > .crewlet-clamp__body {
52
+ max-height: none;
53
+ overflow: visible;
54
+ mask-image: none;
55
+ }
56
+
57
+ .crewlet-clamp > .crewlet-clamp__toggle {
58
+ display: none;
59
+ }
60
+ }
@@ -1,14 +1,12 @@
1
- export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-G3WSU5J7.js';
2
- import '../chunk-I4PBFJGX.js';
1
+ export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-Y54H5NJO.js';
3
2
  import '../chunk-HF5L56YQ.js';
4
3
  import '../chunk-GBKBME7Q.js';
5
4
  import '../chunk-WGLOH33S.js';
6
- import '../chunk-5SMYKL3D.js';
5
+ import '../chunk-I4PBFJGX.js';
6
+ import '../chunk-ARZGEHWE.js';
7
7
  import '../chunk-XZY6S3UC.js';
8
- import '../chunk-YNREHSBZ.js';
9
- import '../chunk-UZMXC5T6.js';
10
- import '../chunk-SK4BIFTG.js';
11
- import '../chunk-COS6LJ4K.js';
8
+ import '../chunk-66TVD3RU.js';
9
+ import '../chunk-YUVQUJND.js';
12
10
  import '../chunk-VBBLHS2Y.js';
13
11
  import '../chunk-M2M6ZD7P.js';
14
12
  import '../chunk-XSPCITPN.js';
@@ -17,6 +15,8 @@ import '../chunk-NICEDVZM.js';
17
15
  import '../chunk-JLKO7PSK.js';
18
16
  import '../chunk-PJV5HVZY.js';
19
17
  import '../chunk-TEXK4RK6.js';
18
+ import '../chunk-SK4BIFTG.js';
19
+ import '../chunk-COS6LJ4K.js';
20
20
  import '../chunk-X5YI6E5X.js';
21
21
  import '../chunk-TDFLCUBE.js';
22
22
  import '../chunk-HXVMXH6U.js';
@@ -1,13 +1,13 @@
1
- export { COMPOSER_COUNTER_AT, Composer } from '../chunk-YNREHSBZ.js';
2
- import '../chunk-UZMXC5T6.js';
3
- import '../chunk-SK4BIFTG.js';
4
- import '../chunk-COS6LJ4K.js';
1
+ export { COMPOSER_COUNTER_AT, Composer } from '../chunk-66TVD3RU.js';
2
+ import '../chunk-YUVQUJND.js';
5
3
  import '../chunk-VBBLHS2Y.js';
6
4
  import '../chunk-NN44J7BP.js';
7
5
  import '../chunk-NICEDVZM.js';
8
6
  import '../chunk-JLKO7PSK.js';
9
7
  import '../chunk-PJV5HVZY.js';
10
8
  import '../chunk-TEXK4RK6.js';
9
+ import '../chunk-SK4BIFTG.js';
10
+ import '../chunk-COS6LJ4K.js';
11
11
  import '../chunk-X5YI6E5X.js';
12
12
  import '../chunk-TDFLCUBE.js';
13
13
  import '../chunk-HXVMXH6U.js';
@@ -1,11 +1,9 @@
1
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-D6I7HBZC.js';
2
- import '../chunk-JMBPMSNI.js';
1
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-COPAHZHK.js';
3
2
  import '../chunk-WFAJYBLX.js';
4
3
  import '../chunk-WSIJDWUG.js';
4
+ import '../chunk-JMBPMSNI.js';
5
5
  import '../chunk-KFTVPWG2.js';
6
6
  import '../chunk-PPUR46MK.js';
7
- import '../chunk-SK4BIFTG.js';
8
- import '../chunk-COS6LJ4K.js';
9
7
  import '../chunk-M2M6ZD7P.js';
10
8
  import '../chunk-XSPCITPN.js';
11
9
  import '../chunk-NN44J7BP.js';
@@ -13,6 +11,8 @@ import '../chunk-NICEDVZM.js';
13
11
  import '../chunk-JLKO7PSK.js';
14
12
  import '../chunk-PJV5HVZY.js';
15
13
  import '../chunk-TEXK4RK6.js';
14
+ import '../chunk-SK4BIFTG.js';
15
+ import '../chunk-COS6LJ4K.js';
16
16
  import '../chunk-X5YI6E5X.js';
17
17
  import '../chunk-TDFLCUBE.js';
18
18
  import '../chunk-HXVMXH6U.js';
@@ -1,10 +1,10 @@
1
- export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-2FRELJBU.js';
1
+ export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-LLPDEZT5.js';
2
2
  import '../chunk-IU7QVXHA.js';
3
3
  import '../chunk-STJ7QBC3.js';
4
4
  import '../chunk-DTIW4CHZ.js';
5
- import '../chunk-FIQGLZ5Q.js';
6
5
  import '../chunk-WGLOH33S.js';
7
6
  import '../chunk-AV2DXAEL.js';
7
+ import '../chunk-FIQGLZ5Q.js';
8
8
  import '../chunk-KFTVPWG2.js';
9
9
  import '../chunk-M2M6ZD7P.js';
10
10
  import '../chunk-XSPCITPN.js';
@@ -1,8 +1,8 @@
1
- export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-XUFVRAEB.js';
1
+ export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-26TNM64L.js';
2
2
  import '../chunk-FPDIHEM4.js';
3
3
  import '../chunk-E4QX4VET.js';
4
4
  import '../chunk-AQZPZYSY.js';
5
- import '../chunk-2FRELJBU.js';
5
+ import '../chunk-LLPDEZT5.js';
6
6
  import '../chunk-IU7QVXHA.js';
7
7
  import '../chunk-KW7T23RT.js';
8
8
  import '../chunk-STJ7QBC3.js';
@@ -10,10 +10,10 @@ import '../chunk-DTIW4CHZ.js';
10
10
  import '../chunk-NPEI2QAN.js';
11
11
  import '../chunk-EE3DJMSQ.js';
12
12
  import '../chunk-KDRJZWE3.js';
13
- import '../chunk-FIQGLZ5Q.js';
14
13
  import '../chunk-GBKBME7Q.js';
15
14
  import '../chunk-WGLOH33S.js';
16
15
  import '../chunk-AV2DXAEL.js';
16
+ import '../chunk-FIQGLZ5Q.js';
17
17
  import '../chunk-KFTVPWG2.js';
18
18
  import '../chunk-VBBLHS2Y.js';
19
19
  import '../chunk-M2M6ZD7P.js';
@@ -1,8 +1,8 @@
1
1
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
- import '../chunk-QRE6JCHS.js';
4
3
  import '../chunk-GBKBME7Q.js';
5
4
  import '../chunk-WGLOH33S.js';
5
+ import '../chunk-QRE6JCHS.js';
6
6
  import '../chunk-2YTOOH3A.js';
7
7
  import '../chunk-RRRK2KB6.js';
8
8
  import '../chunk-ODEQTPFM.js';
@@ -4,11 +4,11 @@ import '../chunk-MXOT2CWL.js';
4
4
  import '../chunk-TMHG4576.js';
5
5
  import '../chunk-X227R7IP.js';
6
6
  import '../chunk-SJ3EUCFD.js';
7
- import '../chunk-QRE6JCHS.js';
8
7
  import '../chunk-RABEMWTA.js';
9
8
  import '../chunk-AV2DXAEL.js';
10
9
  import '../chunk-475DOAWF.js';
11
10
  import '../chunk-WSIJDWUG.js';
11
+ import '../chunk-QRE6JCHS.js';
12
12
  import '../chunk-D5O64CVE.js';
13
13
  import '../chunk-M2M6ZD7P.js';
14
14
  import '../chunk-XSPCITPN.js';
@@ -21,23 +21,31 @@ export interface DeliveryReceiptRecipient {
21
21
  */
22
22
  export type DeliveryReceiptTense = "sent" | "draft";
23
23
  export interface DeliveryReceiptLabels {
24
- /** The reach of a posted message: "Reached pm; qa, sre (every message)". */
25
- reached: (who: string) => string;
24
+ /** A posted message nobody it reached has answered yet: "Reached pm and qa". */
25
+ reached: (who: ReactNode) => ReactNode;
26
+ /**
27
+ * A posted message every seat it reached has answered, how many they are
28
+ * given: "Reached pm, who answered"; "Reached pm and qa, who both answered".
29
+ */
30
+ reachedAnswered: (who: ReactNode, count: number) => ReactNode;
31
+ /**
32
+ * A posted message some of the seats it reached have answered, each seat
33
+ * named once: "pm answered, waiting on qa and sre".
34
+ */
35
+ partlyAnswered: (answered: ReactNode, waiting: ReactNode) => ReactNode;
26
36
  /** The reach of a draft: "Will reach pm". */
27
- reaches: (who: string) => string;
37
+ reaches: (who: ReactNode) => ReactNode;
28
38
  /** A posted message that reached no agent. */
29
39
  none: string;
30
40
  /** A draft that will reach no agent. */
31
41
  noneDraft: string;
32
- /** The seats that answered: "pm answered". */
33
- answered: (who: string) => string;
34
- /** The seats in one reason's group: "qa, sre". */
42
+ /** The seats in one reason's group, every one printed: "qa and sre", "pm, qa and sre". */
35
43
  list: (names: readonly string[]) => string;
36
44
  /** One reason's note: "(every message)". */
37
45
  reason: (words: string) => string;
38
- /** The groups of different reasons, joined: "pm; qa, sre (every message)". */
46
+ /** The groups of different reasons, joined: "pm; qa and sre (every message)". */
39
47
  groups: (groups: readonly string[]) => string;
40
- /** A routing cap left seats out. */
48
+ /** A routing cap left seats out: a sentence after the receipt's own. */
41
49
  truncated: string;
42
50
  /** The names past `max`, as the button that shows them: "and 4 more". */
43
51
  more: (count: number) => string;
@@ -68,29 +76,34 @@ export interface DeliveryReceiptProps extends Omit<HTMLAttributes<HTMLElement>,
68
76
  */
69
77
  announce?: boolean | undefined;
70
78
  /**
71
- * How many names the reach and the answered list each print before the rest
72
- * are counted in a button that shows them all. 1 by default; a whole number
73
- * of at least 1, or Infinity for every name. A single name past the cap is
79
+ * How many names each list in the sentence prints before the rest are
80
+ * counted in a button that shows them all. 1 by default; a whole number of
81
+ * at least 1, or Infinity for every name. A single name past the cap is
74
82
  * printed rather than counted, as it costs no more room than "and 1 more".
75
83
  */
76
84
  max?: number | undefined;
77
85
  labels?: Partial<DeliveryReceiptLabels> | undefined;
78
86
  }
79
87
  /**
80
- * Who a person's message reached, and who answered: "Reached pm", then "pm
81
- * answered"; "Reached qa, sre (every message)"; "Reached no agent". Over a
82
- * composer, the same line in the future tense says who a post WILL reach
83
- * before it is sent.
88
+ * Who a person's message reached, and who answered, as ONE SENTENCE that
89
+ * names each seat once: "Reached pm"; "Reached pm, who answered"; "Reached pm
90
+ * and qa, who both answered"; "pm answered, waiting on qa and sre"; "Reached
91
+ * no agent". Over a composer, the same line in the future tense says who a
92
+ * post WILL reach before it is sent.
84
93
  *
85
- * QUIET BY DESIGN. It sits in a message's footer at the compact step in the
86
- * tertiary ink, because it is a fact a person checks rather than reads: the
87
- * one tone it raises is the warning on a message that reached no agent, the
88
- * case where a person would otherwise wait for an answer nobody was asked
89
- * for. Colour is never alone: the mark and the words say it.
94
+ * ONE SENTENCE, NOT TWO PARTS. It used to say whom the message reached and
95
+ * then, after a dot, who answered, so every seat that answered was named
96
+ * twice ("Reached pm · pm answered"), and the full stop a screen reader was
97
+ * given in place of the dot turned up beside it in a copy (". ·"). What the
98
+ * eye reads is now exactly what a screen reader reads and what a copy
99
+ * carries, real punctuation included.
90
100
  *
91
- * ONE STOP TO A SCREEN READER: the parts are spans in one paragraph, so a
92
- * reader moving through the log hears "Reached pm. pm answered" at once. The
93
- * middle dot the eye reads between the parts is hidden from it, and a full
94
- * stop only it hears stands in its place; the marks are hidden too.
101
+ * QUIET BY DESIGN. It sits in a message's footer at the compact step in the
102
+ * tertiary ink, because it is a fact a person checks rather than reads: an
103
+ * answer lifts it to the secondary ink with a check, and the one tone it
104
+ * raises is the warning on a message that reached no agent, the case where a
105
+ * person would otherwise wait for an answer nobody was asked for. Colour is
106
+ * never alone: the mark and the words say it, and the marks are hidden from
107
+ * a screen reader, which has the words.
95
108
  */
96
109
  export declare function DeliveryReceipt({ recipients, tense, truncated, hint, announce, max, labels: overrides, className, ...rest }: DeliveryReceiptProps): import("react").JSX.Element;
@@ -1,3 +1,2 @@
1
- export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-WNPKXYDJ.js';
2
- import '../chunk-RRRK2KB6.js';
1
+ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-GTNXDLYH.js';
3
2
  import '../chunk-ODEQTPFM.js';
@@ -1,33 +1,30 @@
1
1
  /*
2
2
  * Who a person's message reached and who answered, under its words; and the
3
3
  * same line over a composer, before the message is sent.
4
+ *
5
+ * ONE LINE OF TEXT: a sentence that wraps like any other, with its mark
6
+ * standing at its start. It was a row of flex parts with a dot between them,
7
+ * which made two facts out of one and named the seats that answered twice.
4
8
  */
5
-
6
9
  .crewlet-delivery-receipt {
7
- display: flex;
8
- flex-wrap: wrap;
9
- align-items: center;
10
- column-gap: var(--spacing-1);
11
10
  max-width: 100%;
12
11
  margin: 0;
13
12
  color: var(--color-text-tertiary);
14
13
  font-size: var(--crewlet-chat-meta);
15
14
  line-height: var(--font-line-height-snug);
15
+ overflow-wrap: anywhere;
16
16
  }
17
17
 
18
- .crewlet-delivery-receipt__part {
19
- display: inline-flex;
20
- align-items: center;
21
- gap: var(--spacing-1);
22
- min-width: 0;
23
- }
24
-
18
+ /* The mark stands on the sentence's first line, centred on it, a step
19
+ before the words. */
25
20
  .crewlet-delivery-receipt__mark {
26
21
  display: inline-flex;
27
- flex: none;
22
+ vertical-align: middle;
23
+ margin-inline-end: var(--spacing-1);
28
24
  }
29
25
 
30
- .crewlet-delivery-receipt__answered {
26
+ /* An answer lifts the line to the secondary ink, check and all. */
27
+ .crewlet-delivery-receipt--answered {
31
28
  color: var(--color-text-secondary);
32
29
  }
33
30
 
@@ -1,8 +1,6 @@
1
- export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-TLZ7NG6T.js';
2
- import '../chunk-JMBPMSNI.js';
1
+ export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-HGL7HMBZ.js';
3
2
  import '../chunk-FIQGLZ5Q.js';
4
- import '../chunk-SK4BIFTG.js';
5
- import '../chunk-COS6LJ4K.js';
3
+ import '../chunk-JMBPMSNI.js';
6
4
  import '../chunk-M2M6ZD7P.js';
7
5
  import '../chunk-XSPCITPN.js';
8
6
  import '../chunk-NN44J7BP.js';
@@ -10,6 +8,8 @@ import '../chunk-NICEDVZM.js';
10
8
  import '../chunk-JLKO7PSK.js';
11
9
  import '../chunk-PJV5HVZY.js';
12
10
  import '../chunk-TEXK4RK6.js';
11
+ import '../chunk-SK4BIFTG.js';
12
+ import '../chunk-COS6LJ4K.js';
13
13
  import '../chunk-X5YI6E5X.js';
14
14
  import '../chunk-TDFLCUBE.js';
15
15
  import '../chunk-HXVMXH6U.js';