@crewlethq/ui 0.104.0 → 0.106.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 (108) hide show
  1. package/dist/ActivityLine/index.js +1 -1
  2. package/dist/AgentHandoffPanel/index.js +6 -5
  3. package/dist/AppShell/index.js +3 -2
  4. package/dist/ArtifactCard/index.js +3 -3
  5. package/dist/ArtifactPanel/index.js +4 -3
  6. package/dist/ChatDay/index.js +2 -2
  7. package/dist/{ChatDay-CTX2VI6P.css → ChatDay-523C65KY.css} +8 -5
  8. package/dist/ChatDivider/ChatDivider.d.ts +8 -2
  9. package/dist/ChatDivider/index.js +1 -1
  10. package/dist/{ChatDivider-7ZNDL2PZ.css → ChatDivider-7SPCQXUQ.css} +27 -2
  11. package/dist/ChatMessage/index.js +1 -1
  12. package/dist/{ChatScale-L4SIHSKL.css → ChatScale-AP237LJQ.css} +10 -2
  13. package/dist/ChatThread/index.js +1 -1
  14. package/dist/{ChatThread-XANOIJXN.css → ChatThread-MKAN2Q4H.css} +4 -0
  15. package/dist/CommandPalette/index.js +2 -2
  16. package/dist/CommentThread/index.js +2 -2
  17. package/dist/Composer/index.js +1 -1
  18. package/dist/DataGrid/index.js +2 -2
  19. package/dist/DataTable/index.js +2 -2
  20. package/dist/DataView/index.js +3 -3
  21. package/dist/DeliveryReceipt/index.js +1 -1
  22. package/dist/DockColumn/DockColumn.d.ts +31 -1
  23. package/dist/DockColumn/index.d.ts +3 -1
  24. package/dist/DockColumn/index.js +3 -1
  25. package/dist/{DockColumn-SMJCXHS4.css → DockColumn-OVAA5PLL.css} +38 -8
  26. package/dist/EmojiPicker/EmojiPicker.d.ts +7 -1
  27. package/dist/EmojiPicker/index.js +1 -1
  28. package/dist/{EmojiPicker-FMWYN2WX.css → EmojiPicker-W722WJ5M.css} +43 -1
  29. package/dist/LinkCard/index.js +1 -1
  30. package/dist/LinkInterstitial/index.js +2 -2
  31. package/dist/MentionMenu/MentionMenu.d.ts +8 -1
  32. package/dist/MentionMenu/index.js +1 -1
  33. package/dist/{MentionMenu-4NAQ45S4.css → MentionMenu-77P7C4F7.css} +7 -0
  34. package/dist/MessageActions/index.js +2 -2
  35. package/dist/Modal/Modal.d.ts +6 -0
  36. package/dist/Modal/index.js +1 -1
  37. package/dist/{Modal-GKUOO7PZ.css → Modal-3KGLG5UU.css} +17 -0
  38. package/dist/OrgTable/index.js +4 -4
  39. package/dist/PeekRail/index.js +3 -2
  40. package/dist/RailList/index.js +2 -2
  41. package/dist/ReactionBar/index.js +2 -2
  42. package/dist/{ResizeHandle-2UNSZ4ZQ.css → ResizeHandle-W6GA5OO6.css} +9 -0
  43. package/dist/RichEditor/index.js +2 -2
  44. package/dist/RoomRow/index.js +1 -1
  45. package/dist/SandboxedFrame/index.js +2 -2
  46. package/dist/SectionFrame/index.js +2 -2
  47. package/dist/ShareDialog/index.js +2 -2
  48. package/dist/SidePanel/index.js +4 -3
  49. package/dist/SidebarNav/SidebarNav.d.ts +17 -8
  50. package/dist/SidebarNav/index.js +1 -1
  51. package/dist/{SidebarNav-IKBKGXW4.css → SidebarNav-VXDUW6W5.css} +141 -27
  52. package/dist/Skeleton/index.js +1 -1
  53. package/dist/Switcher/index.js +3 -3
  54. package/dist/ThreadSummary/ThreadSummary.d.ts +10 -7
  55. package/dist/ThreadSummary/index.js +1 -1
  56. package/dist/ThreadSummary-CFAHYY57.css +114 -0
  57. package/dist/TimeRangePicker/index.js +2 -2
  58. package/dist/TreeGrid/index.js +3 -3
  59. package/dist/WidgetFrame/index.js +2 -2
  60. package/dist/{chunk-UDJVDRFY.js → chunk-2OK6PQ7W.js} +2 -2
  61. package/dist/{chunk-TBJP22E4.js → chunk-3AD6HSUB.js} +1 -1
  62. package/dist/{chunk-IBMZNQ34.js → chunk-466HHUK4.js} +1 -1
  63. package/dist/{chunk-6YQRCPJ3.js → chunk-4GBEQZQ4.js} +22 -8
  64. package/dist/{chunk-K774LUN3.js → chunk-5HHDVJBY.js} +2 -2
  65. package/dist/{chunk-5AHNW5CP.js → chunk-5N3G7TK6.js} +1 -1
  66. package/dist/{chunk-H4MWPZRS.js → chunk-6HMPYTZB.js} +1 -1
  67. package/dist/{chunk-GIE7KH3D.js → chunk-6ZCW2TV7.js} +1 -1
  68. package/dist/{chunk-INREAF4Z.js → chunk-7DMD3U7S.js} +1 -1
  69. package/dist/{chunk-C47JZ6HR.js → chunk-ALL5B5YW.js} +1 -1
  70. package/dist/{chunk-OSPZN4OE.js → chunk-ASVV2T3A.js} +1 -1
  71. package/dist/{chunk-6QOW3WT2.js → chunk-DR7TJL55.js} +1 -1
  72. package/dist/{chunk-5KAADF4G.js → chunk-EIHPORS4.js} +2 -1
  73. package/dist/{chunk-ZHQZZ3IX.js → chunk-EJRA2SYP.js} +1 -1
  74. package/dist/chunk-EKWLQFL2.js +92 -0
  75. package/dist/{chunk-PIYJNCN7.js → chunk-FQ6J4DK7.js} +2 -10
  76. package/dist/{chunk-XQQN2NZB.js → chunk-FTSPBN7P.js} +2 -4
  77. package/dist/{chunk-FXXJL3G3.js → chunk-G33ND472.js} +1 -1
  78. package/dist/{chunk-LDFVJSKZ.js → chunk-GELMY4I7.js} +3 -1
  79. package/dist/{chunk-JZV4RD4L.js → chunk-GKP2DWNQ.js} +2 -2
  80. package/dist/{chunk-QQMVLDKT.js → chunk-H7LRSZ3A.js} +1 -1
  81. package/dist/{chunk-H5XYPVZ7.js → chunk-I7S7JJMM.js} +2 -2
  82. package/dist/{chunk-O2UTMKCD.js → chunk-IDBIU5IK.js} +1 -1
  83. package/dist/{chunk-7ZXUUDWL.js → chunk-KBUV24VV.js} +7 -5
  84. package/dist/{chunk-ASNOL5SF.js → chunk-L5FI327J.js} +2 -2
  85. package/dist/{chunk-NODLQBQ4.js → chunk-LBODOY3E.js} +1 -1
  86. package/dist/{chunk-SZMBO3QU.js → chunk-LQBSCXVY.js} +1 -1
  87. package/dist/{chunk-V3PIY2B2.js → chunk-M5L5APY2.js} +1 -1
  88. package/dist/chunk-MBEZOURR.js +13 -0
  89. package/dist/{chunk-NOG3W26H.js → chunk-MHNISUNZ.js} +1 -1
  90. package/dist/{chunk-62WELD77.js → chunk-OC4FHCP4.js} +1 -1
  91. package/dist/{chunk-T5P3K2TM.js → chunk-PFNTWGQB.js} +3 -2
  92. package/dist/{chunk-AGJBHLPE.js → chunk-QQPF5SBJ.js} +4 -4
  93. package/dist/{chunk-BINHWCBP.js → chunk-RW6HXWJD.js} +1 -1
  94. package/dist/{chunk-4EZOLSUO.js → chunk-SKMTVBJT.js} +3 -2
  95. package/dist/{chunk-2ES6LAV2.js → chunk-U4YG5KBN.js} +2 -2
  96. package/dist/{chunk-6NGLJRSJ.js → chunk-VOT7YIFH.js} +1 -1
  97. package/dist/{chunk-KRAZYXAA.js → chunk-VWZECTOJ.js} +1 -1
  98. package/dist/{chunk-SSYHV4QE.js → chunk-VZ7DNXCW.js} +15 -3
  99. package/dist/{chunk-SI7QLYPB.js → chunk-WFZ7EPOQ.js} +1 -1
  100. package/dist/{chunk-T6NV4SKG.js → chunk-WIVLOR42.js} +1 -1
  101. package/dist/{chunk-UJJG2ME5.js → chunk-XGX3UMHU.js} +2 -2
  102. package/dist/{chunk-TRPYEDZM.js → chunk-YBO5PGUG.js} +39 -4
  103. package/dist/generated/index.js +59 -58
  104. package/dist/index.js +59 -58
  105. package/dist/styles.css +362 -79
  106. package/package.json +3 -3
  107. package/dist/ThreadSummary-AGR4NDMD.css +0 -90
  108. package/dist/chunk-5JPOFAVN.js +0 -58
@@ -1,4 +1,4 @@
1
- export { ConfirmModal, Modal } from '../chunk-LDFVJSKZ.js';
1
+ export { ConfirmModal, Modal } from '../chunk-GELMY4I7.js';
2
2
  import '../chunk-RTHWXAXT.js';
3
3
  import '../chunk-XSPCITPN.js';
4
4
  import '../chunk-PNYANWZ6.js';
@@ -537,6 +537,23 @@
537
537
  padding: 0;
538
538
  }
539
539
 
540
+ /*
541
+ * A BODY ITS CONTENT FILLS (`fill`): a column that does not scroll, whose one
542
+ * child takes its whole height and scrolls itself. As a block scroller the
543
+ * body sized that child to its content, so a panel's pinned foot floated above
544
+ * a tall sheet's edge and hung below a short one, and its head scrolled away.
545
+ */
546
+ .crewlet-modal__body--fill {
547
+ display: flex;
548
+ flex-direction: column;
549
+ overflow: hidden;
550
+ }
551
+
552
+ .crewlet-modal__body--fill > * {
553
+ flex: 1 1 auto;
554
+ min-height: 0;
555
+ }
556
+
540
557
  /*
541
558
  * Paragraphs stack without the browser's own margins fighting the body
542
559
  * padding, which is what left dialogs uneven at the top and the bottom. Not in
@@ -1,10 +1,10 @@
1
- export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-GIE7KH3D.js';
2
- import '../chunk-62WELD77.js';
1
+ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-6ZCW2TV7.js';
2
+ import '../chunk-OC4FHCP4.js';
3
3
  import '../chunk-MY374UUD.js';
4
4
  import '../chunk-DEVO45TG.js';
5
- import '../chunk-FXXJL3G3.js';
5
+ import '../chunk-G33ND472.js';
6
6
  import '../chunk-X4HBZSXA.js';
7
- import '../chunk-NOG3W26H.js';
7
+ import '../chunk-MHNISUNZ.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-WUCRLA25.js';
10
10
  import '../chunk-XZY6S3UC.js';
@@ -1,5 +1,6 @@
1
- export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-4EZOLSUO.js';
2
- import '../chunk-PIYJNCN7.js';
1
+ export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-SKMTVBJT.js';
2
+ import '../chunk-MBEZOURR.js';
3
+ import '../chunk-FQ6J4DK7.js';
3
4
  import '../chunk-RTHWXAXT.js';
4
5
  import '../chunk-XSPCITPN.js';
5
6
  import '../chunk-2YTOOH3A.js';
@@ -1,6 +1,6 @@
1
- export { RAIL_LIST_LABELS, RailList } from '../chunk-INREAF4Z.js';
1
+ export { RAIL_LIST_LABELS, RailList } from '../chunk-7DMD3U7S.js';
2
2
  import '../chunk-JUZOMYOZ.js';
3
- import '../chunk-TRPYEDZM.js';
3
+ import '../chunk-YBO5PGUG.js';
4
4
  import '../chunk-KW7T23RT.js';
5
5
  import '../chunk-TODOBUXO.js';
6
6
  import '../chunk-HBDA76EZ.js';
@@ -1,5 +1,5 @@
1
- export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-H5XYPVZ7.js';
2
- import '../chunk-6YQRCPJ3.js';
1
+ export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-I7S7JJMM.js';
2
+ import '../chunk-4GBEQZQ4.js';
3
3
  import '../chunk-VYUEAMA4.js';
4
4
  import '../chunk-DKFBBOVE.js';
5
5
  import '../chunk-NICEDVZM.js';
@@ -45,6 +45,15 @@
45
45
  background: var(--color-brand-accent-soft);
46
46
  }
47
47
 
48
+ /*
49
+ * THE POINTER'S WASH WAITS A BEAT, so a pointer crossing the seam on its way
50
+ * somewhere else does not flash it; the cursor says it is a grip from the
51
+ * first pixel. Focus and a drag show it at once, and it leaves at once.
52
+ */
53
+ .crewlet-resize-handle:hover:not(:focus-visible, [data-dragging]) {
54
+ transition-delay: var(--motion-duration-base);
55
+ }
56
+
48
57
  /* Inside its own box: it draws no edge, and the seam it stands in is the
49
58
  two neighbours' edges, which a ring set outward would run over. */
50
59
  .crewlet-resize-handle:focus-visible {
@@ -1,9 +1,9 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-T6NV4SKG.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-WIVLOR42.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-KBZO4B33.js';
5
5
  import '../chunk-BPCY7ZID.js';
6
- import '../chunk-NOG3W26H.js';
6
+ import '../chunk-MHNISUNZ.js';
7
7
  import '../chunk-RTHWXAXT.js';
8
8
  import '../chunk-XSPCITPN.js';
9
9
  import '../chunk-TDFLCUBE.js';
@@ -1,4 +1,4 @@
1
- export { RoomRow } from '../chunk-OSPZN4OE.js';
1
+ export { RoomRow } from '../chunk-ASVV2T3A.js';
2
2
  import '../chunk-VY37HWFV.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,8 +1,8 @@
1
- export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-ZHQZZ3IX.js';
1
+ export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-EJRA2SYP.js';
2
2
  import '../chunk-F6V2PTN6.js';
3
3
  import '../chunk-ZXXDZJQN.js';
4
4
  import '../chunk-BPCY7ZID.js';
5
- import '../chunk-NOG3W26H.js';
5
+ import '../chunk-MHNISUNZ.js';
6
6
  import '../chunk-RTHWXAXT.js';
7
7
  import '../chunk-XSPCITPN.js';
8
8
  import '../chunk-TDFLCUBE.js';
@@ -1,5 +1,5 @@
1
- export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-KRAZYXAA.js';
2
- import '../chunk-TRPYEDZM.js';
1
+ export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-VWZECTOJ.js';
2
+ import '../chunk-YBO5PGUG.js';
3
3
  import '../chunk-TODOBUXO.js';
4
4
  import '../chunk-HBDA76EZ.js';
5
5
  import '../chunk-2YTOOH3A.js';
@@ -1,6 +1,6 @@
1
- export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-6QOW3WT2.js';
1
+ export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-DR7TJL55.js';
2
2
  import '../chunk-JUZOMYOZ.js';
3
- import '../chunk-LDFVJSKZ.js';
3
+ import '../chunk-GELMY4I7.js';
4
4
  import '../chunk-KW7T23RT.js';
5
5
  import '../chunk-NNO5GSIB.js';
6
6
  import '../chunk-STJ7QBC3.js';
@@ -1,6 +1,7 @@
1
- import '../chunk-5AHNW5CP.js';
2
- export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-5KAADF4G.js';
3
- import '../chunk-PIYJNCN7.js';
1
+ import '../chunk-5N3G7TK6.js';
2
+ export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-EIHPORS4.js';
3
+ import '../chunk-MBEZOURR.js';
4
+ import '../chunk-FQ6J4DK7.js';
4
5
  import '../chunk-2YTOOH3A.js';
5
6
  import '../chunk-PNYANWZ6.js';
6
7
  import '../chunk-TDFLCUBE.js';
@@ -45,13 +45,14 @@ export interface SidebarNavProps {
45
45
  */
46
46
  label: string;
47
47
  /**
48
- * A list read in passing that runs long (a room list, a directory), drawn a
49
- * step denser than the application's navigation: rows at the target floor
50
- * (24px), the gutter halved so a row's highlight runs nearly from edge to
51
- * edge, the row's pad grown by the same step so every glyph and name keeps
52
- * the line it was on, a glyph slot as wide as a small face so faces and
53
- * glyphs share one column, and names in the regular weight, which is what
54
- * lets an `unread` row stand out by weight alone.
48
+ * A list read in passing that runs long (a room list, a directory), drawn
49
+ * as one even column: 28px rows with no gap between them, the highlight
50
+ * inset by the gutter, a glyph slot as wide as a small face so faces and
51
+ * glyphs share one column, the rows under a named group indented a step
52
+ * under its heading, names in the regular weight (which is what lets an
53
+ * `unread` row stand out by weight alone), and a hover that is drawn at
54
+ * once. The arrow keys move between its rows and headings; Home and End
55
+ * go to the first and the last.
55
56
  */
56
57
  dense?: boolean | undefined;
57
58
  className?: string | undefined;
@@ -83,6 +84,14 @@ export interface NavGroupProps {
83
84
  * rail spent on nothing.
84
85
  */
85
86
  label?: ReactNode;
87
+ /**
88
+ * The group's glyph, in the glyph column of its heading. In a collapsible
89
+ * group it gives way to the chevron while the heading is pointed at or
90
+ * focused, and while the group is folded, so the slot says what the group
91
+ * is at rest and how it folds when the reader reaches for it. Decoration:
92
+ * the label names the group.
93
+ */
94
+ icon?: ReactNode;
86
95
  /**
87
96
  * A control at the end of the heading. It is a sibling of the heading's
88
97
  * words rather than part of them, so the group is still named by its label
@@ -270,6 +279,6 @@ export declare namespace SidebarNav {
270
279
  * `<div>` here still carries the label's own padding, which put sixteen blank
271
280
  * pixels at the top of the rail and named a group nothing could read.
272
281
  */
273
- export declare function NavGroup({ label, action, locked, collapsible, collapsed, defaultCollapsed, onCollapsedChange, className, children, }: NavGroupProps): import("react").JSX.Element;
282
+ export declare function NavGroup({ label, icon, action, locked, collapsible, collapsed, defaultCollapsed, onCollapsedChange, className, children, }: NavGroupProps): import("react").JSX.Element;
274
283
  /** One row: a glyph, a label, an optional badge, and optionally rows beneath. */
275
284
  export declare function NavItem({ label, icon, lead, count, badge, href, current, disabledReason, locked, unread, muted, title, onPrefetch, renderLink, onClick, children, expanded, defaultExpanded, onExpandedChange, expandLabel, className, }: NavItemProps): import("react").JSX.Element | null;
@@ -1,4 +1,4 @@
1
- export { NavGroup, NavItem, SidebarNav } from '../chunk-TRPYEDZM.js';
1
+ export { NavGroup, NavItem, SidebarNav } from '../chunk-YBO5PGUG.js';
2
2
  import '../chunk-TODOBUXO.js';
3
3
  import '../chunk-HBDA76EZ.js';
4
4
  import '../chunk-2YTOOH3A.js';
@@ -130,11 +130,30 @@
130
130
  color: inherit;
131
131
  }
132
132
 
133
- .crewlet-nav-group__chevron {
134
- display: inline-flex;
133
+ /*
134
+ * THE HEADING'S GLYPH COLUMN: a nav glyph's 14px, holding the chevron and, in
135
+ * a group with a glyph of its own (`icon`), that glyph on the same spot.
136
+ */
137
+ .crewlet-nav-group__slot {
138
+ display: inline-grid;
135
139
  flex: none;
136
- margin: 0 calc((14px - 12px) / 2);
137
- transition: transform var(--motion-duration-fast) var(--motion-easing-default);
140
+ place-items: center;
141
+ width: 14px;
142
+ }
143
+
144
+ .crewlet-nav-group__slot > * {
145
+ display: inline-flex;
146
+ grid-area: 1 / 1;
147
+ }
148
+
149
+ .crewlet-nav-group__chevron {
150
+ transition:
151
+ transform var(--motion-duration-fast) var(--motion-easing-default),
152
+ opacity var(--motion-duration-instant) var(--motion-easing-default);
153
+ }
154
+
155
+ .crewlet-nav-group__icon {
156
+ transition: opacity var(--motion-duration-instant) var(--motion-easing-default);
138
157
  }
139
158
 
140
159
  /* Folded, the chevron points at the words it would open. */
@@ -142,6 +161,25 @@
142
161
  transform: rotate(-90deg);
143
162
  }
144
163
 
164
+ /*
165
+ * A GROUP WITH A GLYPH shows it at rest, and the chevron takes its spot while
166
+ * the heading is pointed at or focused, and while the group is folded, so a
167
+ * folded group still says so at a glance.
168
+ */
169
+ .crewlet-nav-group--iconic .crewlet-nav-group__chevron {
170
+ opacity: 0;
171
+ }
172
+
173
+ .crewlet-nav-group--iconic.crewlet-nav-group--collapsed .crewlet-nav-group__chevron,
174
+ .crewlet-nav-group--iconic .crewlet-nav-group__head:is(:hover, :focus-within) .crewlet-nav-group__chevron {
175
+ opacity: 1;
176
+ }
177
+
178
+ .crewlet-nav-group--iconic.crewlet-nav-group--collapsed .crewlet-nav-group__toggle .crewlet-nav-group__icon,
179
+ .crewlet-nav-group--iconic .crewlet-nav-group__head:is(:hover, :focus-within) .crewlet-nav-group__toggle .crewlet-nav-group__icon {
180
+ opacity: 0;
181
+ }
182
+
145
183
  /* The heading's control. Pushed to the end whether or not the heading has
146
184
  words, and at the floor the heading stands at. */
147
185
  .crewlet-nav-group__action {
@@ -508,44 +546,119 @@
508
546
  }
509
547
 
510
548
  /*
511
- * THE DENSE LIST (`dense`): a list read in passing that runs long, a step
512
- * denser than the application's navigation.
549
+ * THE DENSE LIST (`dense`): a list read in passing that runs long, drawn as
550
+ * one even column.
551
+ *
552
+ * ROWS ON A 28px PITCH WITH NOTHING BETWEEN THEM (the target floor and a
553
+ * step), so a long list reads as a column rather than a stack of pills, and
554
+ * the highlight is inset by the gutter on both sides, at the small radius. The
555
+ * glyph column is as wide as a small face (an `Avatar` at `xs`), so a face, a
556
+ * glyph and a group's count stand in one column and every name starts on one
557
+ * line; names are at the chat's word step in the regular weight, which is
558
+ * what lets an unread row stand out by weight.
559
+ *
560
+ * THE ROWS UNDER A NAMED GROUP STAND A STEP IN from its heading, whose glyph
561
+ * column is the plain rows' (the views above the groups), so a room reads as
562
+ * a child of its section without a guide line.
513
563
  *
514
- * Its rows stand at the 24px target floor, the gutter is halved so a row's
515
- * highlight runs nearly from edge to edge (a long bar rather than a pill), and
516
- * the row's pad grows by exactly what the gutter gave up, so every glyph and
517
- * name stays on the line it was on, whatever the surface set the two tokens
518
- * to. The glyph column is as wide as a small face (an `Avatar` at `xs`), so a
519
- * face, a glyph and a group's count stand in one column and every name starts
520
- * on one line. Names are set in the regular weight, a step lighter than the
521
- * navigation's, which is what lets an unread row stand out by weight.
564
+ * A POINTED ROW IS DRAWN AT ONCE. In a list scanned by moving the pointer down
565
+ * it, a fade trails the pointer by a row.
522
566
  */
523
567
  .crewlet-sidebar-nav--dense {
524
- --crewlet-nav-dense-pad: calc(var(--size-nav-row-pad) + var(--size-nav-gutter) - var(--spacing-1));
568
+ --crewlet-nav-dense-row: calc(var(--spacing-6) + var(--spacing-1));
569
+ --crewlet-nav-dense-pad: var(--spacing-2);
570
+ --crewlet-nav-dense-indent: var(--spacing-4);
525
571
  --crewlet-nav-dense-slot: 20px;
526
- padding-right: var(--spacing-1);
527
- padding-left: var(--spacing-1);
572
+ gap: 0;
573
+ padding-right: var(--size-nav-gutter);
574
+ padding-left: var(--size-nav-gutter);
575
+ }
576
+
577
+ .crewlet-sidebar-nav--dense .crewlet-nav-group {
578
+ --crewlet-nav-row-gap: 0px;
579
+ gap: 0;
528
580
  }
529
581
 
530
582
  .crewlet-sidebar-nav--dense .crewlet-nav-item__row {
531
- min-height: var(--size-target-min);
583
+ min-height: var(--crewlet-nav-dense-row);
532
584
  padding-right: var(--crewlet-nav-dense-pad);
533
585
  padding-left: var(--crewlet-nav-dense-pad);
586
+ border-radius: var(--radius-sm);
587
+ font-size: var(--font-size-sm);
534
588
  font-weight: var(--font-weight-regular);
589
+ transition-property: none;
535
590
  }
536
591
 
592
+ .crewlet-sidebar-nav--dense .crewlet-nav-group--named > .crewlet-nav-item > .crewlet-nav-item__head > .crewlet-nav-item__row {
593
+ padding-left: calc(var(--crewlet-nav-dense-pad) + var(--crewlet-nav-dense-indent));
594
+ }
595
+
596
+ .crewlet-sidebar-nav--dense .crewlet-nav-item__icon,
597
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__slot {
598
+ min-width: var(--crewlet-nav-dense-slot);
599
+ }
600
+
601
+ /*
602
+ * THE HEADING is a row of the list: the row's height, its pad and its type
603
+ * step, in the medium weight and the secondary ink, 10px below the run above.
604
+ * A heading that folds is pressed anywhere along it and takes the pointed
605
+ * fill at once, at the extra-small radius so it reads as a heading rather
606
+ * than a destination.
607
+ */
537
608
  .crewlet-sidebar-nav--dense .crewlet-nav-group__head {
609
+ min-height: var(--crewlet-nav-dense-row);
610
+ margin-top: calc(var(--spacing-2) + var(--spacing-1) / 2);
538
611
  padding-right: calc(var(--crewlet-nav-dense-pad) - (var(--size-target-min) - 14px) / 2);
539
612
  padding-left: var(--crewlet-nav-dense-pad);
613
+ border-radius: var(--radius-xs);
540
614
  }
541
615
 
542
- .crewlet-sidebar-nav--dense .crewlet-nav-item__icon {
543
- min-width: var(--crewlet-nav-dense-slot);
616
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__head:has(> .crewlet-nav-group__toggle):hover {
617
+ background: var(--color-surface-hover);
618
+ }
619
+
620
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__toggle {
621
+ flex: 1 1 auto;
622
+ align-self: stretch;
623
+ text-align: start;
624
+ color: var(--color-text-secondary);
625
+ transition-property: none;
626
+ }
627
+
628
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__head:hover .crewlet-nav-group__toggle {
629
+ color: var(--color-text-primary);
630
+ }
631
+
632
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__label {
633
+ font-size: var(--font-size-sm);
634
+ font-weight: var(--font-weight-medium);
635
+ color: var(--color-text-secondary);
636
+ }
637
+
638
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__toggle > .crewlet-nav-group__label {
639
+ color: inherit;
544
640
  }
545
641
 
546
- .crewlet-sidebar-nav--dense .crewlet-nav-group__chevron {
547
- margin-right: calc((var(--crewlet-nav-dense-slot) - 12px) / 2);
548
- margin-left: calc((var(--crewlet-nav-dense-slot) - 12px) / 2);
642
+ /* Pressed on a pointed heading, the control is one step stronger than it. */
643
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__action:hover {
644
+ background: var(--color-surface-pressed);
645
+ }
646
+
647
+ /*
648
+ * THE HEADING'S CONTROL SHOWS WHERE THE READER REACHES FOR IT: under the
649
+ * pointer and while focus is in the heading. It keeps its place while hidden,
650
+ * so the label never moves as it comes and goes, and it stays in the tab
651
+ * order, which is what shows it to a keyboard. Where nothing hovers (touch),
652
+ * it is always shown.
653
+ */
654
+ @media (hover: hover) {
655
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__action {
656
+ opacity: 0;
657
+ }
658
+
659
+ .crewlet-sidebar-nav--dense .crewlet-nav-group__head:is(:hover, :focus-within) .crewlet-nav-group__action {
660
+ opacity: 1;
661
+ }
549
662
  }
550
663
 
551
664
  .crewlet-sidebar-nav--dense .crewlet-nav-item__children {
@@ -554,14 +667,14 @@
554
667
  }
555
668
 
556
669
  /*
557
- * A ROW WITH NEWS (`unread`): its name a step heavier than its neighbours' and
558
- * in the primary ink, which is the whole of the signal in a dense list whose
559
- * names are regular. A muted row is never drawn unread (the component drops
670
+ * A ROW WITH NEWS (`unread`): its name two steps heavier than a dense row's
671
+ * regular (semibold) and in the primary ink, which is the whole of the signal:
672
+ * one step read as a different face rather than as news. A muted row is never drawn unread (the component drops
560
673
  * the class), so the two rules never meet.
561
674
  */
562
675
  .crewlet-nav-item--unread > .crewlet-nav-item__head > .crewlet-nav-item__row {
563
676
  color: var(--color-text-primary);
564
- font-weight: var(--font-weight-medium);
677
+ font-weight: var(--font-weight-semibold);
565
678
  }
566
679
 
567
680
  /*
@@ -576,6 +689,7 @@
576
689
  .crewlet-nav-group__action,
577
690
  .crewlet-nav-group__toggle,
578
691
  .crewlet-nav-group__chevron,
692
+ .crewlet-nav-group__icon,
579
693
  .crewlet-nav-item__row,
580
694
  .crewlet-nav-item__chevron {
581
695
  transition: none;
@@ -1,4 +1,4 @@
1
- export { Skeleton } from '../chunk-NOG3W26H.js';
1
+ export { Skeleton } from '../chunk-MHNISUNZ.js';
2
2
  import '../chunk-HTS5RJ7S.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,9 +1,9 @@
1
- export { Switcher } from '../chunk-ASNOL5SF.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { Switcher } from '../chunk-L5FI327J.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-HBDA76EZ.js';
5
5
  import '../chunk-VYUEAMA4.js';
6
- import '../chunk-NOG3W26H.js';
6
+ import '../chunk-MHNISUNZ.js';
7
7
  import '../chunk-XLMURU75.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
9
  import '../chunk-YJQXESOJ.js';
@@ -7,7 +7,7 @@ export interface ThreadSummaryLabels {
7
7
  fresh: (count: number) => string;
8
8
  /** When the last reply came, given the caller's words for it: "Last reply 12m ago". */
9
9
  last: (when: string) => string;
10
- /** Shown in place of the last reply's time under the pointer. */
10
+ /** At the line's end under the pointer, beside the chevron that says it opens. */
11
11
  view: string;
12
12
  /** Shown in its place while the thread is open beside the room. */
13
13
  open: string;
@@ -32,12 +32,15 @@ export interface ThreadSummaryProps {
32
32
  }
33
33
  /**
34
34
  * The line under a message that has replies: the repliers' faces, "4
35
- * replies" at the medium weight in the accent's ink, how many are new, and
36
- * when the last one came. It opens the thread.
35
+ * replies" at the medium weight in the accent's ink, and how many are new.
36
+ * It opens the thread, from anywhere on the line.
37
37
  *
38
- * UNDER THE POINTER OR THE KEYBOARD it is lifted onto the transcript's own
39
- * ground inside a hairline, and "View thread" takes the place of the last
40
- * reply's time in the same cell, so the line keeps its width. Its faces sit
41
- * on the content edge: the line's inset and edge are taken back outside it.
38
+ * QUIET AT REST, so a room of threads stays calm: faces and the count. UNDER
39
+ * THE POINTER OR THE KEYBOARD it is set into the transcript's own ground inside
40
+ * a hairline, when the last reply came fades in, and "View thread" with a
41
+ * chevron stands at its end. Every part is always laid out, so nothing moves.
42
+ * While the thread is open beside the room, the message it hangs off wears the
43
+ * selected surface and the line's end says so. Its faces sit on the content
44
+ * edge: the line's inset and edge are taken back outside it.
42
45
  */
43
46
  export declare function ThreadSummary({ replies, participants, last, unread, working, open, onOpen, labels: overrides, className, }: ThreadSummaryProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- export { THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-7ZXUUDWL.js';
1
+ export { THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-KBUV24VV.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
3
  import '../chunk-WUCRLA25.js';
4
4
  import '../chunk-XZY6S3UC.js';
@@ -0,0 +1,114 @@
1
+ /*
2
+ * The line under a message that has replies, and the working line under it.
3
+ */
4
+
5
+ /* The column's width, so the line's own cap (below) is what bounds it. */
6
+ .crewlet-thread-summary-wrap {
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: flex-start;
10
+ gap: var(--spacing-1);
11
+ width: 100%;
12
+ max-width: 100%;
13
+ }
14
+
15
+ /* No piece is wider than the column: a long working line truncates. */
16
+ .crewlet-thread-summary-wrap > * {
17
+ max-width: 100%;
18
+ }
19
+
20
+ /* The faces sit on the content edge: the line's 1px edge and its inset are
21
+ taken back by the same amount outside it. It runs the content column's
22
+ width up to a reading cap, so the whole line is the target and its end
23
+ stands at one place down a room. */
24
+ .crewlet-thread-summary {
25
+ --crewlet-thread-summary-inset: var(--spacing-1);
26
+ display: flex;
27
+ align-items: center;
28
+ gap: var(--spacing-2);
29
+ width: min(100%, 37.5rem);
30
+ height: var(--size-control-md);
31
+ box-sizing: border-box;
32
+ margin-inline-start: calc((var(--crewlet-thread-summary-inset) + 1px) * -1);
33
+ padding: 0 var(--crewlet-thread-summary-inset);
34
+ border: 1px solid transparent;
35
+ border-radius: var(--radius-sm);
36
+ background: transparent;
37
+ color: var(--color-text-secondary);
38
+ font: inherit;
39
+ font-size: var(--font-size-compact);
40
+ line-height: 1;
41
+ text-align: start;
42
+ cursor: pointer;
43
+ }
44
+
45
+ /* Set into the transcript's own ground inside a hairline, under the pointer
46
+ or the keyboard: a step back from the hovered row, not a raised button. */
47
+ .crewlet-thread-summary:is(:hover, :focus-visible) {
48
+ border-color: var(--color-edge-hairline);
49
+ background: var(--crewlet-chat-ground);
50
+ }
51
+
52
+ .crewlet-thread-summary:focus-visible {
53
+ outline: 2px solid var(--color-focus);
54
+ outline-offset: var(--size-focus-ring-inset-offset);
55
+ }
56
+
57
+ .crewlet-thread-summary__count {
58
+ flex: none;
59
+ color: var(--color-brand-accent-ink);
60
+ font-weight: var(--font-weight-medium);
61
+ white-space: nowrap;
62
+ }
63
+
64
+ /* When the last reply came, laid out at rest and shown on the line's hover:
65
+ the part that gives way first where the column is narrow. */
66
+ .crewlet-thread-summary__last {
67
+ min-width: 0;
68
+ overflow: hidden;
69
+ color: var(--color-text-tertiary);
70
+ text-overflow: ellipsis;
71
+ white-space: nowrap;
72
+ opacity: 0;
73
+ transition: opacity var(--motion-duration-moderate) var(--motion-easing-default);
74
+ }
75
+
76
+ /* "View thread" and the chevron that says the line opens, at its end. */
77
+ .crewlet-thread-summary__end {
78
+ display: inline-flex;
79
+ flex: none;
80
+ align-items: center;
81
+ gap: var(--spacing-1);
82
+ margin-inline-start: auto;
83
+ color: var(--color-text-secondary);
84
+ white-space: nowrap;
85
+ opacity: 0;
86
+ }
87
+
88
+ .crewlet-thread-summary__chevron {
89
+ color: var(--color-text-tertiary);
90
+ }
91
+
92
+ .crewlet-thread-summary:is(:hover, :focus-visible) .crewlet-thread-summary__last,
93
+ .crewlet-thread-summary:is(:hover, :focus-visible, .is-open) .crewlet-thread-summary__end {
94
+ opacity: 1;
95
+ }
96
+
97
+ /* OPEN, the end says so and opens nothing new. */
98
+ .crewlet-thread-summary.is-open .crewlet-thread-summary__chevron {
99
+ visibility: hidden;
100
+ }
101
+
102
+ /* THE MESSAGE WHOSE THREAD IS OPEN beside the room wears the selected
103
+ surface, under the pointer too: the one sign of which conversation the
104
+ pane belongs to, gone when the pane closes. */
105
+ .crewlet-chat-message:has(.crewlet-thread-summary.is-open),
106
+ .crewlet-chat-message:has(.crewlet-thread-summary.is-open):hover {
107
+ background: var(--color-surface-selected);
108
+ }
109
+
110
+ @media (prefers-reduced-motion: reduce) {
111
+ .crewlet-thread-summary__last {
112
+ transition: none;
113
+ }
114
+ }
@@ -1,5 +1,5 @@
1
- export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-6NGLJRSJ.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-VOT7YIFH.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-BPCY7ZID.js';
4
4
  import '../chunk-XOVSHJTZ.js';
5
5
  import '../chunk-VJ4OGNS7.js';
@@ -1,8 +1,8 @@
1
- export { TreeGrid } from '../chunk-62WELD77.js';
1
+ export { TreeGrid } from '../chunk-OC4FHCP4.js';
2
2
  import '../chunk-MY374UUD.js';
3
- import '../chunk-FXXJL3G3.js';
3
+ import '../chunk-G33ND472.js';
4
4
  import '../chunk-X4HBZSXA.js';
5
- import '../chunk-NOG3W26H.js';
5
+ import '../chunk-MHNISUNZ.js';
6
6
  import '../chunk-WSIJDWUG.js';
7
7
  import '../chunk-4S2AN5W4.js';
8
8
  import '../chunk-AR4K6L4X.js';
@@ -1,5 +1,5 @@
1
- export { WidgetFrame } from '../chunk-SZMBO3QU.js';
2
- import '../chunk-NOG3W26H.js';
1
+ export { WidgetFrame } from '../chunk-LQBSCXVY.js';
2
+ import '../chunk-MHNISUNZ.js';
3
3
  import '../chunk-GBKBME7Q.js';
4
4
  import '../chunk-WGLOH33S.js';
5
5
  import '../chunk-HTS5RJ7S.js';