@crewlethq/ui 0.185.0 → 0.186.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 (302) hide show
  1. package/README.md +6 -0
  2. package/dist/ActivityLine/index.js +10 -3
  3. package/dist/AgentHandoffPanel/index.js +13 -13
  4. package/dist/AgentIdentity/index.js +18 -18
  5. package/dist/AppShell/index.js +7 -7
  6. package/dist/ArrangeFrame/index.js +4 -4
  7. package/dist/ArrangeList/index.js +7 -7
  8. package/dist/ArtifactBar/index.js +9 -9
  9. package/dist/ArtifactCard/index.js +12 -10
  10. package/dist/ArtifactPanel/index.js +6 -6
  11. package/dist/AssignmentList/index.js +2 -2
  12. package/dist/AttachmentChip/index.js +3 -2
  13. package/dist/AttentionList/index.js +8 -8
  14. package/dist/Avatar/AvatarStack.d.ts +2 -1
  15. package/dist/Avatar/index.js +8 -1
  16. package/dist/AvatarPicker/index.js +11 -11
  17. package/dist/BriefCard/index.js +8 -8
  18. package/dist/Button/index.js +3 -3
  19. package/dist/Callout/index.js +4 -4
  20. package/dist/Canvas/index.js +5 -5
  21. package/dist/CanvasBoard/index.js +7 -7
  22. package/dist/CanvasToolbar/index.js +6 -6
  23. package/dist/ChangeList/index.js +8 -8
  24. package/dist/ChangeMark/index.js +3 -3
  25. package/dist/ChatMessage/index.js +4 -4
  26. package/dist/ChatThread/index.js +5 -5
  27. package/dist/CheckGrid/index.js +7 -7
  28. package/dist/Checkbox/index.js +6 -6
  29. package/dist/ChipField/index.js +3 -2
  30. package/dist/Clamp/index.js +4 -4
  31. package/dist/CodeBlock/index.js +7 -7
  32. package/dist/ColorField/index.js +6 -6
  33. package/dist/ColorSwatch/index.js +7 -7
  34. package/dist/Combobox/index.js +6 -6
  35. package/dist/CommandPalette/index.js +14 -14
  36. package/dist/CommentThread/index.js +13 -10
  37. package/dist/CompactNav/index.js +2 -2
  38. package/dist/Composer/index.js +6 -6
  39. package/dist/ConfirmField/index.js +6 -6
  40. package/dist/ConflictNote/index.js +4 -4
  41. package/dist/ConsequenceList/index.js +7 -7
  42. package/dist/ContrastBadge/index.js +3 -2
  43. package/dist/ContrastHelp/index.js +8 -7
  44. package/dist/Copyable/index.js +6 -6
  45. package/dist/DataGrid/index.js +9 -9
  46. package/dist/DataTable/index.js +15 -15
  47. package/dist/DataView/index.js +19 -19
  48. package/dist/DatasetSource/index.js +3 -2
  49. package/dist/DateTimePicker/index.js +5 -5
  50. package/dist/DeepWorkCard/index.js +10 -10
  51. package/dist/DeliveryReceipt/index.js +3 -3
  52. package/dist/DocTabsEditor/index.js +8 -8
  53. package/dist/DownloadButton/index.js +4 -4
  54. package/dist/DurationField/index.js +13 -13
  55. package/dist/{Editor-HW7A54RA.js → Editor-NFC7HEWU.js} +7 -7
  56. package/dist/EmojiPicker/index.js +6 -6
  57. package/dist/EntityChip/index.js +8 -1
  58. package/dist/EntityList/index.js +3 -3
  59. package/dist/ErrorBoundary/index.js +4 -4
  60. package/dist/FactList/index.js +3 -3
  61. package/dist/FileDrop/index.js +4 -4
  62. package/dist/FilterPill/index.js +4 -4
  63. package/dist/FollowBanner/index.js +6 -6
  64. package/dist/Fullscreen/index.js +4 -4
  65. package/dist/GraphCanvas/index.js +7 -7
  66. package/dist/HuePicker/index.js +9 -9
  67. package/dist/IconButton/index.js +3 -3
  68. package/dist/ImageUpload/index.js +8 -1
  69. package/dist/InboxList/index.js +1 -1
  70. package/dist/InlineEditor/index.js +4 -4
  71. package/dist/Input/index.js +5 -5
  72. package/dist/KeyValueRows/index.js +7 -7
  73. package/dist/LinkInterstitial/index.js +15 -15
  74. package/dist/ListDetail/index.js +4 -4
  75. package/dist/ListInput/index.js +7 -7
  76. package/dist/ListOverflow/ListOverflow.d.ts +39 -0
  77. package/dist/ListOverflow/index.d.ts +3 -0
  78. package/dist/ListOverflow/index.js +8 -0
  79. package/dist/ListOverflow-DKZTZHGZ.css +96 -0
  80. package/dist/LogoSlot/index.js +8 -7
  81. package/dist/MarkdownEditor/index.js +9 -9
  82. package/dist/MemberPicker/index.js +7 -7
  83. package/dist/Menu/index.js +5 -5
  84. package/dist/MergeConflicts/index.js +9 -9
  85. package/dist/MessageActions/index.js +7 -7
  86. package/dist/Modal/index.js +13 -13
  87. package/dist/MoneyField/index.js +6 -6
  88. package/dist/NoticeList/index.js +7 -7
  89. package/dist/NumberField/index.js +12 -12
  90. package/dist/OpenInAppCard/index.js +9 -9
  91. package/dist/OrgLabel/index.js +8 -1
  92. package/dist/OrgNode/index.js +8 -1
  93. package/dist/OrgTable/index.js +14 -12
  94. package/dist/PeekRail/index.js +5 -5
  95. package/dist/PeopleRail/index.js +10 -7
  96. package/dist/PinTile/index.js +4 -4
  97. package/dist/PresenceStack/index.js +9 -2
  98. package/dist/{PresenceStack-2DTYRADY.css → PresenceStack-WHGXNMH7.css} +27 -0
  99. package/dist/PresenterView/index.js +6 -6
  100. package/dist/PresetChips/index.js +9 -9
  101. package/dist/PricingCard/index.js +3 -2
  102. package/dist/Principal/index.js +8 -1
  103. package/dist/PrincipalPicker/index.js +11 -8
  104. package/dist/ProposalCard/index.js +17 -17
  105. package/dist/RailList/index.js +7 -7
  106. package/dist/ReactionBar/index.js +7 -7
  107. package/dist/ReadingPane/index.js +2 -2
  108. package/dist/ReceiptStrip/index.js +4 -4
  109. package/dist/RefusalCard/index.js +3 -3
  110. package/dist/ResultTableCard/index.js +9 -9
  111. package/dist/ReviewList/index.js +3 -2
  112. package/dist/RichEditor/index.js +6 -6
  113. package/dist/SandboxedFrame/index.js +6 -6
  114. package/dist/ScopeList/index.js +8 -8
  115. package/dist/SectionFrame/index.js +5 -5
  116. package/dist/SegmentedControl/index.js +8 -8
  117. package/dist/SelectionBar/index.js +4 -4
  118. package/dist/SendButton/index.js +4 -4
  119. package/dist/SettingForm/index.js +7 -7
  120. package/dist/SettingsTable/index.js +7 -7
  121. package/dist/ShareDialog/index.js +20 -18
  122. package/dist/SheetColumnEditor/index.js +13 -13
  123. package/dist/SheetGrid/index.js +13 -11
  124. package/dist/SidePanel/index.js +5 -5
  125. package/dist/SidebarNav/index.js +4 -4
  126. package/dist/SlideCompare/index.js +4 -4
  127. package/dist/SlideFilmstrip/index.js +6 -6
  128. package/dist/SlideNav/index.js +4 -4
  129. package/dist/StatusCard/index.js +2 -2
  130. package/dist/StatusLine/index.js +3 -3
  131. package/dist/Switcher/index.js +15 -15
  132. package/dist/TableCells/TableCells.d.ts +5 -6
  133. package/dist/TableCells/index.js +9 -3
  134. package/dist/{TableCells-D7276NQT.css → TableCells-F6NJK33R.css} +0 -6
  135. package/dist/Tabs/index.js +7 -7
  136. package/dist/Tag/index.js +2 -1
  137. package/dist/TagGroup/TagGroup.d.ts +13 -13
  138. package/dist/TagGroup/index.js +8 -1
  139. package/dist/{TagGroup-VGL7ZFBK.css → TagGroup-HYJHHHA7.css} +17 -0
  140. package/dist/TagsInput/index.js +6 -5
  141. package/dist/ThemeGallery/index.js +3 -2
  142. package/dist/ThemeSwitcher/index.js +9 -9
  143. package/dist/ThemeToggle/index.js +4 -4
  144. package/dist/ThreadSummary/ThreadSummary.d.ts +1 -1
  145. package/dist/ThreadSummary/index.js +10 -3
  146. package/dist/TimeRangePicker/index.js +18 -18
  147. package/dist/TimeWindowPicker/index.js +7 -7
  148. package/dist/ToolCallLog/index.js +9 -9
  149. package/dist/Tooltip/index.js +2 -2
  150. package/dist/TreeCanvas/index.js +6 -6
  151. package/dist/TreeGrid/index.js +10 -10
  152. package/dist/ValueField/index.js +8 -8
  153. package/dist/VersionCompare/index.js +10 -10
  154. package/dist/VersionTimeline/index.js +8 -5
  155. package/dist/WorkingLine/index.js +9 -2
  156. package/dist/{chunk-P3UGTTUA.js → chunk-26G3D2L6.js} +2 -2
  157. package/dist/{chunk-WTBWYQZD.js → chunk-47QB5GE3.js} +2 -2
  158. package/dist/{chunk-4GPXNMIG.js → chunk-4ACONCV6.js} +1 -1
  159. package/dist/{chunk-H36ZMY4G.js → chunk-4ALKLFWL.js} +2 -2
  160. package/dist/{chunk-VUDSJY22.js → chunk-4D7FQUQW.js} +2 -2
  161. package/dist/{chunk-OC4WGCHE.js → chunk-4H7SEVIR.js} +2 -2
  162. package/dist/{chunk-QHPKLY4V.js → chunk-4IB7HVDN.js} +3 -3
  163. package/dist/{chunk-KEBCKP4F.js → chunk-4IXK6TFP.js} +1 -1
  164. package/dist/{chunk-KRFPANIM.js → chunk-4NOTOHF7.js} +1 -1
  165. package/dist/{chunk-LLOTZ6HR.js → chunk-4QEX2DYR.js} +2 -2
  166. package/dist/{chunk-5EAMUZAJ.js → chunk-5CDLSFYP.js} +1 -1
  167. package/dist/{chunk-FXVZ6CNV.js → chunk-5EYWFZ4G.js} +4 -4
  168. package/dist/{chunk-OR7G5T3D.js → chunk-5HDNFDNB.js} +1 -1
  169. package/dist/{chunk-AWSJWWR4.js → chunk-5LLZEA7F.js} +9 -14
  170. package/dist/{chunk-3OZCJUFS.js → chunk-5MJCHN2Y.js} +2 -2
  171. package/dist/{chunk-NZDAG5N6.js → chunk-5MPQ657T.js} +2 -2
  172. package/dist/{chunk-G5HHQ3RD.js → chunk-5WJKJGL4.js} +1 -1
  173. package/dist/{chunk-PYMHNEDI.js → chunk-6PDRZJJA.js} +1 -1
  174. package/dist/{chunk-YBJEEPEW.js → chunk-6SGMBLOE.js} +5 -5
  175. package/dist/{chunk-R4A2Y7HG.js → chunk-7LQRG3BP.js} +6 -6
  176. package/dist/{chunk-DJKUKVTV.js → chunk-7U3OHBGV.js} +1 -1
  177. package/dist/{chunk-WG7GNCUQ.js → chunk-7U6JFHJY.js} +2 -2
  178. package/dist/{chunk-UMQYZDYC.js → chunk-7WMQ7CXI.js} +1 -1
  179. package/dist/{chunk-TLMAPIWU.js → chunk-7XGUCELU.js} +1 -1
  180. package/dist/{chunk-HOIZJFYS.js → chunk-ASBBB5AJ.js} +3 -2
  181. package/dist/{chunk-Z4TGAPC7.js → chunk-BICOU6XR.js} +1 -1
  182. package/dist/{chunk-GESCIGTZ.js → chunk-BOIOUEWQ.js} +1 -1
  183. package/dist/{chunk-MITDNBO2.js → chunk-BPUGJW6X.js} +1 -1
  184. package/dist/{chunk-KOA6BBAB.js → chunk-BWNZFXBG.js} +1 -1
  185. package/dist/{chunk-P3N7FAMP.js → chunk-BYU7YSOM.js} +1 -1
  186. package/dist/{chunk-XIZI47NY.js → chunk-C6GDSC6E.js} +1 -1
  187. package/dist/{chunk-M2QGWIPH.js → chunk-CJVWQDSL.js} +3 -3
  188. package/dist/{chunk-VM73Y6TO.js → chunk-CMEZGORB.js} +1 -1
  189. package/dist/{chunk-PBTBI53V.js → chunk-COBWQMMK.js} +1 -1
  190. package/dist/{chunk-DKXMP3LN.js → chunk-CT4MHEMZ.js} +2 -2
  191. package/dist/{chunk-SFKAZSZE.js → chunk-CVWD2N24.js} +2 -2
  192. package/dist/{chunk-3ZMDQUFO.js → chunk-D3G7T4NA.js} +3 -3
  193. package/dist/{chunk-IFQIYRSS.js → chunk-D4ACFQCR.js} +4 -4
  194. package/dist/{chunk-VVAGUQ6X.js → chunk-D6UBQK3C.js} +1 -1
  195. package/dist/chunk-D7UG74JZ.js +118 -0
  196. package/dist/{chunk-RRMZ5ITI.js → chunk-DB7LW3HH.js} +1 -1
  197. package/dist/{chunk-YDUXCCW7.js → chunk-DV7KWYC6.js} +2 -2
  198. package/dist/{chunk-X6FJSY3C.js → chunk-ED24QJYL.js} +1 -1
  199. package/dist/{chunk-FF2YPFIZ.js → chunk-EGBHW6FS.js} +1 -1
  200. package/dist/{chunk-TEAHPDQM.js → chunk-EOK3VRX2.js} +3 -3
  201. package/dist/chunk-EX5XAEST.js +53 -0
  202. package/dist/{chunk-ZTJ7BV33.js → chunk-EX7WDCE6.js} +2 -2
  203. package/dist/{chunk-XZOPCQUI.js → chunk-FEMWZYZV.js} +1 -1
  204. package/dist/{chunk-WLK4PASS.js → chunk-FILFCRZH.js} +1 -1
  205. package/dist/{chunk-CLLZM2VC.js → chunk-G3RITVUB.js} +3 -3
  206. package/dist/{chunk-Z3D4J7OX.js → chunk-G7NTFDEH.js} +2 -2
  207. package/dist/{chunk-AP4LZWO2.js → chunk-GHGHV67L.js} +1 -1
  208. package/dist/{chunk-2JDLC5A4.js → chunk-GOT5UZL6.js} +1 -1
  209. package/dist/{chunk-LNS3I6MG.js → chunk-GP55BQOQ.js} +1 -1
  210. package/dist/{chunk-L2EXZQZA.js → chunk-GY6RAKJM.js} +1 -1
  211. package/dist/{chunk-TICGBUBC.js → chunk-HBTORBNN.js} +2 -2
  212. package/dist/{chunk-MYAC6NMF.js → chunk-HGDZBOOE.js} +1 -1
  213. package/dist/{chunk-6TW6XV3W.js → chunk-I3EWAX3N.js} +1 -1
  214. package/dist/{chunk-FGBEJO25.js → chunk-I5RG7LR5.js} +2 -2
  215. package/dist/{chunk-UIE54JPW.js → chunk-IIGKE3AY.js} +2 -2
  216. package/dist/{chunk-SVC4NFQ3.js → chunk-IYDJFY5L.js} +3 -3
  217. package/dist/{chunk-65SCXN7P.js → chunk-J3OWDELP.js} +2 -2
  218. package/dist/{chunk-NFTCYCN4.js → chunk-J7NARUI4.js} +1 -1
  219. package/dist/{chunk-IUCQ5WOX.js → chunk-JE65SZHC.js} +1 -1
  220. package/dist/{chunk-NYIVZNML.js → chunk-JIBK6CQZ.js} +7 -7
  221. package/dist/{chunk-HWVGUUOF.js → chunk-JKPY3EHV.js} +2 -2
  222. package/dist/{chunk-AQ4Q6QWY.js → chunk-JWDEGRY6.js} +1 -1
  223. package/dist/{chunk-J73XXTGG.js → chunk-JXDV6B37.js} +1 -1
  224. package/dist/{chunk-GI2QI2HZ.js → chunk-JYP6IRMH.js} +2 -2
  225. package/dist/{chunk-D54HL3AN.js → chunk-JZNUS4AP.js} +2 -2
  226. package/dist/{chunk-4TQQLRGW.js → chunk-KDQRERFV.js} +1 -1
  227. package/dist/{chunk-JSYAITYQ.js → chunk-KE7EIOST.js} +1 -1
  228. package/dist/{chunk-PIKB6IDR.js → chunk-KFX6FQKU.js} +1 -1
  229. package/dist/{chunk-NGHRKHT5.js → chunk-KOTOBDOA.js} +5 -5
  230. package/dist/{chunk-TJWV4TYG.js → chunk-KVZAUSAG.js} +5 -5
  231. package/dist/{chunk-PEUKUZGJ.js → chunk-L4M3EOCH.js} +8 -8
  232. package/dist/{chunk-UNYT6KEK.js → chunk-LCJC3LTP.js} +1 -1
  233. package/dist/{chunk-RMBPTHLK.js → chunk-LMP2Y7PZ.js} +3 -3
  234. package/dist/{chunk-KH4HKMXF.js → chunk-LSQ5BNLZ.js} +2 -2
  235. package/dist/{chunk-QBLBUPHO.js → chunk-M34LSGMH.js} +1 -1
  236. package/dist/{chunk-2EBAGM5E.js → chunk-MB2C2GGW.js} +3 -3
  237. package/dist/{chunk-LL5H2Q5B.js → chunk-MNI7ST26.js} +50 -9
  238. package/dist/{chunk-6JPM2FL7.js → chunk-NFLSK6T3.js} +1 -1
  239. package/dist/{chunk-XDTWKLEX.js → chunk-NIPRTH7C.js} +1 -1
  240. package/dist/{chunk-JYJ24UUX.js → chunk-NMIXL2YH.js} +1 -1
  241. package/dist/{chunk-NRE7D5JZ.js → chunk-O7KT5EIN.js} +3 -3
  242. package/dist/{chunk-SQZZHFPD.js → chunk-OIK5M2Y4.js} +2 -2
  243. package/dist/{chunk-33OEAV6E.js → chunk-OKQD3RCB.js} +1 -1
  244. package/dist/{chunk-SMYOELVW.js → chunk-OYTOXZFX.js} +1 -1
  245. package/dist/{chunk-RFJI4VGF.js → chunk-PHA2MBXY.js} +2 -2
  246. package/dist/{chunk-PJMDWQC2.js → chunk-PTG3UCID.js} +1 -1
  247. package/dist/{chunk-UOM3W67U.js → chunk-PUH4MQJL.js} +1 -1
  248. package/dist/{chunk-FD4E352A.js → chunk-Q3R67DIG.js} +2 -2
  249. package/dist/{chunk-CWYHS4IT.js → chunk-QFNXUWTJ.js} +5 -5
  250. package/dist/{chunk-MZFJ3G2I.js → chunk-QJFCSVUH.js} +1 -1
  251. package/dist/{chunk-JBIIOFJE.js → chunk-QMKBFOPR.js} +1 -1
  252. package/dist/{chunk-5WPNDMMI.js → chunk-R3UFA2S5.js} +1 -1
  253. package/dist/{chunk-XGWNL65J.js → chunk-S34V3QCH.js} +7 -7
  254. package/dist/{chunk-DJXY65LN.js → chunk-S3WUN7GH.js} +3 -3
  255. package/dist/{chunk-YOFE374H.js → chunk-S7QCEP6W.js} +1 -1
  256. package/dist/{chunk-L4BKQVXX.js → chunk-SQPT4UZ4.js} +1 -1
  257. package/dist/{chunk-JTQKEICA.js → chunk-SVM2JD3B.js} +3 -3
  258. package/dist/{chunk-UTPLRVXN.js → chunk-SVXMZH3R.js} +2 -2
  259. package/dist/{chunk-JWHXDVN5.js → chunk-T7Y5FM4B.js} +16 -6
  260. package/dist/{chunk-VPRD5NWJ.js → chunk-TCBV4K7V.js} +1 -1
  261. package/dist/{chunk-G3VFOXSQ.js → chunk-TZ3K5SVW.js} +8 -8
  262. package/dist/{chunk-UJYSDWQ7.js → chunk-TZLOZM2G.js} +1 -1
  263. package/dist/{chunk-JPVJD4BO.js → chunk-U4VEL442.js} +2 -2
  264. package/dist/{chunk-SZKYOOCS.js → chunk-U7JKO2RL.js} +1 -1
  265. package/dist/{chunk-QFO375KV.js → chunk-UBXJBVYV.js} +3 -3
  266. package/dist/{chunk-KHELXOOP.js → chunk-UIA7FKDE.js} +2 -2
  267. package/dist/{chunk-TPVEFQ42.js → chunk-UR353M5W.js} +1 -1
  268. package/dist/{chunk-PEEIVTQG.js → chunk-VGRGEH32.js} +3 -3
  269. package/dist/{chunk-3LJHDMAZ.js → chunk-VV62BOH2.js} +2 -2
  270. package/dist/{chunk-G5W5ZLIL.js → chunk-W3YTURNG.js} +3 -3
  271. package/dist/{chunk-OYFFSNKJ.js → chunk-W5MDEFMS.js} +1 -1
  272. package/dist/{chunk-G7YITKUF.js → chunk-WDVENT6N.js} +4 -4
  273. package/dist/{chunk-TEHDRA7W.js → chunk-WFWKKLDK.js} +3 -3
  274. package/dist/{chunk-MZ77QMIB.js → chunk-WHNKZFUH.js} +2 -2
  275. package/dist/{chunk-SR5GHUP5.js → chunk-WLIODLUL.js} +1 -1
  276. package/dist/{chunk-GRJAQET6.js → chunk-X3BYIOSI.js} +5 -5
  277. package/dist/{chunk-72CY2Y2Y.js → chunk-X3THIGNC.js} +1 -1
  278. package/dist/{chunk-JLZ37UFI.js → chunk-XIPD2GDD.js} +3 -3
  279. package/dist/{chunk-2XKPQBAX.js → chunk-XKXO7EAT.js} +1 -1
  280. package/dist/{chunk-CVKCSJ5F.js → chunk-XS7NYCTQ.js} +3 -3
  281. package/dist/{chunk-2MIIVSYH.js → chunk-YDZJIG2Z.js} +3 -3
  282. package/dist/{chunk-XNPNHB6A.js → chunk-YIKYV3S6.js} +1 -1
  283. package/dist/{chunk-SKTLAJNA.js → chunk-YLXOP5KR.js} +1 -1
  284. package/dist/{chunk-H7L4ZEVN.js → chunk-YXRC2NSO.js} +1 -1
  285. package/dist/{chunk-EXQNU4IQ.js → chunk-Z5JGQOIH.js} +2 -2
  286. package/dist/{chunk-OTXMMGEO.js → chunk-Z6K7XR6S.js} +3 -3
  287. package/dist/{chunk-SEBNQVEU.js → chunk-ZDHQ5ZDT.js} +3 -3
  288. package/dist/{chunk-JZN5VTHT.js → chunk-ZGVOP3IS.js} +3 -3
  289. package/dist/{chunk-UJSD6N7V.js → chunk-ZRRJY3KA.js} +1 -1
  290. package/dist/{chunk-VG3QSR5H.js → chunk-ZSFLCSN3.js} +2 -2
  291. package/dist/{chunk-VYIEO3JD.js → chunk-ZU5M74J5.js} +2 -2
  292. package/dist/generated/index.d.ts +1 -0
  293. package/dist/generated/index.js +163 -162
  294. package/dist/index.js +163 -162
  295. package/dist/styles.css +146 -9
  296. package/dist/utils/index.js +2 -2
  297. package/package.json +3 -3
  298. package/dist/chunk-FOUIZS7Q.js +0 -92
  299. package/dist/{chunk-YDDWUJ4O.js → chunk-7ZBJ7YTF.js} +0 -0
  300. package/dist/{chunk-6U5JDH3O.js → chunk-DF3LU2RW.js} +1 -1
  301. package/dist/{chunk-QB3VHZRB.js → chunk-KOBTCG2T.js} +1 -1
  302. package/dist/{chunk-XZ47PWVD.js → chunk-LXPA2SRT.js} +1 -1
@@ -1,6 +1,6 @@
1
- import { ReceiptStrip } from './chunk-UNYT6KEK.js';
1
+ import { ReceiptStrip } from './chunk-LCJC3LTP.js';
2
2
  import { Meter } from './chunk-MXOT2CWL.js';
3
- import { StatusCard } from './chunk-SR5GHUP5.js';
3
+ import { StatusCard } from './chunk-WLIODLUL.js';
4
4
  import { StepList } from './chunk-2MN3RNRM.js';
5
5
  import { Disclosure } from './chunk-RUROK3EU.js';
6
6
  import { Spinner } from './chunk-XSPCITPN.js';
@@ -1,5 +1,5 @@
1
1
  import { useClipboard } from './chunk-STJ7QBC3.js';
2
- import { Button } from './chunk-JYJ24UUX.js';
2
+ import { Button } from './chunk-NMIXL2YH.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { useCallback } from 'react';
5
5
  import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
@@ -1,7 +1,7 @@
1
1
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
2
2
  import { RelativeTime } from './chunk-GBKBME7Q.js';
3
3
  import { Timeline } from './chunk-XDUXAQIS.js';
4
- import { Button } from './chunk-JYJ24UUX.js';
4
+ import { Button } from './chunk-NMIXL2YH.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,11 +1,11 @@
1
1
  import { Select } from './chunk-D5UVJL4I.js';
2
2
  import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
4
- import { CopyButton } from './chunk-G5HHQ3RD.js';
5
- import { Modal } from './chunk-TJWV4TYG.js';
6
- import { Callout } from './chunk-UJYSDWQ7.js';
7
- import { Button } from './chunk-JYJ24UUX.js';
8
- import { IconButton } from './chunk-VM73Y6TO.js';
4
+ import { CopyButton } from './chunk-5WJKJGL4.js';
5
+ import { Modal } from './chunk-KVZAUSAG.js';
6
+ import { Callout } from './chunk-TZLOZM2G.js';
7
+ import { Button } from './chunk-NMIXL2YH.js';
8
+ import { IconButton } from './chunk-CMEZGORB.js';
9
9
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './ShareDialog-72VTMM4K.css';
@@ -1,13 +1,13 @@
1
1
  import { Select } from './chunk-D5UVJL4I.js';
2
2
  import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
3
- import { HueSwatch } from './chunk-6JPM2FL7.js';
3
+ import { HueSwatch } from './chunk-NFLSK6T3.js';
4
4
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
- import { Menu } from './chunk-QHPKLY4V.js';
5
+ import { Menu } from './chunk-4IB7HVDN.js';
6
6
  import { Kbd } from './chunk-VBBLHS2Y.js';
7
- import { Checkbox } from './chunk-X6FJSY3C.js';
8
- import { Button } from './chunk-JYJ24UUX.js';
9
- import { FormField, Input } from './chunk-KH4HKMXF.js';
10
- import { IconButton } from './chunk-VM73Y6TO.js';
7
+ import { Checkbox } from './chunk-ED24QJYL.js';
8
+ import { Button } from './chunk-NMIXL2YH.js';
9
+ import { FormField, Input } from './chunk-LSQ5BNLZ.js';
10
+ import { IconButton } from './chunk-CMEZGORB.js';
11
11
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
12
12
  import { cx } from './chunk-ODEQTPFM.js';
13
13
  import './SheetColumnEditor-BO2HKFRB.css';
@@ -1,5 +1,5 @@
1
1
  import { SlideStage } from './chunk-7O53SWKI.js';
2
- import { Menu } from './chunk-QHPKLY4V.js';
2
+ import { Menu } from './chunk-4IB7HVDN.js';
3
3
  import { useReorder } from './chunk-JMBPMSNI.js';
4
4
  import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,8 +1,8 @@
1
- import { TreeGrid } from './chunk-G7YITKUF.js';
1
+ import { TreeGrid } from './chunk-WDVENT6N.js';
2
2
  import { OrgLabel } from './chunk-NIM7LEEI.js';
3
3
  import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
4
4
  import { AddPill } from './chunk-5CCM3DDA.js';
5
- import { IconButton } from './chunk-VM73Y6TO.js';
5
+ import { IconButton } from './chunk-CMEZGORB.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './OrgTable-5NXRECVP.css';
8
8
  import { useMemo, useRef, useImperativeHandle, useCallback } from 'react';
@@ -1,4 +1,4 @@
1
- import { SegmentedControl } from './chunk-4GPXNMIG.js';
1
+ import { SegmentedControl } from './chunk-4ACONCV6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { IconTile } from './chunk-VRVNLJUA.js';
2
- import { Tag } from './chunk-HOIZJFYS.js';
2
+ import { Tag } from './chunk-ASBBB5AJ.js';
3
3
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ReviewList-2IZA67EX.css';
@@ -1,8 +1,9 @@
1
1
  import { StatusDot } from './chunk-QRE6JCHS.js';
2
+ import { titleWhenCut } from './chunk-WSIJDWUG.js';
2
3
  import { cx } from './chunk-ODEQTPFM.js';
3
4
  import './Tag-H2EA4ZCW.css';
4
5
  import { XGlyph } from '@crewlethq/icons/glyphs';
5
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
6
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
6
7
 
7
8
  function Tag(props) {
8
9
  const {
@@ -51,7 +52,7 @@ function Tag(props) {
51
52
  const inner = /* @__PURE__ */ jsxs(Fragment, { children: [
52
53
  dot ? /* @__PURE__ */ jsx(StatusDot, { tone: hue === void 0 ? variant : "neutral", className: "crewlet-tag__dot" }) : null,
53
54
  leadingIcon ? /* @__PURE__ */ jsx("span", { className: "crewlet-tag__icon", "aria-hidden": true, children: leadingIcon }) : null,
54
- /* @__PURE__ */ jsx("span", { className: "crewlet-tag__label", children }),
55
+ /* @__PURE__ */ jsx("span", { className: "crewlet-tag__label", onMouseEnter: rest.title === void 0 ? titleWhenCut : void 0, children }),
55
56
  count === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-tag__count", children: count })
56
57
  ] });
57
58
  const remove = onRemove === void 0 ? null : /* @__PURE__ */ jsx(
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-VM73Y6TO.js';
1
+ import { IconButton } from './chunk-CMEZGORB.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './FilterPill-C6LFYCCA.css';
4
4
  import { XGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-JYJ24UUX.js';
1
+ import { Button } from './chunk-NMIXL2YH.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './Clamp-Q5WKCGWY.css';
4
4
  import { useState, useCallback, useRef, useId, useLayoutEffect } from 'react';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-VM73Y6TO.js';
1
+ import { IconButton } from './chunk-CMEZGORB.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './PinTile-OWS7JTHD.css';
4
4
  import { forwardRef } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-4GPXNMIG.js';
2
+ import { SegmentedControl } from './chunk-4ACONCV6.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,4 +1,4 @@
1
- import { AvatarStack } from './chunk-JWHXDVN5.js';
1
+ import { AvatarStack } from './chunk-T7Y5FM4B.js';
2
2
  import { Avatar } from './chunk-YMFFGPFE.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { Button } from './chunk-JYJ24UUX.js';
2
+ import { Button } from './chunk-NMIXL2YH.js';
3
3
  import { announce } from './chunk-WGMKERCR.js';
4
4
  import { returnFocus } from './chunk-4ITETIGZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,8 +1,8 @@
1
1
  import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
- import { Button } from './chunk-JYJ24UUX.js';
4
- import { IconButton } from './chunk-VM73Y6TO.js';
5
- import { Tooltip } from './chunk-QB3VHZRB.js';
3
+ import { Button } from './chunk-NMIXL2YH.js';
4
+ import { IconButton } from './chunk-CMEZGORB.js';
5
+ import { Tooltip } from './chunk-KOBTCG2T.js';
6
6
  import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-AVJKMQXK.js';
7
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
8
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
1
  import { heldHint } from './chunk-TDFLCUBE.js';
2
- import { Tooltip } from './chunk-QB3VHZRB.js';
2
+ import { Tooltip } from './chunk-KOBTCG2T.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './IconButton-QIJJCVNG.css';
@@ -1,5 +1,5 @@
1
1
  import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
2
- import { Tooltip } from './chunk-QB3VHZRB.js';
2
+ import { Tooltip } from './chunk-KOBTCG2T.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChangeMark-KFDGBF6G.css';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
- import { Checkbox } from './chunk-X6FJSY3C.js';
2
- import { IconButton } from './chunk-VM73Y6TO.js';
1
+ import { Checkbox } from './chunk-ED24QJYL.js';
2
+ import { IconButton } from './chunk-CMEZGORB.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
5
5
  import { useId, useState } from 'react';
@@ -1,6 +1,6 @@
1
- import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-TICGBUBC.js';
1
+ import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-HBTORBNN.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-QB3VHZRB.js';
3
+ import { Tooltip } from './chunk-KOBTCG2T.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ChatScale-LGESYXCO.css';
6
6
  import './ReactionBar-JMX75TMV.css';
@@ -2,11 +2,11 @@ import { PrincipalAvatar } from './chunk-265IX4YA.js';
2
2
  import { RelativeTime } from './chunk-GBKBME7Q.js';
3
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
4
4
  import { Card } from './chunk-G732IWP4.js';
5
- import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
6
5
  import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
6
+ import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
7
7
  import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
8
- import { AvatarStack } from './chunk-JWHXDVN5.js';
9
- import { Checkbox } from './chunk-X6FJSY3C.js';
8
+ import { AvatarStack } from './chunk-T7Y5FM4B.js';
9
+ import { Checkbox } from './chunk-ED24QJYL.js';
10
10
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
11
11
  import { cx } from './chunk-ODEQTPFM.js';
12
12
  import './ArtifactKinds-27TE3KJL.css';
@@ -1,9 +1,9 @@
1
- import { GridHeadCell } from './chunk-QBLBUPHO.js';
2
- import { copyGlyph, CopyStatus } from './chunk-G5HHQ3RD.js';
1
+ import { GridHeadCell } from './chunk-M34LSGMH.js';
2
+ import { copyGlyph, CopyStatus } from './chunk-5WJKJGL4.js';
3
3
  import { useClipboard } from './chunk-STJ7QBC3.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
- import { Button } from './chunk-JYJ24UUX.js';
6
- import { IconButton } from './chunk-VM73Y6TO.js';
5
+ import { Button } from './chunk-NMIXL2YH.js';
6
+ import { IconButton } from './chunk-CMEZGORB.js';
7
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './DataGrid-K2L4ZOUH.css';
@@ -3,7 +3,7 @@ import { LockedLabel } from './chunk-TODOBUXO.js';
3
3
  import { KeyChip } from './chunk-HBDA76EZ.js';
4
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
5
  import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
6
- import { Button } from './chunk-JYJ24UUX.js';
6
+ import { Button } from './chunk-NMIXL2YH.js';
7
7
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './HitArea-QUOS6ZDJ.css';
@@ -0,0 +1,118 @@
1
+ import { shownBeforeOverflow, ListOverflow, overflowWords } from './chunk-EX5XAEST.js';
2
+ import { useAnnouncer } from './chunk-WGMKERCR.js';
3
+ import { cx } from './chunk-ODEQTPFM.js';
4
+ import './TagGroup-HYJHHHA7.css';
5
+ import { useState, useRef, Children, isValidElement, useLayoutEffect } from 'react';
6
+ import { jsxs, jsx } from 'react/jsx-runtime';
7
+
8
+ function TagGroup({
9
+ label,
10
+ max = 6,
11
+ overflow = "expand",
12
+ noun,
13
+ countOnly = false,
14
+ moreLabel = (hidden) => overflowWords(hidden, noun),
15
+ countLabel = (hidden) => overflowWords(hidden, noun),
16
+ expandedMessage = (total) => `Showing all ${total}.`,
17
+ className,
18
+ children
19
+ }) {
20
+ const [open, setOpen] = useState(false);
21
+ const announce = useAnnouncer();
22
+ const list = useRef(null);
23
+ const all = Children.toArray(children);
24
+ const fit = overflow === "fit";
25
+ const signature = all.map((tag) => isValidElement(tag) ? String(tag.key) : String(tag)).join("\0");
26
+ const fitted = useFitted(list, fit, all.length, signature);
27
+ const xs = all.some((tag) => isValidElement(tag) && tag.props.size === "xs");
28
+ const shown = fit ? all.slice(0, fitted) : open ? all : all.slice(0, shownBeforeOverflow(all.length, max));
29
+ const hidden = all.length - shown.length;
30
+ return /* @__PURE__ */ jsxs(
31
+ "ul",
32
+ {
33
+ ref: list,
34
+ tabIndex: -1,
35
+ className: cx("crewlet-tag-group", fit && "crewlet-tag-group--fit", className),
36
+ "data-folded": fit && hidden > 0 && shown.length === 1 ? "" : void 0,
37
+ "aria-label": `${label}, ${all.length}`,
38
+ children: [
39
+ shown.map((tag, index) => (
40
+ // Keyed by position: the list only ever grows at the end, as the tail
41
+ // is revealed, so no item ever changes the index it sits at.
42
+ /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: tag }, index)
43
+ )),
44
+ hidden > 0 && fit && countOnly ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", "data-count": "", children: /* @__PURE__ */ jsx("span", { className: "crewlet-tag-group__count", children: countLabel(hidden) }) }) : hidden > 0 && fit ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", "data-count": "", children: /* @__PURE__ */ jsx(ListOverflow, { items: all.slice(shown.length), noun, size: xs ? "xs" : "sm", label: `${label}, ${hidden} more`, children: shown.length === 0 ? allWords(hidden, noun) : countLabel(hidden) }) }) : hidden > 0 ? /* @__PURE__ */ jsx("li", { className: "crewlet-tag-group__item", children: /* @__PURE__ */ jsx(
45
+ "button",
46
+ {
47
+ type: "button",
48
+ className: "crewlet-tag-group__more",
49
+ onClick: () => {
50
+ setOpen(true);
51
+ list.current?.focus();
52
+ announce(expandedMessage(all.length));
53
+ },
54
+ children: moreLabel(hidden)
55
+ }
56
+ ) }) : null
57
+ ]
58
+ }
59
+ );
60
+ }
61
+ function allWords(count, noun) {
62
+ return noun === void 0 ? `Show ${count}` : `${count.toLocaleString()} ${count === 1 ? noun.one : noun.other}`;
63
+ }
64
+ var MIN_TAG = 48;
65
+ function fitCount(room, widths, chip, gap) {
66
+ const span = (n) => widths.slice(0, n).reduce((sum, width) => sum + width, 0) + gap * Math.max(0, n - 1);
67
+ if (span(widths.length) <= room) return widths.length;
68
+ for (let n = widths.length - 1; n >= 1; n -= 1) if (span(n) + gap + chip <= room) return n;
69
+ return room - chip - gap >= MIN_TAG ? 1 : 0;
70
+ }
71
+ function useFitted(list, active, total, signature) {
72
+ const [fitted, setFitted] = useState(total);
73
+ const [round, setRound] = useState(0);
74
+ const widths = useRef(null);
75
+ useLayoutEffect(() => {
76
+ if (!active) return void 0;
77
+ const remeasure = () => {
78
+ widths.current = null;
79
+ setFitted(total);
80
+ setRound((n) => n + 1);
81
+ };
82
+ remeasure();
83
+ let live = true;
84
+ void document.fonts?.ready.then(() => live && remeasure());
85
+ return () => {
86
+ live = false;
87
+ };
88
+ }, [active, total, signature]);
89
+ useLayoutEffect(() => {
90
+ const box = list.current;
91
+ if (!active || !box || box.clientWidth === 0) return;
92
+ const items = [...box.children];
93
+ const tags = items.filter((item) => !item.hasAttribute("data-count"));
94
+ if (widths.current === null) {
95
+ if (tags.length < total) return;
96
+ widths.current = tags.map((tag) => tag.offsetWidth);
97
+ }
98
+ const chip = items.find((item) => item.hasAttribute("data-count"))?.offsetWidth ?? 0;
99
+ const gap = parseFloat(getComputedStyle(box).columnGap) || 0;
100
+ const next = fitCount(box.clientWidth, widths.current, chip, gap);
101
+ if (next !== fitted) setFitted(next);
102
+ }, [list, active, total, fitted, round]);
103
+ useLayoutEffect(() => {
104
+ const box = list.current;
105
+ if (!active || !box || typeof ResizeObserver !== "function") return void 0;
106
+ let last = null;
107
+ const observer = new ResizeObserver(([entry]) => {
108
+ const now = entry?.contentRect.width ?? 0;
109
+ if (last !== null && last !== now) setRound((n) => n + 1);
110
+ last = now;
111
+ });
112
+ observer.observe(box);
113
+ return () => observer.disconnect();
114
+ }, [list, active]);
115
+ return active ? fitted : total;
116
+ }
117
+
118
+ export { TagGroup };
@@ -1,5 +1,5 @@
1
1
  import { minorUnits, parseMoney } from './chunk-G6DKKJN6.js';
2
- import { Input } from './chunk-KH4HKMXF.js';
2
+ import { Input } from './chunk-LSQ5BNLZ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MoneyField-4PHZWHJL.css';
5
5
  import { forwardRef, useId } from 'react';
@@ -1,5 +1,5 @@
1
- import { AvatarStack } from './chunk-JWHXDVN5.js';
2
- import { Tag } from './chunk-HOIZJFYS.js';
1
+ import { AvatarStack } from './chunk-T7Y5FM4B.js';
2
+ import { Tag } from './chunk-ASBBB5AJ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChatScale-LGESYXCO.css';
5
5
  import './ThreadSummary-3AODTHAM.css';
@@ -1,4 +1,4 @@
1
- import { FormField } from './chunk-KH4HKMXF.js';
1
+ import { FormField } from './chunk-LSQ5BNLZ.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Checkbox-GAMV2XD7.css';
@@ -1,5 +1,5 @@
1
1
  import { useSendOnEnter, SendKeysHint } from './chunk-YUVQUJND.js';
2
- import { Textarea } from './chunk-KH4HKMXF.js';
2
+ import { Textarea } from './chunk-LSQ5BNLZ.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ChatScale-LGESYXCO.css';
@@ -1,9 +1,9 @@
1
1
  import { Timeline } from './chunk-XDUXAQIS.js';
2
2
  import { Section } from './chunk-WFCWPXJN.js';
3
- import { Composer } from './chunk-FF2YPFIZ.js';
4
- import { ArtifactPanel } from './chunk-MYAC6NMF.js';
3
+ import { Composer } from './chunk-EGBHW6FS.js';
4
+ import { ArtifactPanel } from './chunk-HGDZBOOE.js';
5
5
  import { Disclosure } from './chunk-RUROK3EU.js';
6
- import { Button } from './chunk-JYJ24UUX.js';
6
+ import { Button } from './chunk-NMIXL2YH.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './AgentHandoffPanel-AIU7YWWB.css';
9
9
  import { useId, useRef, useEffect } from 'react';
@@ -0,0 +1,53 @@
1
+ import { Popover } from './chunk-AJFA2XDQ.js';
2
+ import { titleWhenCut } from './chunk-WSIJDWUG.js';
3
+ import { cx } from './chunk-ODEQTPFM.js';
4
+ import './ListOverflow-DKZTZHGZ.css';
5
+ import { jsx } from 'react/jsx-runtime';
6
+
7
+ function overflowWords(count, noun) {
8
+ const n = count.toLocaleString();
9
+ if (noun === void 0) return `+${n} more`;
10
+ return `+${n} more ${count === 1 ? noun.one : noun.other}`;
11
+ }
12
+ function shownBeforeOverflow(total, max) {
13
+ return total <= max + 1 ? total : max;
14
+ }
15
+ function ListOverflow({
16
+ items,
17
+ count,
18
+ noun,
19
+ children,
20
+ label,
21
+ size = "sm",
22
+ align = "start",
23
+ className
24
+ }) {
25
+ const words = overflowWords(typeof items === "function" ? count ?? 0 : items.length, noun);
26
+ return /* @__PURE__ */ jsx(
27
+ Popover,
28
+ {
29
+ label: label ?? words.slice(1),
30
+ align,
31
+ className: "crewlet-list-overflow__panel",
32
+ trigger: (open, toggle) => /* @__PURE__ */ jsx(
33
+ "button",
34
+ {
35
+ type: "button",
36
+ className: cx("crewlet-list-overflow", `crewlet-list-overflow--${size}`, className),
37
+ "data-open": open || void 0,
38
+ onClick: (event) => {
39
+ event.stopPropagation();
40
+ toggle();
41
+ },
42
+ onKeyDown: (event) => {
43
+ if (event.key === "Enter" || event.key === " ") event.stopPropagation();
44
+ },
45
+ children: /* @__PURE__ */ jsx("span", { className: "crewlet-list-overflow__words", onMouseEnter: titleWhenCut, children: children ?? words })
46
+ }
47
+ ),
48
+ children: (close) => /* @__PURE__ */ jsx("ul", { className: "crewlet-list-overflow__list", children: (typeof items === "function" ? items(close) : items).map((item, index) => /* @__PURE__ */ jsx("li", { className: "crewlet-list-overflow__item", children: item }, index)) })
49
+ }
50
+ );
51
+ }
52
+
53
+ export { ListOverflow, overflowWords, shownBeforeOverflow };
@@ -1,7 +1,7 @@
1
- import { copyGlyph, CopyStatus } from './chunk-G5HHQ3RD.js';
1
+ import { copyGlyph, CopyStatus } from './chunk-5WJKJGL4.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
3
  import { pathBreaks } from './chunk-HZXS5CEL.js';
4
- import { IconButton } from './chunk-VM73Y6TO.js';
4
+ import { IconButton } from './chunk-CMEZGORB.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './Copyable-CMT2N2JE.css';
7
7
  import { useCallback } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { RelativeTime } from './chunk-GBKBME7Q.js';
2
2
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
- import { Tag } from './chunk-HOIZJFYS.js';
3
+ import { Tag } from './chunk-ASBBB5AJ.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './HitArea-QUOS6ZDJ.css';
@@ -1,5 +1,5 @@
1
1
  import { announce } from './chunk-WGMKERCR.js';
2
- import { IconButton } from './chunk-VM73Y6TO.js';
2
+ import { IconButton } from './chunk-CMEZGORB.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-BW76K5LZ.css';
5
5
  import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { IconTile } from './chunk-VRVNLJUA.js';
2
- import { ReceiptStrip } from './chunk-UNYT6KEK.js';
3
- import { StatusCard } from './chunk-SR5GHUP5.js';
2
+ import { ReceiptStrip } from './chunk-LCJC3LTP.js';
3
+ import { StatusCard } from './chunk-WLIODLUL.js';
4
4
  import { safeHref } from './chunk-KMTOGF6T.js';
5
- import { ButtonLink, Button } from './chunk-JYJ24UUX.js';
5
+ import { ButtonLink, Button } from './chunk-NMIXL2YH.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './OpenInAppCard-CKHCK7DO.css';
8
8
  import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
@@ -1,8 +1,8 @@
1
1
  import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
- import { StatusCard } from './chunk-SR5GHUP5.js';
3
+ import { StatusCard } from './chunk-WLIODLUL.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
- import { Button } from './chunk-JYJ24UUX.js';
5
+ import { Button } from './chunk-NMIXL2YH.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './BriefCard-QCL7MVUV.css';
8
8
  import { useEffect } from 'react';
@@ -1,4 +1,4 @@
1
- import { Tooltip } from './chunk-QB3VHZRB.js';
1
+ import { Tooltip } from './chunk-KOBTCG2T.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChatScale-LGESYXCO.css';
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex } from './chunk-7W3LYIOC.js';
2
- import { Tag } from './chunk-HOIZJFYS.js';
2
+ import { Tag } from './chunk-ASBBB5AJ.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ContrastBadge-CBZPGG3G.css';
@@ -1,7 +1,7 @@
1
1
  import { Eyebrow } from './chunk-RK4XPHVG.js';
2
2
  import { InlineCode } from './chunk-W4UJWFCZ.js';
3
+ import { Checkbox } from './chunk-ED24QJYL.js';
3
4
  import { titleWhenCut } from './chunk-WSIJDWUG.js';
4
- import { Checkbox } from './chunk-X6FJSY3C.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './ConsequenceList-EEXTCT6J.css';
7
7
  import { useId } from 'react';
@@ -1,4 +1,4 @@
1
- import { SidebarNav } from './chunk-VVAGUQ6X.js';
1
+ import { SidebarNav } from './chunk-D6UBQK3C.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SectionFrame-M62UUVFQ.css';
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
2
  import { Popover } from './chunk-AJFA2XDQ.js';
3
- import { Input } from './chunk-KH4HKMXF.js';
4
- import { Tooltip } from './chunk-QB3VHZRB.js';
3
+ import { Input } from './chunk-LSQ5BNLZ.js';
4
+ import { Tooltip } from './chunk-KOBTCG2T.js';
5
5
  import { isComposing } from './chunk-EDPMHSLZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './EmojiPicker-V6XM56GJ.css';
@@ -1,4 +1,4 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-GI2QI2HZ.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-JYP6IRMH.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-W6GA5OO6.css';
@@ -1,5 +1,5 @@
1
1
  import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
2
- import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-M2QGWIPH.js';
2
+ import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-CJVWQDSL.js';
3
3
  import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
4
4
  import { focusables } from './chunk-EDPMHSLZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { ShortcutTip } from './chunk-M2QGWIPH.js';
3
- import { IconButton } from './chunk-VM73Y6TO.js';
2
+ import { ShortcutTip } from './chunk-CJVWQDSL.js';
3
+ import { IconButton } from './chunk-CMEZGORB.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './CanvasToolbar-EM5EVZED.css';
6
6
  import { jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
2
2
  import { Avatar } from './chunk-YMFFGPFE.js';
3
- import { Button } from './chunk-JYJ24UUX.js';
4
- import { IconButton } from './chunk-VM73Y6TO.js';
3
+ import { Button } from './chunk-NMIXL2YH.js';
4
+ import { IconButton } from './chunk-CMEZGORB.js';
5
5
  import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './PeopleRail-MRUSDGCZ.css';