@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 { ActivityLine } from '../chunk-TBJP22E4.js';
1
+ export { ActivityLine } from '../chunk-3AD6HSUB.js';
2
2
  import '../chunk-DX7ZHO47.js';
3
3
  import '../chunk-RRRK2KB6.js';
4
4
  import '../chunk-ODEQTPFM.js';
@@ -1,11 +1,12 @@
1
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-UDJVDRFY.js';
1
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-2OK6PQ7W.js';
2
2
  import '../chunk-XDUXAQIS.js';
3
3
  import '../chunk-WFCWPXJN.js';
4
- import '../chunk-H4MWPZRS.js';
4
+ import '../chunk-6HMPYTZB.js';
5
5
  import '../chunk-D5O64CVE.js';
6
- import '../chunk-2ES6LAV2.js';
7
- import '../chunk-5KAADF4G.js';
8
- import '../chunk-PIYJNCN7.js';
6
+ import '../chunk-U4YG5KBN.js';
7
+ import '../chunk-EIHPORS4.js';
8
+ import '../chunk-MBEZOURR.js';
9
+ import '../chunk-FQ6J4DK7.js';
9
10
  import '../chunk-DKFBBOVE.js';
10
11
  import '../chunk-NICEDVZM.js';
11
12
  import '../chunk-JLKO7PSK.js';
@@ -1,9 +1,10 @@
1
- export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-T5P3K2TM.js';
1
+ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-PFNTWGQB.js';
2
2
  import '../chunk-PCAT2EFB.js';
3
3
  import '../chunk-JLOESTT2.js';
4
4
  import '../chunk-YJQXESOJ.js';
5
5
  import '../chunk-B7WZADFX.js';
6
- export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize, useAppShellAside, useAppShellPeek } from '../chunk-PIYJNCN7.js';
6
+ export { useAppShellAside, useAppShellPeek } from '../chunk-MBEZOURR.js';
7
+ export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from '../chunk-FQ6J4DK7.js';
7
8
  import '../chunk-VBBLHS2Y.js';
8
9
  import '../chunk-RTHWXAXT.js';
9
10
  import '../chunk-XSPCITPN.js';
@@ -1,5 +1,5 @@
1
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-UJJG2ME5.js';
2
- import '../chunk-NOG3W26H.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-XGX3UMHU.js';
2
+ import '../chunk-MHNISUNZ.js';
3
3
  import '../chunk-HF5L56YQ.js';
4
4
  import '../chunk-GBKBME7Q.js';
5
5
  import '../chunk-WGLOH33S.js';
@@ -11,8 +11,8 @@ import '../chunk-WUCRLA25.js';
11
11
  import '../chunk-XZY6S3UC.js';
12
12
  import '../chunk-W3A6NBUM.js';
13
13
  import '../chunk-AR4K6L4X.js';
14
- export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
15
14
  import '../chunk-DOY3KC6I.js';
15
+ export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
16
16
  import '../chunk-DKFBBOVE.js';
17
17
  import '../chunk-NICEDVZM.js';
18
18
  import '../chunk-JLKO7PSK.js';
@@ -1,6 +1,7 @@
1
- export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-2ES6LAV2.js';
2
- import '../chunk-5KAADF4G.js';
3
- import '../chunk-PIYJNCN7.js';
1
+ export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-U4YG5KBN.js';
2
+ import '../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';
@@ -1,3 +1,3 @@
1
- export { ChatDay, ChatDayPill } from '../chunk-AGJBHLPE.js';
2
- import '../chunk-K774LUN3.js';
1
+ export { ChatDay, ChatDayPill } from '../chunk-QQPF5SBJ.js';
2
+ import '../chunk-5HHDVJBY.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -34,11 +34,13 @@
34
34
  flex: none;
35
35
  justify-content: center;
36
36
  height: var(--crewlet-chat-day-pill);
37
- margin-top: calc(var(--crewlet-chat-day-gap) - var(--crewlet-chat-day-pill) / 2);
37
+ /* MORE AIR ABOVE A DAY THAN UNDER ITS RULE, so the date is read with the
38
+ messages it introduces rather than the ones it ends. */
39
+ margin-top: calc(var(--crewlet-chat-day-gap) * 2 - var(--crewlet-chat-day-pill) / 2);
38
40
  pointer-events: none;
39
41
  /* A host that raises the pin (a banner arriving) moves the pinned pill
40
42
  down with it rather than jumping it. */
41
- transition: top var(--motion-duration-fast) var(--motion-easing-default);
43
+ transition: top var(--crewlet-chat-travel) var(--crewlet-chat-ease);
42
44
  }
43
45
 
44
46
  /*
@@ -65,7 +67,8 @@
65
67
  /*
66
68
  * THE PILL floats over the rows: the transcript's own ground, ringed with the
67
69
  * hairline and a small shadow, so it reads as lifted off the messages it
68
- * passes over. The ring is a shadow, which forced colors drops, so a
70
+ * passes over. The rule recedes and the date does not: its words are the
71
+ * primary ink at the semibold weight. The ring is a shadow, which forced colors drops, so a
69
72
  * transparent outline stands in for it there.
70
73
  */
71
74
  .crewlet-chat-day__pill {
@@ -83,10 +86,10 @@
83
86
  box-shadow:
84
87
  0 0 0 1px var(--color-edge-hairline),
85
88
  var(--shadow-xs);
86
- color: var(--color-text-secondary);
89
+ color: var(--color-text-primary);
87
90
  font: inherit;
88
91
  font-size: var(--font-size-xs);
89
- font-weight: var(--font-weight-medium);
92
+ font-weight: var(--font-weight-semibold);
90
93
  line-height: 1;
91
94
  white-space: nowrap;
92
95
  pointer-events: auto;
@@ -6,8 +6,14 @@ export type ChatDividerVariant =
6
6
  * first one they have not, with its word at the line's end.
7
7
  */
8
8
  'unread'
9
- /** A quiet labelled rule, as a thread pane sets its reply count over the replies. */
10
- | 'date';
9
+ /** A quiet labelled rule: the words in the middle, a hairline either side. */
10
+ | 'date'
11
+ /**
12
+ * A count at the start of the line on the faces' edge, a hairline running
13
+ * on from it: a thread's reply count between its root and its replies. Its
14
+ * rule is the hairline a thread's summary line draws under the pointer.
15
+ */
16
+ | 'count';
11
17
  export interface ChatDividerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role' | 'children'> {
12
18
  variant: ChatDividerVariant;
13
19
  /** The words on the line, and its name for a screen reader: "New", "3 replies". */
@@ -1,2 +1,2 @@
1
- export { ChatDivider } from '../chunk-K774LUN3.js';
1
+ export { ChatDivider } from '../chunk-5HHDVJBY.js';
2
2
  import '../chunk-ODEQTPFM.js';
@@ -26,6 +26,30 @@
26
26
  white-space: nowrap;
27
27
  }
28
28
 
29
+ /* A count at the start, on the faces' edge, and a hairline running on. */
30
+ .crewlet-chat-divider--count {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: var(--spacing-3);
34
+ margin: var(--spacing-1) 0;
35
+ padding: 0 var(--crewlet-chat-pad-x);
36
+ color: var(--color-text-tertiary);
37
+ font-size: var(--crewlet-chat-meta);
38
+ font-weight: var(--font-weight-regular);
39
+ line-height: var(--font-line-height-snug);
40
+ }
41
+
42
+ .crewlet-chat-divider--count::after {
43
+ content: '';
44
+ flex: 1;
45
+ height: 1px;
46
+ background: var(--color-edge-hairline);
47
+ }
48
+
49
+ .crewlet-chat-divider--count .crewlet-chat-divider__label {
50
+ white-space: nowrap;
51
+ }
52
+
29
53
  /*
30
54
  * THE NEW LINE TAKES NO HEIGHT. A hairline across the whole list in the
31
55
  * danger hue, laid on the boundary between the last read message and the
@@ -59,7 +83,7 @@
59
83
  background: var(--crewlet-chat-ground);
60
84
  color: var(--color-feedback-danger-ink);
61
85
  font-size: var(--font-size-xs);
62
- font-weight: var(--font-weight-medium);
86
+ font-weight: var(--font-weight-semibold);
63
87
  line-height: var(--font-line-height-normal);
64
88
  }
65
89
 
@@ -70,7 +94,8 @@
70
94
  @media (forced-colors: active) {
71
95
  .crewlet-chat-divider--unread::before,
72
96
  .crewlet-chat-divider--date::before,
73
- .crewlet-chat-divider--date::after {
97
+ .crewlet-chat-divider--date::after,
98
+ .crewlet-chat-divider--count::after {
74
99
  border-top: 1px solid CanvasText;
75
100
  }
76
101
  }
@@ -1,4 +1,4 @@
1
- export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-NODLQBQ4.js';
1
+ export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-LBODOY3E.js';
2
2
  import '../chunk-RTHWXAXT.js';
3
3
  import '../chunk-XSPCITPN.js';
4
4
  import '../chunk-TDFLCUBE.js';
@@ -16,10 +16,11 @@
16
16
  /* Times, counts, reactions and second lines: one step down. */
17
17
  --crewlet-chat-meta: var(--font-size-xs);
18
18
  /* The row's side inset, the face column, the gap after it, and the space
19
- between the pieces stacked under a message's words. */
19
+ between the pieces stacked under a message's words. The words start
20
+ 64px in (20 + 36 + 8), so a group reads as one column close to its face. */
20
21
  --crewlet-chat-pad-x: var(--spacing-5);
21
22
  --crewlet-chat-avatar: 36px;
22
- --crewlet-chat-gap: var(--spacing-3);
23
+ --crewlet-chat-gap: var(--spacing-2);
23
24
  --crewlet-chat-stack: 6px;
24
25
  /* One width for every link preview, so a stack of them shares both edges. */
25
26
  --crewlet-chat-card: 440px;
@@ -39,4 +40,11 @@
39
40
  --crewlet-chat-ground: var(--color-surface-background);
40
41
  /* A row that names the reader: a light wash of the warning hue. */
41
42
  --crewlet-chat-mention: var(--color-feedback-warning-soft);
43
+ /* Motion. Feedback (a colour, an opacity, a border) takes the instant step
44
+ and anything that travels (a pinned pill moving) the base step, both
45
+ decelerating. A row's hover surface takes neither: it snaps, because a
46
+ fade lags behind a pointer sweeping down the list. */
47
+ --crewlet-chat-feedback: var(--motion-duration-instant);
48
+ --crewlet-chat-travel: var(--motion-duration-base);
49
+ --crewlet-chat-ease: var(--motion-easing-out);
42
50
  }
@@ -1,4 +1,4 @@
1
- export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-XQQN2NZB.js';
1
+ export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-FTSPBN7P.js';
2
2
  import '../chunk-YJQXESOJ.js';
3
3
  import '../chunk-RTHWXAXT.js';
4
4
  import '../chunk-XSPCITPN.js';
@@ -34,6 +34,10 @@
34
34
  overflow: auto;
35
35
  overflow-anchor: none;
36
36
  overscroll-behavior: contain;
37
+ /* A control focused from out of view (Tab onto a row scrolled off the top)
38
+ comes in a step clear of the edge, so its outset ring is not cut. */
39
+ scroll-padding-top: var(--spacing-2);
40
+ scroll-padding-bottom: var(--spacing-2);
37
41
  }
38
42
 
39
43
  /* A ring inside the region, which an edge-to-edge scroller would otherwise clip. */
@@ -1,5 +1,5 @@
1
- export { CommandPalette } from '../chunk-O2UTMKCD.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { CommandPalette } from '../chunk-IDBIU5IK.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-KW7T23RT.js';
4
4
  import '../chunk-DKFBBOVE.js';
5
5
  import '../chunk-NICEDVZM.js';
@@ -1,11 +1,11 @@
1
- export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-QQMVLDKT.js';
1
+ export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-H7LRSZ3A.js';
2
2
  import '../chunk-HF5L56YQ.js';
3
3
  import '../chunk-GBKBME7Q.js';
4
4
  import '../chunk-WGLOH33S.js';
5
5
  import '../chunk-WUCRLA25.js';
6
6
  import '../chunk-XZY6S3UC.js';
7
7
  import '../chunk-I4PBFJGX.js';
8
- import '../chunk-H4MWPZRS.js';
8
+ import '../chunk-6HMPYTZB.js';
9
9
  import '../chunk-DKFBBOVE.js';
10
10
  import '../chunk-NICEDVZM.js';
11
11
  import '../chunk-JLKO7PSK.js';
@@ -1,4 +1,4 @@
1
- export { COMPOSER_COUNTER_AT, Composer } from '../chunk-H4MWPZRS.js';
1
+ export { COMPOSER_COUNTER_AT, Composer } from '../chunk-6HMPYTZB.js';
2
2
  import '../chunk-DKFBBOVE.js';
3
3
  import '../chunk-NICEDVZM.js';
4
4
  import '../chunk-JLKO7PSK.js';
@@ -1,5 +1,5 @@
1
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-FXXJL3G3.js';
2
- import '../chunk-NOG3W26H.js';
1
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-G33ND472.js';
2
+ import '../chunk-MHNISUNZ.js';
3
3
  import '../chunk-WSIJDWUG.js';
4
4
  import '../chunk-4S2AN5W4.js';
5
5
  import '../chunk-AR4K6L4X.js';
@@ -1,5 +1,5 @@
1
- export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-BINHWCBP.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-RW6HXWJD.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-STJ7QBC3.js';
4
4
  import '../chunk-DTIW4CHZ.js';
5
5
  import '../chunk-WGLOH33S.js';
@@ -1,9 +1,9 @@
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-SI7QLYPB.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-WFZ7EPOQ.js';
2
2
  import '../chunk-FPDIHEM4.js';
3
3
  import '../chunk-J76ZZ6U2.js';
4
4
  import '../chunk-KPB4ZUBI.js';
5
- import '../chunk-BINHWCBP.js';
6
- import '../chunk-LDFVJSKZ.js';
5
+ import '../chunk-RW6HXWJD.js';
6
+ import '../chunk-GELMY4I7.js';
7
7
  import '../chunk-KW7T23RT.js';
8
8
  import '../chunk-STJ7QBC3.js';
9
9
  import '../chunk-DTIW4CHZ.js';
@@ -1,3 +1,3 @@
1
- export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-C47JZ6HR.js';
1
+ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-ALL5B5YW.js';
2
2
  import '../chunk-RRRK2KB6.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -28,10 +28,34 @@
28
28
  * A PLAIN COLUMN, NOT A LANDMARK: what it holds names itself (a navigation
29
29
  * named Rooms), and a column named the same as the region inside it is two
30
30
  * landmarks of one name a screen reader cannot tell apart.
31
+ *
32
+ * THE READER MAY SIZE IT (`resize`): the kit's `ResizeHandle` straddles the
33
+ * edge that faces the content, the column follows a drag or a key at once
34
+ * rather than easing, and the host keeps the width it is handed. The clip is
35
+ * an element inside the column, so the handle can stand across the edge
36
+ * without being cut by it.
31
37
  */
32
38
  import { type HTMLAttributes, type ReactNode } from 'react';
33
39
  /** The edge of the content the column stands at, in the inline direction. */
34
40
  export type DockColumnSide = 'start' | 'end';
41
+ /** How the reader sizes the column, and what the host does with the width. */
42
+ export interface DockColumnResize {
43
+ /** Names the handle: "Resize the Rooms panel". */
44
+ label: string;
45
+ /** The narrowest the column may be, in px. */
46
+ min: number;
47
+ /**
48
+ * The widest, in px. A host that keeps the content beside the column at a
49
+ * floor passes the cap that leaves it, so a drag stops where it must.
50
+ */
51
+ max: number;
52
+ /** Every step of a drag or a key: draw it by passing it back as `width`. */
53
+ onValueChange: (px: number) => void;
54
+ /** Where a gesture ends: the moment to keep the width. */
55
+ onValueCommit?: ((px: number) => void) | undefined;
56
+ /** The resting width Enter and a double press return to. */
57
+ defaultValue?: number | undefined;
58
+ }
35
59
  export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
36
60
  /** Whether the panel is docked. The column eases open and shut on a change. */
37
61
  open: boolean;
@@ -58,6 +82,12 @@ export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
58
82
  * out, or answering nothing, focus is taken off the panel.
59
83
  */
60
84
  focusOnClose?: (() => HTMLElement | null | undefined) | undefined;
85
+ /**
86
+ * Lets the reader size the column from the edge that faces the content.
87
+ * Its value is `width` where that is a number, and the column's own drawn
88
+ * width where it is any other length.
89
+ */
90
+ resize?: DockColumnResize | undefined;
61
91
  /**
62
92
  * The panel. Its ground is the column's `--crewlet-dock-column-ground`,
63
93
  * which a host sets on its own class (`var(--color-surface-subtle)`), and
@@ -65,4 +95,4 @@ export interface DockColumnProps extends HTMLAttributes<HTMLDivElement> {
65
95
  */
66
96
  children?: ReactNode;
67
97
  }
68
- export declare function DockColumn({ open, width, side, divider, focusOnClose, className, style, children, ...rest }: DockColumnProps): import("react").JSX.Element;
98
+ export declare function DockColumn({ open, width, side, divider, focusOnClose, resize, className, style, children, ...rest }: DockColumnProps): import("react").JSX.Element;
@@ -1,3 +1,5 @@
1
+ import '../HitArea/HitArea.css';
2
+ import '../AppShell/ResizeHandle.css';
1
3
  import './DockColumn.css';
2
4
  export { DockColumn } from './DockColumn.js';
3
- export type { DockColumnProps, DockColumnSide } from './DockColumn.js';
5
+ export type { DockColumnProps, DockColumnResize, DockColumnSide } from './DockColumn.js';
@@ -1,6 +1,8 @@
1
- export { DockColumn } from '../chunk-5JPOFAVN.js';
1
+ export { DockColumn } from '../chunk-EKWLQFL2.js';
2
2
  import '../chunk-PCAT2EFB.js';
3
3
  import '../chunk-YJQXESOJ.js';
4
+ import '../chunk-FQ6J4DK7.js';
5
+ import '../chunk-2YTOOH3A.js';
4
6
  import '../chunk-HTS5RJ7S.js';
5
7
  import '../chunk-4ITETIGZ.js';
6
8
  import '../chunk-ODEQTPFM.js';
@@ -18,23 +18,36 @@
18
18
  */
19
19
 
20
20
  .crewlet-dock-column {
21
+ position: relative;
21
22
  display: flex;
22
- justify-content: flex-end;
23
23
  width: 0;
24
24
  min-width: 0;
25
25
  min-height: 0;
26
- overflow: clip;
27
26
  transition: width var(--motion-duration-slow) var(--motion-easing-emphasized);
28
27
  }
29
28
 
30
- .crewlet-dock-column[data-side='end'] {
31
- justify-content: flex-start;
32
- }
33
-
34
29
  .crewlet-dock-column[data-open] {
35
30
  width: var(--crewlet-dock-column-width);
36
31
  }
37
32
 
33
+ /*
34
+ * THE CLIP, inside the column so a handle can stand across the column's edge.
35
+ * Clipped rather than hidden, so it is never a scroll container a focus or a
36
+ * scrollIntoView could scroll.
37
+ */
38
+ .crewlet-dock-column__clip {
39
+ display: flex;
40
+ flex: 1 1 auto;
41
+ justify-content: flex-end;
42
+ min-width: 0;
43
+ min-height: 0;
44
+ overflow: clip;
45
+ }
46
+
47
+ .crewlet-dock-column[data-side='end'] > .crewlet-dock-column__clip {
48
+ justify-content: flex-start;
49
+ }
50
+
38
51
  .crewlet-dock-column__panel {
39
52
  display: flex;
40
53
  flex: none;
@@ -46,14 +59,31 @@
46
59
  }
47
60
 
48
61
  /* The hairline on the panel's edge that faces the content. */
49
- .crewlet-dock-column--divider[data-side='start'] > .crewlet-dock-column__panel {
62
+ .crewlet-dock-column--divider[data-side='start'] .crewlet-dock-column__panel {
50
63
  border-inline-end: 1px solid var(--color-border-default);
51
64
  }
52
65
 
53
- .crewlet-dock-column--divider[data-side='end'] > .crewlet-dock-column__panel {
66
+ .crewlet-dock-column--divider[data-side='end'] .crewlet-dock-column__panel {
54
67
  border-inline-start: 1px solid var(--color-border-default);
55
68
  }
56
69
 
70
+ /*
71
+ * THE HANDLE STRADDLES THE EDGE that faces the content, half over the panel
72
+ * and half over the content, so its hairline is the line it grips.
73
+ */
74
+ .crewlet-dock-column[data-side='start'] > .crewlet-dock-column__handle {
75
+ right: calc(var(--crewlet-resize-handle-width) / -2);
76
+ }
77
+
78
+ .crewlet-dock-column[data-side='end'] > .crewlet-dock-column__handle {
79
+ left: calc(var(--crewlet-resize-handle-width) / -2);
80
+ }
81
+
82
+ /* SIZED BY HAND, the column follows at once: an eased width trails the pointer. */
83
+ .crewlet-dock-column:has(> .crewlet-dock-column__handle:is([data-dragging], :focus-visible)) {
84
+ transition: none;
85
+ }
86
+
57
87
  @media (prefers-reduced-motion: reduce) {
58
88
  .crewlet-dock-column {
59
89
  transition: none;
@@ -10,6 +10,8 @@ export interface EmojiPickerLabels {
10
10
  results: string;
11
11
  /** Said when nothing matches. */
12
12
  none: (query: string) => string;
13
+ /** The preview line while no emoji is pointed at or chosen. */
14
+ idle: string;
13
15
  }
14
16
  export declare const EMOJI_PICKER_LABELS: EmojiPickerLabels;
15
17
  export interface EmojiPickerProps {
@@ -38,8 +40,12 @@ export interface EmojiPickerProps {
38
40
  * A searchable grid of emoji in a popover, for starting a reaction or
39
41
  * putting an emoji in a message.
40
42
  *
43
+ * WHAT ENTER WILL PICK IS SHOWN. While a search has matches, the one Enter
44
+ * picks is marked in the grid, and the line under the grid previews whatever
45
+ * is pointed at or chosen, large and by name, so the cells need no hints.
46
+ *
41
47
  * THE KEYS. The search field has focus when the panel opens: typing filters
42
- * by name, Enter picks the first match, and ArrowDown goes into the grid. The
48
+ * by name, Enter picks the marked match, and ArrowDown goes into the grid. The
43
49
  * grid is one tab stop; the arrows walk it by its rows, across groups, Home
44
50
  * and End go to its first and last emoji, ArrowUp from the top row returns to
45
51
  * the field, and Enter or Space picks. Escape closes the panel and returns
@@ -1,4 +1,4 @@
1
- export { EMOJI_GROUPS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-6YQRCPJ3.js';
1
+ export { EMOJI_GROUPS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-4GBEQZQ4.js';
2
2
  import '../chunk-VYUEAMA4.js';
3
3
  import '../chunk-DKFBBOVE.js';
4
4
  import '../chunk-NICEDVZM.js';
@@ -1,6 +1,7 @@
1
1
  /*
2
2
  * A searchable grid of emoji in a popover: the field, then each group under
3
- * its quiet heading, eight to a row, in a scroller of its own.
3
+ * its quiet heading, eight to a row, in a scroller of its own, and a preview
4
+ * line under the grid that is always there, so the panel never changes size.
4
5
  */
5
6
 
6
7
  .crewlet-emoji-picker__body {
@@ -50,12 +51,53 @@
50
51
  background: var(--color-surface-hover);
51
52
  }
52
53
 
54
+ /* The match Enter picks while searching: the accent's soft fill, which the
55
+ pointer's step does not take away. */
56
+ .crewlet-emoji-picker__cell.is-chosen {
57
+ background: var(--color-brand-accent-soft);
58
+ }
59
+
53
60
  .crewlet-emoji-picker__cell:focus-visible {
54
61
  background: var(--color-surface-hover);
55
62
  outline: 2px solid var(--color-focus);
56
63
  outline-offset: var(--size-focus-ring-inset-offset);
57
64
  }
58
65
 
66
+ .crewlet-emoji-picker__preview {
67
+ display: flex;
68
+ align-items: center;
69
+ gap: var(--spacing-2);
70
+ min-height: var(--size-control-md);
71
+ padding: var(--spacing-2) var(--spacing-1) 0;
72
+ border-top: 1px solid var(--color-edge-hairline);
73
+ }
74
+
75
+ .crewlet-emoji-picker__preview-emoji {
76
+ font-size: var(--font-size-xl);
77
+ line-height: 1;
78
+ }
79
+
80
+ .crewlet-emoji-picker__preview-words {
81
+ display: flex;
82
+ flex-direction: column;
83
+ min-width: 0;
84
+ }
85
+
86
+ .crewlet-emoji-picker__preview-name {
87
+ overflow: hidden;
88
+ color: var(--color-text-primary);
89
+ font-size: var(--font-size-sm);
90
+ font-weight: var(--font-weight-semibold);
91
+ text-overflow: ellipsis;
92
+ white-space: nowrap;
93
+ }
94
+
95
+ .crewlet-emoji-picker__preview-code,
96
+ .crewlet-emoji-picker__preview-idle {
97
+ color: var(--color-text-tertiary);
98
+ font-size: var(--font-size-xs);
99
+ }
100
+
59
101
  .crewlet-emoji-picker__none {
60
102
  margin: var(--spacing-3) var(--spacing-1);
61
103
  color: var(--color-text-tertiary);
@@ -1,4 +1,4 @@
1
- export { LinkCard } from '../chunk-IBMZNQ34.js';
1
+ export { LinkCard } from '../chunk-466HHUK4.js';
2
2
  import '../chunk-KOJPDCGQ.js';
3
3
  import '../chunk-KBZO4B33.js';
4
4
  import '../chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
- export { LinkInterstitial, openExternal } from '../chunk-V3PIY2B2.js';
2
- import '../chunk-LDFVJSKZ.js';
1
+ export { LinkInterstitial, openExternal } from '../chunk-M5L5APY2.js';
2
+ import '../chunk-GELMY4I7.js';
3
3
  import '../chunk-OBFEL5KH.js';
4
4
  import '../chunk-BPCY7ZID.js';
5
5
  import '../chunk-RTHWXAXT.js';
@@ -40,6 +40,13 @@ export interface MentionMenuProps {
40
40
  * in view as the arrows move and a press outside the list closes it.
41
41
  */
42
42
  listRef?: Ref<HTMLUListElement> | undefined;
43
+ /**
44
+ * Whether the reader has taken the list over with the arrow keys. Until then
45
+ * the active row is drawn quietly, as what Enter or Tab would take, and the
46
+ * strong highlight arrives with the first arrow press, which commits to that
47
+ * row rather than moving past it. True by default.
48
+ */
49
+ keyed?: boolean | undefined;
43
50
  /** The foot. Left out, it carries the keyboard hints; `null` draws none. */
44
51
  footer?: ReactNode;
45
52
  labels?: Partial<MentionMenuLabels> | undefined;
@@ -65,7 +72,7 @@ export interface MentionMenuProps {
65
72
  * ITS ROWS ARE `PersonRow`s, so a face, a name and its detail sit where every
66
73
  * other list of people in the product puts them.
67
74
  */
68
- export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, footer, labels: overrides, className }: MentionMenuProps): import("react").JSX.Element;
75
+ export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, keyed, footer, labels: overrides, className, }: MentionMenuProps): import("react").JSX.Element;
69
76
  /** The mention being typed at the caret. */
70
77
  export interface MentionQuery {
71
78
  trigger: '@' | '#';
@@ -1,4 +1,4 @@
1
- export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-SSYHV4QE.js';
1
+ export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-VZ7DNXCW.js';
2
2
  import '../chunk-XROJ6XQ3.js';
3
3
  import '../chunk-XLMURU75.js';
4
4
  import '../chunk-WSIJDWUG.js';
@@ -41,6 +41,13 @@
41
41
  list-style: none;
42
42
  }
43
43
 
44
+ /* RESTING, before the arrows: the active row takes the hover fill alone, a
45
+ quiet "Enter takes this", and the accent tint and bar wait for the keys. */
46
+ .crewlet-mention-menu--resting .crewlet-person-row.is-selected {
47
+ background: var(--color-surface-hover);
48
+ box-shadow: none;
49
+ }
50
+
44
51
  /* The panel's corner less its inset, so each row's curve runs parallel. */
45
52
  .crewlet-mention-menu__list > .crewlet-person-row {
46
53
  --crewlet-person-row-radius: calc(var(--radius-lg) - var(--spacing-1));
@@ -1,5 +1,5 @@
1
- export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-JZV4RD4L.js';
2
- import '../chunk-6YQRCPJ3.js';
1
+ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-GKP2DWNQ.js';
2
+ import '../chunk-4GBEQZQ4.js';
3
3
  import '../chunk-NPEI2QAN.js';
4
4
  import '../chunk-VYUEAMA4.js';
5
5
  import '../chunk-DKFBBOVE.js';
@@ -149,6 +149,12 @@ export interface ModalProps extends FrameAttributes {
149
149
  stackBody?: boolean | undefined;
150
150
  /** Drops the body's padding, for content that owns its own edges. */
151
151
  flush?: boolean | undefined;
152
+ /**
153
+ * The body's one child fills it and does its own scrolling: a panel with a
154
+ * pinned head, a scroller and a pinned foot. The body itself no longer
155
+ * scrolls, so the head and the foot stay on the sheet's edges at every height.
156
+ */
157
+ fill?: boolean | undefined;
152
158
  className?: string | undefined;
153
159
  /** Names a surface that draws no title. Ignored when `title` is given. */
154
160
  ariaLabel?: string | undefined;