@crewlethq/ui 0.97.1 → 0.99.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 (272) hide show
  1. package/dist/AddPill/AddPill.d.ts +3 -1
  2. package/dist/AddPill/index.js +1 -1
  3. package/dist/{AddPill-FPM5RUKI.css → AddPill-OP3MMVZG.css} +13 -0
  4. package/dist/AgentHandoffPanel/index.js +12 -8
  5. package/dist/AppShell/index.js +9 -8
  6. package/dist/ArrangeFrame/index.js +9 -2
  7. package/dist/ArrangeList/index.js +10 -5
  8. package/dist/ArtifactBar/index.js +12 -11
  9. package/dist/ArtifactCard/index.js +9 -4
  10. package/dist/ArtifactPanel/index.js +8 -4
  11. package/dist/AttentionList/index.js +9 -2
  12. package/dist/AvatarPicker/index.js +13 -10
  13. package/dist/BriefCard/index.js +9 -2
  14. package/dist/Button/Button.d.ts +6 -0
  15. package/dist/Button/index.js +8 -1
  16. package/dist/Canvas/Canvas.d.ts +18 -1
  17. package/dist/Canvas/index.js +9 -8
  18. package/dist/{Canvas-4QJHVLJ4.css → Canvas-UQVR7IUL.css} +43 -0
  19. package/dist/CanvasBoard/index.js +11 -10
  20. package/dist/CanvasToolbar/index.js +10 -9
  21. package/dist/ChangeMark/index.js +4 -4
  22. package/dist/ChatMessage/index.js +9 -2
  23. package/dist/ChatThread/ChatThread.d.ts +22 -8
  24. package/dist/ChatThread/index.js +9 -2
  25. package/dist/{ChatThread-HAECJMP6.css → ChatThread-XANOIJXN.css} +2 -1
  26. package/dist/CheckGrid/index.js +9 -4
  27. package/dist/Checkbox/index.js +8 -3
  28. package/dist/ChipField/index.js +1 -1
  29. package/dist/CodeBlock/index.js +11 -4
  30. package/dist/ColorField/index.js +8 -3
  31. package/dist/ColorSwatch/index.js +11 -4
  32. package/dist/Combobox/index.js +8 -3
  33. package/dist/CommandPalette/index.js +10 -7
  34. package/dist/CommentThread/index.js +10 -6
  35. package/dist/CompactNav/index.js +3 -3
  36. package/dist/Composer/index.js +8 -4
  37. package/dist/ConfirmField/index.js +8 -3
  38. package/dist/ConflictNote/index.js +9 -2
  39. package/dist/ContrastHelp/index.js +7 -4
  40. package/dist/Copyable/index.js +10 -3
  41. package/dist/DataGrid/index.js +10 -5
  42. package/dist/DataTable/index.js +12 -9
  43. package/dist/DataView/index.js +16 -13
  44. package/dist/DateTimePicker/index.js +9 -6
  45. package/dist/DeepWorkCard/index.js +10 -3
  46. package/dist/DocTabsEditor/index.js +10 -7
  47. package/dist/DownloadButton/index.js +9 -2
  48. package/dist/{Editor-63L5QQDN.js → Editor-QWGTLJHM.js} +9 -6
  49. package/dist/EmojiPicker/index.js +9 -8
  50. package/dist/EntityChip/EntityChip.d.ts +9 -1
  51. package/dist/EntityChip/index.js +1 -1
  52. package/dist/ErrorBoundary/index.js +9 -2
  53. package/dist/FactList/index.js +4 -4
  54. package/dist/FileDrop/index.js +9 -2
  55. package/dist/FilterPill/index.js +9 -2
  56. package/dist/FollowBanner/index.js +7 -3
  57. package/dist/HuePicker/index.js +11 -8
  58. package/dist/IconButton/IconButton.d.ts +6 -0
  59. package/dist/IconButton/index.js +8 -1
  60. package/dist/InlineEditor/index.js +7 -3
  61. package/dist/Input/index.js +7 -2
  62. package/dist/KeyValueRows/index.js +9 -4
  63. package/dist/Layer/index.d.ts +1 -1
  64. package/dist/Layer/index.js +1 -1
  65. package/dist/Layer/place.d.ts +6 -0
  66. package/dist/Link/Link.d.ts +6 -1
  67. package/dist/Link/index.js +1 -1
  68. package/dist/{Link-CLURSR2O.css → Link-Z23PLCVS.css} +9 -0
  69. package/dist/LinkInterstitial/index.js +9 -6
  70. package/dist/ListInput/index.js +9 -5
  71. package/dist/LogoSlot/index.js +10 -3
  72. package/dist/MarkdownEditor/index.js +12 -9
  73. package/dist/MemberPicker/index.js +9 -4
  74. package/dist/Menu/Menu.d.ts +7 -1
  75. package/dist/Menu/index.js +8 -5
  76. package/dist/MergeConflicts/index.js +12 -9
  77. package/dist/MessageActions/index.js +10 -10
  78. package/dist/Modal/index.js +8 -5
  79. package/dist/ObjectHeader/index.js +2 -2
  80. package/dist/OpenInAppCard/index.js +10 -3
  81. package/dist/OrgLabel/OrgLabel.d.ts +14 -0
  82. package/dist/OrgLabel/index.js +1 -1
  83. package/dist/{OrgLabel-R5KY7C3W.css → OrgLabel-6UGWHDQQ.css} +38 -0
  84. package/dist/OrgNode/index.js +2 -2
  85. package/dist/OrgTable/OrgTable.d.ts +28 -3
  86. package/dist/OrgTable/index.d.ts +1 -1
  87. package/dist/OrgTable/index.js +17 -7
  88. package/dist/{OrgTable-JZSYTUIK.css → OrgTable-GBRYKTDH.css} +68 -2
  89. package/dist/PeekRail/index.js +10 -3
  90. package/dist/PeopleRail/index.js +10 -3
  91. package/dist/PinTile/index.js +9 -2
  92. package/dist/Popover/index.js +2 -2
  93. package/dist/PresenterView/index.js +9 -5
  94. package/dist/PrincipalPicker/index.js +9 -4
  95. package/dist/PropertyList/index.js +3 -3
  96. package/dist/ProposalCard/index.js +11 -6
  97. package/dist/RailList/index.js +3 -3
  98. package/dist/ReactionBar/index.js +10 -10
  99. package/dist/ReceiptStrip/index.js +9 -2
  100. package/dist/RecordChip/index.js +3 -3
  101. package/dist/ResultTableCard/index.js +10 -3
  102. package/dist/RichEditor/index.js +9 -2
  103. package/dist/SandboxedFrame/index.js +9 -2
  104. package/dist/SegmentedControl/index.js +11 -8
  105. package/dist/{SegmentedControl-7GY2KM44.css → SegmentedControl-PWTB7KEE.css} +4 -1
  106. package/dist/Select/index.js +2 -2
  107. package/dist/SelectionBar/index.js +7 -3
  108. package/dist/SendButton/index.js +9 -2
  109. package/dist/ShareDialog/index.js +11 -8
  110. package/dist/SheetColumnEditor/index.js +15 -12
  111. package/dist/SheetGrid/index.js +11 -10
  112. package/dist/Shortcut/index.js +1 -1
  113. package/dist/SidePanel/index.js +7 -3
  114. package/dist/SlideCompare/index.js +7 -3
  115. package/dist/SlideFilmstrip/index.js +9 -6
  116. package/dist/SlideGrid/index.js +1 -1
  117. package/dist/SlideNav/index.js +9 -2
  118. package/dist/SlideStage/index.js +1 -1
  119. package/dist/StatusLegend/StatusLegend.d.ts +31 -0
  120. package/dist/StatusLegend/index.d.ts +3 -0
  121. package/dist/StatusLegend/index.js +4 -0
  122. package/dist/StatusLegend-7MS2SBVC.css +77 -0
  123. package/dist/StatusLine/StatusLine.d.ts +32 -0
  124. package/dist/StatusLine/index.d.ts +3 -0
  125. package/dist/StatusLine/index.js +10 -0
  126. package/dist/StatusLine-C6IY3U2F.css +55 -0
  127. package/dist/Switch/Switch.d.ts +2 -0
  128. package/dist/Switch/index.js +1 -1
  129. package/dist/{Switch-XJE34BZH.css → Switch-M3VVQMCY.css} +21 -0
  130. package/dist/Switcher/index.js +11 -8
  131. package/dist/TableCells/index.js +2 -2
  132. package/dist/Tabs/index.js +9 -6
  133. package/dist/TagsInput/index.js +7 -3
  134. package/dist/ThemeSwitcher/index.js +12 -9
  135. package/dist/ThemeToggle/index.js +9 -2
  136. package/dist/TimeRangePicker/index.js +14 -11
  137. package/dist/TimeWindowPicker/index.js +11 -8
  138. package/dist/Toaster/index.js +2 -2
  139. package/dist/Toolbar/index.js +1 -1
  140. package/dist/Tooltip/index.js +3 -3
  141. package/dist/TreeCanvas/TreeCanvas.d.ts +38 -2
  142. package/dist/TreeCanvas/index.d.ts +1 -1
  143. package/dist/TreeCanvas/index.js +10 -9
  144. package/dist/{TreeCanvas-5FPK4CII.css → TreeCanvas-X5RCUSTP.css} +24 -0
  145. package/dist/TreeGrid/TreeGrid.d.ts +26 -3
  146. package/dist/TreeGrid/index.js +8 -4
  147. package/dist/{TreeGrid-522U6WBG.css → TreeGrid-PZ3DFVRO.css} +24 -0
  148. package/dist/ValueField/index.js +10 -6
  149. package/dist/VersionCompare/index.js +12 -9
  150. package/dist/VersionTimeline/index.js +9 -2
  151. package/dist/{chunk-QF5UNP4T.js → chunk-2PB5D4TI.js} +1 -1
  152. package/dist/{chunk-7ZJ662U4.js → chunk-2W4US3JO.js} +3 -3
  153. package/dist/{chunk-NCUSI4ZU.js → chunk-33632WEN.js} +54 -14
  154. package/dist/{chunk-VB3FVKNI.js → chunk-3JAGO633.js} +1 -1
  155. package/dist/{chunk-VONEKR3J.js → chunk-3NCIQO2P.js} +98 -20
  156. package/dist/{chunk-XA2QKGBJ.js → chunk-3QBQY2XK.js} +1 -1
  157. package/dist/{chunk-2BZ2W2YU.js → chunk-3Z2BSKS5.js} +5 -5
  158. package/dist/{chunk-5U6XAUYM.js → chunk-4FNAPCCK.js} +1 -1
  159. package/dist/{chunk-IJ7KLXUZ.js → chunk-4OHBHPIB.js} +1 -1
  160. package/dist/{chunk-3LKOXQWZ.js → chunk-4QTOAMQN.js} +1 -1
  161. package/dist/{chunk-5YXMKZUA.js → chunk-4XYKBZJE.js} +8 -3
  162. package/dist/{chunk-EHFQMY3B.js → chunk-52UBOSNQ.js} +1 -1
  163. package/dist/{chunk-KCLHYBIZ.js → chunk-56ES76ST.js} +1 -1
  164. package/dist/{chunk-B3BJ66GQ.js → chunk-5JGEEUWQ.js} +2 -2
  165. package/dist/{chunk-WJZTI2WC.js → chunk-5KJOG5YP.js} +7 -7
  166. package/dist/{chunk-IUBOLGHG.js → chunk-5KKZCSER.js} +1 -1
  167. package/dist/{chunk-7K6LVM5I.js → chunk-63NRTOGO.js} +3 -3
  168. package/dist/chunk-6FS6W3P5.js +37 -0
  169. package/dist/chunk-6FVTKYH6.js +37 -0
  170. package/dist/{chunk-DGXZ635L.js → chunk-6KUOHUY5.js} +29 -24
  171. package/dist/{chunk-5AJR6X75.js → chunk-6V465OCU.js} +1 -1
  172. package/dist/{chunk-FRERGOW3.js → chunk-7IW4BVZF.js} +1 -1
  173. package/dist/{chunk-G3JY2DLC.js → chunk-7L6JJ7VJ.js} +1 -1
  174. package/dist/{chunk-CWJLDCB7.js → chunk-A5ISYHW7.js} +3 -3
  175. package/dist/{chunk-SDHLAW3G.js → chunk-AAP7A6WV.js} +2 -2
  176. package/dist/{chunk-AQCWYVE3.js → chunk-AC255TMQ.js} +1 -1
  177. package/dist/{chunk-K4LZXSKZ.js → chunk-AEFR4M2W.js} +1 -1
  178. package/dist/{chunk-GC3UQZPL.js → chunk-AEUZU5SA.js} +1 -1
  179. package/dist/{chunk-5MOBCUNA.js → chunk-AHPMAPVN.js} +2 -2
  180. package/dist/{chunk-2HBY3FOZ.js → chunk-AP6SM6BL.js} +3 -3
  181. package/dist/{chunk-NTGAPLMJ.js → chunk-BC4H2EMM.js} +1 -1
  182. package/dist/{chunk-OGOLTPFQ.js → chunk-BCZQDB3U.js} +1 -1
  183. package/dist/{chunk-QW4LAFTX.js → chunk-BK4KUIAZ.js} +1 -1
  184. package/dist/{chunk-T2GC7UAP.js → chunk-C34CKBKF.js} +1 -1
  185. package/dist/{chunk-LAZ72JOP.js → chunk-CQIODINH.js} +2 -2
  186. package/dist/{chunk-HZBXC3YD.js → chunk-CTNQOSQF.js} +2 -2
  187. package/dist/{chunk-3N3XK2G5.js → chunk-CZKEABMI.js} +3 -1
  188. package/dist/{chunk-HZPUMGQV.js → chunk-D4MMW2NF.js} +3 -3
  189. package/dist/{chunk-K66TAOJA.js → chunk-DBH7ORCH.js} +2 -2
  190. package/dist/{chunk-FXGQWLZ6.js → chunk-DK7CXQFY.js} +1 -1
  191. package/dist/{chunk-RO5JU6SN.js → chunk-E23AXDKL.js} +1 -1
  192. package/dist/{chunk-SKGOKLJD.js → chunk-E2XDYCFO.js} +1 -1
  193. package/dist/{chunk-XSJSDNRR.js → chunk-EF3CJDZO.js} +3 -3
  194. package/dist/{chunk-ZXXZESCD.js → chunk-EMDRNB23.js} +3 -3
  195. package/dist/{chunk-BHVEHAAX.js → chunk-EMXUREKE.js} +3 -3
  196. package/dist/{chunk-3P7XS5VT.js → chunk-FBNGCPKZ.js} +2 -2
  197. package/dist/{chunk-OMV5W53A.js → chunk-FIX72ZEC.js} +15 -1
  198. package/dist/{chunk-QWRAWKB2.js → chunk-FMOYO5OO.js} +2 -2
  199. package/dist/{chunk-GYVEKHVI.js → chunk-FP6OFRAU.js} +1 -1
  200. package/dist/{chunk-M576OESX.js → chunk-G44KKOMB.js} +1 -1
  201. package/dist/{chunk-AVWEXCJ4.js → chunk-GA773IOZ.js} +2 -2
  202. package/dist/{chunk-XJMES7AE.js → chunk-GBBRSZ2J.js} +1 -1
  203. package/dist/{chunk-SNQ7PH3D.js → chunk-GDYZPBLI.js} +1 -1
  204. package/dist/{chunk-DRFOTWJE.js → chunk-GWRU4JHQ.js} +2 -2
  205. package/dist/{chunk-3NO5GRZY.js → chunk-HMXTZKAI.js} +4 -4
  206. package/dist/{chunk-QDGHOGSW.js → chunk-HTCNTCBE.js} +2 -2
  207. package/dist/{chunk-SRHLFQ4J.js → chunk-HU5PAZMU.js} +3 -3
  208. package/dist/{chunk-T5HZ5AYW.js → chunk-IA3NL54W.js} +4 -4
  209. package/dist/{chunk-3IWZVEXA.js → chunk-IAR2ULSK.js} +1 -1
  210. package/dist/{chunk-4ME4J3YY.js → chunk-IDBGDMQS.js} +1 -1
  211. package/dist/{chunk-WSHKY7SH.js → chunk-IGECN5B6.js} +1 -1
  212. package/dist/{chunk-OMMHKM6I.js → chunk-IYJCJOHW.js} +1 -1
  213. package/dist/{chunk-YTIXNVS7.js → chunk-J3QFTG4B.js} +3 -3
  214. package/dist/{chunk-TGGYSQRD.js → chunk-JK6WLRYP.js} +34 -22
  215. package/dist/{chunk-NKBKHOMU.js → chunk-JQCKRABK.js} +1 -1
  216. package/dist/{chunk-PICHV3PC.js → chunk-JZADK2FT.js} +3 -3
  217. package/dist/{chunk-4RLUVHYP.js → chunk-L72GPZ56.js} +1 -1
  218. package/dist/{chunk-EC6EUIAD.js → chunk-LCAKSEMB.js} +1 -1
  219. package/dist/{chunk-IPMJGK2Q.js → chunk-LYVWOAUN.js} +1 -1
  220. package/dist/{chunk-CFJ7FQZI.js → chunk-M6EVTMTK.js} +1 -1
  221. package/dist/{chunk-TGSOHXXH.js → chunk-M6G7XLLP.js} +1 -1
  222. package/dist/{chunk-JIBWNHTC.js → chunk-MIQNKO2R.js} +1 -1
  223. package/dist/{chunk-QGEDXYLB.js → chunk-MJ73YBP2.js} +2 -2
  224. package/dist/{chunk-BBKYJQZ6.js → chunk-MOP4D5HF.js} +5 -5
  225. package/dist/{chunk-Y7PPKQFQ.js → chunk-MTKHMGJH.js} +5 -5
  226. package/dist/{chunk-KQWJWTED.js → chunk-N7H5TFQK.js} +1 -1
  227. package/dist/{chunk-LJ3KWQLP.js → chunk-NBOHNPZB.js} +1 -1
  228. package/dist/{chunk-ZDMZP5H4.js → chunk-OAKECTYH.js} +6 -6
  229. package/dist/{chunk-LMEMH6DO.js → chunk-OSU4ELU3.js} +2 -2
  230. package/dist/{chunk-5ILRWUE7.js → chunk-P667Y6NQ.js} +1 -1
  231. package/dist/{chunk-LGPTZGHJ.js → chunk-PF6X74C5.js} +8 -8
  232. package/dist/{chunk-6FAI4VLM.js → chunk-PJMDZEWY.js} +1 -1
  233. package/dist/{chunk-OSH55AKI.js → chunk-PMO6W5NE.js} +3 -3
  234. package/dist/{chunk-ZPTKAYJK.js → chunk-QH2YJDRI.js} +1 -1
  235. package/dist/{chunk-VTQSSU2E.js → chunk-QND44ROZ.js} +1 -1
  236. package/dist/{chunk-AELKT34H.js → chunk-QPRTTTUN.js} +1 -1
  237. package/dist/{chunk-7ZSEUO5Q.js → chunk-QZKGFBAR.js} +2 -2
  238. package/dist/{chunk-OC6BMY3C.js → chunk-RBR4AHBT.js} +1 -1
  239. package/dist/chunk-ROFAWLFS.js +352 -0
  240. package/dist/{chunk-2NNMBEJV.js → chunk-RSI6EJSH.js} +5 -5
  241. package/dist/{chunk-GNJXUNEU.js → chunk-RVJJZVVS.js} +1 -1
  242. package/dist/{chunk-V6WDJUYK.js → chunk-SF6FUU42.js} +1 -1
  243. package/dist/{chunk-CVKANYHD.js → chunk-SSN7Y3UY.js} +1 -1
  244. package/dist/{chunk-BMBQ6UMD.js → chunk-TAWPKNNZ.js} +1 -1
  245. package/dist/{chunk-I4IO56EY.js → chunk-TKAERQQF.js} +1 -1
  246. package/dist/{chunk-AXEXOAZQ.js → chunk-TVGTMKYO.js} +1 -1
  247. package/dist/{chunk-FPU7AA3X.js → chunk-UUDQEDHQ.js} +72 -26
  248. package/dist/{chunk-2SVQBQAD.js → chunk-V7WDP3HR.js} +3 -3
  249. package/dist/{chunk-65RFU7LF.js → chunk-VDQGWPGQ.js} +4 -1
  250. package/dist/{chunk-H4WQWCHP.js → chunk-VULZ4FAA.js} +2 -2
  251. package/dist/{chunk-UAUP6XGK.js → chunk-WDLAAZFZ.js} +30 -24
  252. package/dist/{chunk-6EZX26BD.js → chunk-WF2UJYCT.js} +1 -1
  253. package/dist/{chunk-EVM6GYZ2.js → chunk-WSR4OB4T.js} +1 -1
  254. package/dist/{chunk-LM3ISVJA.js → chunk-X4HBZSXA.js} +1 -1
  255. package/dist/{chunk-CDNZTCP2.js → chunk-XHQ2JJCB.js} +2 -2
  256. package/dist/{chunk-O3II3KJY.js → chunk-XLVWSNW3.js} +3 -3
  257. package/dist/{chunk-TXOTL7AA.js → chunk-YEQTGPCE.js} +3 -3
  258. package/dist/{chunk-ZWCK4N4L.js → chunk-YS4PWTNL.js} +1 -1
  259. package/dist/{chunk-B3PK2LND.js → chunk-YYKLPEOS.js} +1 -1
  260. package/dist/chunk-Z6E3WOWS.js +189 -0
  261. package/dist/{chunk-ETNQYT5O.js → chunk-ZGKGSW42.js} +2 -2
  262. package/dist/{chunk-OPVTNHPH.js → chunk-ZKC3QFDX.js} +2 -2
  263. package/dist/{chunk-NTRKC2JV.js → chunk-ZUWEVSDP.js} +1 -1
  264. package/dist/generated/index.d.ts +2 -0
  265. package/dist/generated/index.js +125 -123
  266. package/dist/index.js +125 -123
  267. package/dist/styles.css +394 -14
  268. package/dist/utils/index.js +2 -2
  269. package/package.json +3 -3
  270. package/dist/chunk-DWQYV5AV.js +0 -141
  271. package/dist/chunk-ZDWAIVWL.js +0 -310
  272. /package/dist/{chunk-VNACAMDK.js → chunk-2DYEPDT7.js} +0 -0
@@ -1,8 +1,8 @@
1
1
  import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-YJQXESOJ.js';
2
- import { Button } from './chunk-DGXZ635L.js';
2
+ import { Button } from './chunk-6KUOHUY5.js';
3
3
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './ChatThread-HAECJMP6.css';
5
+ import './ChatThread-XANOIJXN.css';
6
6
  import { forwardRef, useRef, Children, useState, useCallback, useEffect, useLayoutEffect, useImperativeHandle } from 'react';
7
7
  import { ArrowDownGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -12,7 +12,18 @@ var CHAT_THREAD_LABELS = {
12
12
  jumpToLatest: "Jump to latest",
13
13
  newItems: (count) => count === 1 ? "1 new item" : `${count.toLocaleString()} new items`
14
14
  };
15
- var ChatThread = forwardRef(function ChatThread2({ label, busy = false, follow = true, jump = true, rest: restAt = "start", children, labels: overrides, className, ...rest }, ref) {
15
+ var ChatThread = forwardRef(function ChatThread2({
16
+ label,
17
+ busy = false,
18
+ follow = true,
19
+ onFollowChange,
20
+ jump = true,
21
+ rest: restAt = "start",
22
+ children,
23
+ labels: overrides,
24
+ className,
25
+ ...rest
26
+ }, ref) {
16
27
  const labels = overrides ? { ...CHAT_THREAD_LABELS, ...overrides } : CHAT_THREAD_LABELS;
17
28
  const scroller = useRef(null);
18
29
  const items = useRef(null);
@@ -20,12 +31,25 @@ var ChatThread = forwardRef(function ChatThread2({ label, busy = false, follow =
20
31
  const count = Children.toArray(children).length;
21
32
  const atEnd = useRef(true);
22
33
  const jumping = useRef(false);
34
+ const jumpedFor = useRef(0);
35
+ const last = useRef(0);
36
+ const anchor = useRef(null);
37
+ const followChange = useRef(onFollowChange);
38
+ followChange.current = onFollowChange;
23
39
  const [detachedAt, setDetachedAt] = useState(null);
24
40
  const countRef = useRef(count);
25
41
  countRef.current = count;
26
42
  const rowShown = useRef(false);
27
43
  rowShown.current = jump && detachedAt !== null;
28
44
  const revealing = useRef(null);
45
+ const settle = useCallback((el) => {
46
+ last.current = el.scrollTop;
47
+ }, []);
48
+ const setFollowing = useCallback((following) => {
49
+ if (atEnd.current === following) return;
50
+ atEnd.current = following;
51
+ followChange.current?.(following);
52
+ }, []);
29
53
  const toEnd = useCallback(
30
54
  (smooth) => {
31
55
  const el = scroller.current;
@@ -33,27 +57,53 @@ var ChatThread = forwardRef(function ChatThread2({ label, busy = false, follow =
33
57
  const top = el.scrollHeight - el.clientHeight;
34
58
  if (smooth && !reduced && typeof el.scrollTo === "function") {
35
59
  jumping.current = true;
60
+ jumpedFor.current = el.scrollHeight;
36
61
  el.scrollTo({ top, behavior: "smooth" });
37
62
  } else {
38
63
  jumping.current = false;
39
64
  el.scrollTop = top;
40
65
  }
41
- atEnd.current = true;
66
+ settle(el);
67
+ anchor.current = null;
68
+ setFollowing(true);
42
69
  setDetachedAt(null);
43
70
  },
44
- [reduced]
71
+ [reduced, settle, setFollowing]
45
72
  );
46
73
  const onScroll = useCallback(() => {
47
74
  const el = scroller.current;
48
75
  if (!el) return;
49
- const end = el.scrollHeight - el.scrollTop - el.clientHeight <= CHAT_THREAD_FOLLOW_WITHIN;
76
+ const was = last.current;
77
+ settle(el);
78
+ const distance = el.scrollHeight - el.scrollTop - el.clientHeight;
50
79
  if (jumping.current) {
51
- if (end) jumping.current = false;
80
+ if (distance <= CHAT_THREAD_FOLLOW_WITHIN) jumping.current = false;
52
81
  return;
53
82
  }
54
- atEnd.current = end;
55
- setDetachedAt((prior) => end ? null : prior ?? countRef.current);
56
- }, []);
83
+ const moved = el.scrollTop - was;
84
+ let following = atEnd.current;
85
+ if (distance < 1) following = true;
86
+ else if (moved < 0) following = false;
87
+ else if (moved > 0) following = distance <= CHAT_THREAD_FOLLOW_WITHIN;
88
+ setFollowing(following);
89
+ anchor.current = following ? null : anchorIn(el, items.current);
90
+ setDetachedAt((prior) => following ? null : prior ?? countRef.current);
91
+ }, [settle, setFollowing]);
92
+ const hold = useCallback(() => {
93
+ const el = scroller.current;
94
+ const mark = anchor.current;
95
+ if (!el || !mark || atEnd.current || jumping.current) return;
96
+ if (!mark.element.isConnected) {
97
+ anchor.current = anchorIn(el, items.current);
98
+ return;
99
+ }
100
+ const at = depthIn(el, mark.element);
101
+ const delta = at - mark.at;
102
+ if (Math.abs(delta) < 0.5) return;
103
+ mark.at = at;
104
+ el.scrollTop += delta;
105
+ settle(el);
106
+ }, [settle]);
57
107
  useEffect(() => {
58
108
  const el = scroller.current;
59
109
  if (!el) return;
@@ -71,18 +121,22 @@ var ChatThread = forwardRef(function ChatThread2({ label, busy = false, follow =
71
121
  for (const intent of intents) el.removeEventListener(intent, interrupt);
72
122
  };
73
123
  }, [toEnd]);
74
- useLayoutEffect(() => {
75
- if (follow && atEnd.current) toEnd(false);
76
- }, [children, follow, toEnd]);
124
+ const keep = useCallback(() => {
125
+ const el = scroller.current;
126
+ if (!el) return;
127
+ if (!atEnd.current) hold();
128
+ else if (follow && !(jumping.current && el.scrollHeight === jumpedFor.current)) toEnd(false);
129
+ }, [follow, hold, toEnd]);
130
+ useLayoutEffect(keep);
77
131
  useEffect(() => {
78
- const el = items.current;
79
- if (!follow || !el || typeof ResizeObserver !== "function") return;
80
- const observer = new ResizeObserver(() => {
81
- if (atEnd.current) toEnd(false);
82
- });
83
- observer.observe(el);
132
+ const view = scroller.current;
133
+ const content = items.current;
134
+ if (!view || !content || typeof ResizeObserver !== "function") return;
135
+ const observer = new ResizeObserver(keep);
136
+ observer.observe(content);
137
+ observer.observe(view);
84
138
  return () => observer.disconnect();
85
- }, [follow, toEnd]);
139
+ }, [keep]);
86
140
  const place = useCallback(
87
141
  (element) => {
88
142
  const el = scroller.current;
@@ -144,5 +198,29 @@ var ChatThread = forwardRef(function ChatThread2({ label, busy = false, follow =
144
198
  ] }) })
145
199
  ] });
146
200
  });
201
+ function depthIn(view, element) {
202
+ return element.getBoundingClientRect().top - view.getBoundingClientRect().top + view.scrollTop;
203
+ }
204
+ function anchorIn(view, content) {
205
+ const top = view.getBoundingClientRect().top;
206
+ let found = null;
207
+ let parent = content;
208
+ for (let depth = 0; parent && depth < ANCHOR_DEPTH; depth++) {
209
+ let next = null;
210
+ for (const child of Array.from(parent.children)) {
211
+ const box = child.getBoundingClientRect();
212
+ if (box.height === 0 || box.bottom <= top) continue;
213
+ const position = getComputedStyle(child).position;
214
+ if (position === "sticky" || position === "fixed" || position === "absolute") continue;
215
+ next = child;
216
+ break;
217
+ }
218
+ if (!next) break;
219
+ found = next;
220
+ parent = next.getBoundingClientRect().top < top ? next : null;
221
+ }
222
+ return found ? { element: found, at: depthIn(view, found) } : null;
223
+ }
224
+ var ANCHOR_DEPTH = 4;
147
225
 
148
226
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread };
@@ -1,5 +1,5 @@
1
1
  import { Toolbar } from './chunk-NXFTCPF6.js';
2
- import { Button } from './chunk-DGXZ635L.js';
2
+ import { Button } from './chunk-6KUOHUY5.js';
3
3
  import { returnFocus } from './chunk-4ITETIGZ.js';
4
4
  import { announce } from './chunk-2G355KDJ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,11 +1,11 @@
1
- import { Select } from './chunk-3IWZVEXA.js';
1
+ import { Select } from './chunk-IAR2ULSK.js';
2
2
  import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
3
- import { Popover } from './chunk-EC6EUIAD.js';
4
- import { Input } from './chunk-KCLHYBIZ.js';
5
- import { Button } from './chunk-DGXZ635L.js';
3
+ import { Popover } from './chunk-LCAKSEMB.js';
4
+ import { Input } from './chunk-56ES76ST.js';
5
+ import { Button } from './chunk-6KUOHUY5.js';
6
+ import { IconButton } from './chunk-WDLAAZFZ.js';
6
7
  import { isComposing } from './chunk-TUEM2XIW.js';
7
8
  import { useFocusModality } from './chunk-4ITETIGZ.js';
8
- import { IconButton } from './chunk-UAUP6XGK.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './TimeWindowPicker-YZPKNZZI.css';
11
11
  import { useMemo, useState, useRef, useId, useEffect } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { StepList } from './chunk-KUMHQY2B.js';
2
- import { ReceiptStrip } from './chunk-ZWCK4N4L.js';
2
+ import { ReceiptStrip } from './chunk-YS4PWTNL.js';
3
3
  import { Meter } from './chunk-RQFRRPV6.js';
4
4
  import { StatusCard } from './chunk-4BEMS6Q7.js';
5
5
  import { Disclosure } from './chunk-NAHA62WD.js';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-DGXZ635L.js';
1
+ import { Button } from './chunk-6KUOHUY5.js';
2
2
  import './ErrorBoundary-U2PA3LY2.css';
3
3
  import { Component } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,8 +1,8 @@
1
1
  import { useListbox } from './chunk-YGRTX67J.js';
2
2
  import { Tag } from './chunk-SJ3EUCFD.js';
3
+ import { IconButton } from './chunk-WDLAAZFZ.js';
3
4
  import { isComposing } from './chunk-TUEM2XIW.js';
4
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
5
- import { IconButton } from './chunk-UAUP6XGK.js';
6
6
  import { announce } from './chunk-2G355KDJ.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './TagsInput-MZXEHKJD.css';
@@ -1,6 +1,6 @@
1
1
  import { Avatar } from './chunk-XZY6S3UC.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './OrgLabel-R5KY7C3W.css';
3
+ import './OrgLabel-6UGWHDQQ.css';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
 
6
6
  function OrgLabel(props) {
@@ -14,7 +14,7 @@ function OrgLabel(props) {
14
14
  props.iconRing === true && "crewlet-org-label__icon--ring"
15
15
  ),
16
16
  "aria-hidden": "true",
17
- children: props.icon
17
+ children: props.logo ? /* @__PURE__ */ jsx("img", { className: "crewlet-org-label__logo", src: props.logo.src, alt: props.logo.alt, draggable: false }) : props.icon
18
18
  }
19
19
  ) : /* @__PURE__ */ jsx("span", { className: "crewlet-org-label__icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
20
20
  Avatar,
@@ -41,12 +41,17 @@ function OrgLabel(props) {
41
41
  }
42
42
  function Words({
43
43
  name,
44
+ nameAction,
44
45
  caption,
45
46
  captionMarks,
46
47
  className
47
48
  }) {
49
+ const named = /* @__PURE__ */ jsx("span", { className: "crewlet-org-label__name", children: name });
48
50
  return /* @__PURE__ */ jsxs("span", { className: cx("crewlet-org-label__text", className), children: [
49
- /* @__PURE__ */ jsx("span", { className: "crewlet-org-label__name", children: name }),
51
+ nameAction === void 0 || nameAction === null ? named : /* @__PURE__ */ jsxs("span", { className: "crewlet-org-label__name-line", children: [
52
+ named,
53
+ nameAction
54
+ ] }),
50
55
  (caption !== void 0 || captionMarks !== void 0) && /* @__PURE__ */ jsxs("span", { className: "crewlet-org-label__caption", children: [
51
56
  caption !== void 0 && /* @__PURE__ */ jsx("span", { className: "crewlet-org-label__kind", children: caption }),
52
57
  captionMarks
@@ -1,5 +1,5 @@
1
1
  import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
2
- import { Button } from './chunk-DGXZ635L.js';
2
+ import { Button } from './chunk-6KUOHUY5.js';
3
3
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
4
4
  import { useMemo, useState, useRef, useEffect, useCallback } from 'react';
5
5
  import { CheckGlyph, CircleAlertGlyph, SaveGlyph } from '@crewlethq/icons/glyphs';
@@ -1,8 +1,8 @@
1
1
  import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
2
2
  import { characterCountState, CharacterCount } from './chunk-PGCLHYVP.js';
3
+ import { IconButton } from './chunk-WDLAAZFZ.js';
3
4
  import { isComposing } from './chunk-TUEM2XIW.js';
4
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
5
- import { IconButton } from './chunk-UAUP6XGK.js';
6
6
  import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
7
7
  import { announce } from './chunk-2G355KDJ.js';
8
8
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
@@ -1,6 +1,6 @@
1
+ import { emojiName, EmojiPicker } from './chunk-D4MMW2NF.js';
1
2
  import { heldHint } from './chunk-TDFLCUBE.js';
2
- import { emojiName, EmojiPicker } from './chunk-HZPUMGQV.js';
3
- import { Tooltip } from './chunk-7ZSEUO5Q.js';
3
+ import { Tooltip } from './chunk-QZKGFBAR.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ChatScale-L4SIHSKL.css';
6
6
  import './ReactionBar-XXI4V7XG.css';
@@ -1,13 +1,13 @@
1
- import { Select } from './chunk-3IWZVEXA.js';
1
+ import { Select } from './chunk-IAR2ULSK.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-6FAI4VLM.js';
3
+ import { HueSwatch } from './chunk-PJMDZEWY.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
- import { Checkbox } from './chunk-TGSOHXXH.js';
6
- import { Menu } from './chunk-TGGYSQRD.js';
7
- import { FormField, Input } from './chunk-KCLHYBIZ.js';
5
+ import { Checkbox } from './chunk-M6G7XLLP.js';
6
+ import { Menu } from './chunk-JK6WLRYP.js';
7
+ import { FormField, Input } from './chunk-56ES76ST.js';
8
8
  import { Kbd } from './chunk-CMAZZY2I.js';
9
- import { Button } from './chunk-DGXZ635L.js';
10
- import { IconButton } from './chunk-UAUP6XGK.js';
9
+ import { Button } from './chunk-6KUOHUY5.js';
10
+ import { IconButton } from './chunk-WDLAAZFZ.js';
11
11
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
12
12
  import { cx } from './chunk-ODEQTPFM.js';
13
13
  import './SheetColumnEditor-BO2HKFRB.css';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-DGXZ635L.js';
1
+ import { Button } from './chunk-6KUOHUY5.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ChatScale-L4SIHSKL.css';
4
4
  import './ChatMessage-FH7VRVCH.css';
@@ -1,8 +1,8 @@
1
1
  import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
2
- import { Popover } from './chunk-EC6EUIAD.js';
3
- import { Button } from './chunk-DGXZ635L.js';
2
+ import { Popover } from './chunk-LCAKSEMB.js';
3
+ import { Button } from './chunk-6KUOHUY5.js';
4
+ import { IconButton } from './chunk-WDLAAZFZ.js';
4
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
5
- import { IconButton } from './chunk-UAUP6XGK.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './DateTimePicker-PM6TIRIX.css';
8
8
  import { useMemo, useState, useEffect } from 'react';
@@ -0,0 +1,37 @@
1
+ import { StatusDot } from './chunk-QRE6JCHS.js';
2
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
+ import { cx } from './chunk-ODEQTPFM.js';
4
+ import './StatusLegend-7MS2SBVC.css';
5
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
+
7
+ function StatusLegend({ label, items, value = null, onValueChange, countLabel = String, className }) {
8
+ const content = (item) => /* @__PURE__ */ jsxs(Fragment, { children: [
9
+ /* @__PURE__ */ jsx(StatusDot, { tone: item.tone, children: item.label }),
10
+ /* @__PURE__ */ jsx("span", { className: "crewlet-status-legend__count", children: item.count.toLocaleString() })
11
+ ] });
12
+ const named = (item) => `${item.label}, ${countLabel(item.count)}`;
13
+ if (!onValueChange) {
14
+ return /* @__PURE__ */ jsx("ul", { className: cx("crewlet-status-legend", className), "aria-label": label, children: items.map((item) => /* @__PURE__ */ jsxs("li", { className: "crewlet-status-legend__item", "data-empty": item.count === 0 ? "" : void 0, children: [
15
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: content(item) }),
16
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: named(item) })
17
+ ] }, item.key)) });
18
+ }
19
+ return /* @__PURE__ */ jsx("div", { role: "group", "aria-label": label, className: cx("crewlet-status-legend", className), children: items.map((item) => {
20
+ const pressed = value === item.key;
21
+ return /* @__PURE__ */ jsx(
22
+ "button",
23
+ {
24
+ type: "button",
25
+ className: "crewlet-status-legend__item",
26
+ "aria-pressed": pressed,
27
+ "aria-label": named(item),
28
+ "data-empty": item.count === 0 ? "" : void 0,
29
+ onClick: () => onValueChange(pressed ? null : item.key),
30
+ children: content(item)
31
+ },
32
+ item.key
33
+ );
34
+ }) });
35
+ }
36
+
37
+ export { StatusLegend };
@@ -0,0 +1,37 @@
1
+ import { StatusDot } from './chunk-QRE6JCHS.js';
2
+ import { Tooltip } from './chunk-QZKGFBAR.js';
3
+ import { VisuallyHidden } from './chunk-UT6CW3C7.js';
4
+ import { cx } from './chunk-ODEQTPFM.js';
5
+ import './StatusLine-C6IY3U2F.css';
6
+ import { Fragment } from 'react';
7
+ import { jsxs, jsx } from 'react/jsx-runtime';
8
+
9
+ function StatusLine({ label, tone, pulse = false, notes = [], detail, overflow = "wrap", className }) {
10
+ const word = tone === void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__word", children: label }) : /* @__PURE__ */ jsx(StatusDot, { tone, pulse, children: label });
11
+ const shown = notes.filter((note) => note !== null && note !== void 0 && note !== false && note !== "");
12
+ const described = detail !== void 0 && detail !== null && detail !== false && detail !== "";
13
+ return /* @__PURE__ */ jsxs(
14
+ "span",
15
+ {
16
+ className: cx("crewlet-status-line", overflow === "clip" && "crewlet-status-line--clip", className),
17
+ "data-quiet": tone === void 0 ? "" : void 0,
18
+ children: [
19
+ described ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: detail }), placement: "top", children: /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__main", children: word }) }) : /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__main", children: word }),
20
+ shown.length > 0 && /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__notes", children: shown.map((note, at) => (
21
+ // The middle dot is drawn; a reader hears a pause instead.
22
+ /* @__PURE__ */ jsxs(Fragment, { children: [
23
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-status-line__note", children: [
24
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\xB7 " }),
25
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: ", " }),
26
+ note
27
+ ] }),
28
+ " "
29
+ ] }, at)
30
+ )) }),
31
+ described && /* @__PURE__ */ jsx(VisuallyHidden, { children: detail })
32
+ ]
33
+ }
34
+ );
35
+ }
36
+
37
+ export { StatusLine };
@@ -1,4 +1,6 @@
1
1
  import { Spinner } from './chunk-XSPCITPN.js';
2
+ import { heldHint } from './chunk-TDFLCUBE.js';
3
+ import { Tooltip } from './chunk-QZKGFBAR.js';
2
4
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
5
  import { cx } from './chunk-ODEQTPFM.js';
4
6
  import './Button-GDEBGBX6.css';
@@ -44,6 +46,7 @@ var Button = forwardRef(function Button2({
44
46
  loading = false,
45
47
  pressed,
46
48
  disabledReason,
49
+ tooltip,
47
50
  disabled,
48
51
  onClick,
49
52
  title,
@@ -51,6 +54,7 @@ var Button = forwardRef(function Button2({
51
54
  ...rest
52
55
  }, ref) {
53
56
  const reasonId = useId();
57
+ const tip = typeof tooltip === "string" ? heldHint(tooltip, disabledReason) : tooltip ? disabledReason : void 0;
54
58
  const look = { variant, size, shape, block, flush, className};
55
59
  const classes = buttonClass(look, loading ? "crewlet-btn--loading" : void 0);
56
60
  if (asChild) {
@@ -66,31 +70,32 @@ var Button = forwardRef(function Button2({
66
70
  );
67
71
  }
68
72
  const inert = loading || disabledReason !== void 0;
73
+ const button = /* @__PURE__ */ jsx(
74
+ "button",
75
+ {
76
+ ...rest,
77
+ ref,
78
+ type,
79
+ className: classes,
80
+ disabled,
81
+ title,
82
+ "aria-label": rest["aria-label"] ?? (children === void 0 ? title : void 0),
83
+ "aria-pressed": pressed,
84
+ "aria-busy": loading || void 0,
85
+ "aria-disabled": inert || void 0,
86
+ "aria-describedby": disabledReason === void 0 ? rest["aria-describedby"] : cx(rest["aria-describedby"], reasonId),
87
+ onClick: (event) => {
88
+ if (inert) {
89
+ event.preventDefault();
90
+ return;
91
+ }
92
+ onClick?.(event);
93
+ },
94
+ children: /* @__PURE__ */ jsx(Inner, { leadingIcon, trailingIcon, loading, children })
95
+ }
96
+ );
69
97
  return /* @__PURE__ */ jsxs(Fragment, { children: [
70
- /* @__PURE__ */ jsx(
71
- "button",
72
- {
73
- ...rest,
74
- ref,
75
- type,
76
- className: classes,
77
- disabled,
78
- title,
79
- "aria-label": rest["aria-label"] ?? (children === void 0 ? title : void 0),
80
- "aria-pressed": pressed,
81
- "aria-busy": loading || void 0,
82
- "aria-disabled": inert || void 0,
83
- "aria-describedby": disabledReason === void 0 ? rest["aria-describedby"] : cx(rest["aria-describedby"], reasonId),
84
- onClick: (event) => {
85
- if (inert) {
86
- event.preventDefault();
87
- return;
88
- }
89
- onClick?.(event);
90
- },
91
- children: /* @__PURE__ */ jsx(Inner, { leadingIcon, trailingIcon, loading, children })
92
- }
93
- ),
98
+ tip ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: tip }), children: button }) : button,
94
99
  disabledReason === void 0 ? null : /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason })
95
100
  ] });
96
101
  });
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-UAUP6XGK.js';
1
+ import { IconButton } from './chunk-WDLAAZFZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './SlideNav-ODTNGTMT.css';
4
4
  import { ChevronLeftGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-GYVEKHVI.js';
2
+ import { SegmentedControl } from './chunk-FP6OFRAU.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -4,7 +4,7 @@ import { RelativeTime } from './chunk-EJNJMHQG.js';
4
4
  import { Card } from './chunk-U2IQNDDR.js';
5
5
  import { AvatarStack } from './chunk-YTLWOHOY.js';
6
6
  import { ArtifactKindGround } from './chunk-J5T5TDM2.js';
7
- import { Checkbox } from './chunk-TGSOHXXH.js';
7
+ import { Checkbox } from './chunk-M6G7XLLP.js';
8
8
  import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
9
9
  import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
10
10
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
@@ -1,14 +1,14 @@
1
1
  import { releaseFocus, usePresence } from './chunk-PCAT2EFB.js';
2
2
  import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
3
3
  import { useMediaMatch } from './chunk-YJQXESOJ.js';
4
- import { Tooltip } from './chunk-7ZSEUO5Q.js';
5
- import { Menu } from './chunk-TGGYSQRD.js';
4
+ import { Menu } from './chunk-JK6WLRYP.js';
6
5
  import { PeekContext, AsideContext, ResizeHandle, clampSize } from './chunk-PIYJNCN7.js';
7
6
  import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-CMAZZY2I.js';
8
7
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
8
+ import { IconButton } from './chunk-WDLAAZFZ.js';
9
+ import { Tooltip } from './chunk-QZKGFBAR.js';
9
10
  import { focusables, useModalLayer, isComposing, layerCount } from './chunk-TUEM2XIW.js';
10
11
  import { returnFocus } from './chunk-4ITETIGZ.js';
11
- import { IconButton } from './chunk-UAUP6XGK.js';
12
12
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
13
13
  import { cx } from './chunk-ODEQTPFM.js';
14
14
  import './HitArea-QUOS6ZDJ.css';
@@ -1,5 +1,5 @@
1
- import { Checkbox } from './chunk-TGSOHXXH.js';
2
- import { IconButton } from './chunk-UAUP6XGK.js';
1
+ import { Checkbox } from './chunk-M6G7XLLP.js';
2
+ import { IconButton } from './chunk-WDLAAZFZ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
5
5
  import { useId, useState } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-YGRTX67J.js';
2
- import { Input } from './chunk-KCLHYBIZ.js';
2
+ import { Input } from './chunk-56ES76ST.js';
3
3
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './HitArea-QUOS6ZDJ.css';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-UAUP6XGK.js';
1
+ import { IconButton } from './chunk-WDLAAZFZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './FilterPill-4GMNFZND.css';
4
4
  import { XGlyph } from '@crewlethq/icons/glyphs';
@@ -2,7 +2,7 @@ import { SuggestionList, SuggestionRow } from './chunk-Y7PVLEZJ.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
3
  import { StatusCard } from './chunk-4BEMS6Q7.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
- import { Button } from './chunk-DGXZ635L.js';
5
+ import { Button } from './chunk-6KUOHUY5.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './BriefCard-QCL7MVUV.css';
8
8
  import { useEffect } from 'react';
@@ -1,7 +1,7 @@
1
- import { Checkbox } from './chunk-TGSOHXXH.js';
1
+ import { Checkbox } from './chunk-M6G7XLLP.js';
2
2
  import { useMediaMatch } from './chunk-YJQXESOJ.js';
3
3
  import { EmptyState } from './chunk-PPUR46MK.js';
4
- import { Button } from './chunk-DGXZ635L.js';
4
+ import { Button } from './chunk-6KUOHUY5.js';
5
5
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './DataGrid-SAHEL4SN.css';
@@ -1,7 +1,7 @@
1
1
  import { useReorder } from './chunk-BVML4UVB.js';
2
- import { Menu } from './chunk-TGGYSQRD.js';
3
- import { Input } from './chunk-KCLHYBIZ.js';
4
- import { IconButton } from './chunk-UAUP6XGK.js';
2
+ import { Menu } from './chunk-JK6WLRYP.js';
3
+ import { Input } from './chunk-56ES76ST.js';
4
+ import { IconButton } from './chunk-WDLAAZFZ.js';
5
5
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './DocTabsEditor-25J6MYZF.css';
@@ -1,7 +1,7 @@
1
1
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
2
2
  import { RelativeTime } from './chunk-EJNJMHQG.js';
3
3
  import { Timeline } from './chunk-ZDJQQ4LU.js';
4
- import { Button } from './chunk-DGXZ635L.js';
4
+ import { Button } from './chunk-6KUOHUY5.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './VersionTimeline-DEAQ7CJG.css';
7
7
  import { RotateCcwClockGlyph, PencilGlyph, ShieldGlyph, DatabaseGlyph, UploadGlyph } from '@crewlethq/icons/glyphs';
@@ -1,5 +1,5 @@
1
1
  import { InlineCode } from './chunk-OBFEL5KH.js';
2
- import { FormField, Input } from './chunk-KCLHYBIZ.js';
2
+ import { FormField, Input } from './chunk-56ES76ST.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
5
5
  function confirmMatches(typed, phrase) {
@@ -1,5 +1,5 @@
1
1
  import { Text } from './chunk-O5CEG7TQ.js';
2
- import { Link } from './chunk-QF5UNP4T.js';
2
+ import { Link } from './chunk-2PB5D4TI.js';
3
3
  import { Tag } from './chunk-SJ3EUCFD.js';
4
4
  import { RelativeTime } from './chunk-EJNJMHQG.js';
5
5
  import { EmptyValue } from './chunk-RE3FBGQQ.js';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-UAUP6XGK.js';
1
+ import { IconButton } from './chunk-WDLAAZFZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './SendButton-L4UX54XS.css';
4
4
  import { forwardRef } from 'react';