@crewlethq/ui 0.110.0 → 0.112.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 (277) hide show
  1. package/dist/ActivityLine/index.js +1 -1
  2. package/dist/AgentHandoffPanel/index.js +9 -8
  3. package/dist/AppShell/index.js +5 -5
  4. package/dist/ArrangeFrame/index.js +3 -3
  5. package/dist/ArrangeList/index.js +6 -5
  6. package/dist/ArtifactBar/index.js +7 -7
  7. package/dist/ArtifactCard/index.js +8 -7
  8. package/dist/ArtifactPanel/index.js +4 -4
  9. package/dist/AttentionList/index.js +3 -3
  10. package/dist/Avatar/AvatarStack.d.ts +9 -3
  11. package/dist/Avatar/index.js +1 -1
  12. package/dist/AvatarPicker/index.js +9 -9
  13. package/dist/{AvatarStack-EQZZJZ3V.css → AvatarStack-GNEJHEU6.css} +20 -0
  14. package/dist/BriefCard/index.js +3 -3
  15. package/dist/Button/index.js +2 -2
  16. package/dist/Canvas/index.js +4 -4
  17. package/dist/CanvasBoard/index.js +6 -6
  18. package/dist/CanvasToolbar/index.js +5 -5
  19. package/dist/ChangeMark/index.js +2 -2
  20. package/dist/ChatDay/ChatDay.d.ts +3 -1
  21. package/dist/ChatDay/index.js +2 -2
  22. package/dist/ChatDivider/ChatDivider.d.ts +8 -1
  23. package/dist/ChatDivider/index.js +1 -1
  24. package/dist/{ChatDivider-7SPCQXUQ.css → ChatDivider-BRODST2E.css} +23 -0
  25. package/dist/ChatMessage/ChatMessage.d.ts +10 -3
  26. package/dist/ChatMessage/index.js +4 -4
  27. package/dist/{ChatMessage-OJO6ASZP.css → ChatMessage-SZGZT7O2.css} +35 -0
  28. package/dist/{ChatScale-ST24RFPO.css → ChatScale-6NM4TP7R.css} +6 -3
  29. package/dist/ChatThread/index.js +4 -4
  30. package/dist/CheckGrid/index.js +6 -5
  31. package/dist/Checkbox/index.js +5 -4
  32. package/dist/CodeBlock/CodeBlock.d.ts +14 -1
  33. package/dist/CodeBlock/index.d.ts +1 -1
  34. package/dist/CodeBlock/index.js +5 -5
  35. package/dist/{CodeBlock-T47UA5GM.css → CodeBlock-LS7H6KUQ.css} +45 -0
  36. package/dist/ColorField/index.js +5 -4
  37. package/dist/ColorSwatch/index.js +5 -5
  38. package/dist/Combobox/index.js +5 -4
  39. package/dist/CommandPalette/index.js +7 -6
  40. package/dist/CommentThread/index.js +8 -7
  41. package/dist/Composer/index.js +5 -4
  42. package/dist/ConfirmField/index.js +5 -4
  43. package/dist/ConflictNote/index.js +3 -3
  44. package/dist/ContrastHelp/index.js +4 -4
  45. package/dist/Copyable/index.js +4 -4
  46. package/dist/DataGrid/index.js +8 -7
  47. package/dist/DataTable/index.js +9 -8
  48. package/dist/DataView/index.js +13 -12
  49. package/dist/DateTimePicker/index.js +5 -5
  50. package/dist/DeepWorkCard/index.js +4 -4
  51. package/dist/DeliveryReceipt/index.js +1 -1
  52. package/dist/DocTabsEditor/index.js +7 -6
  53. package/dist/DownloadButton/index.js +3 -3
  54. package/dist/{Editor-GIEZ6PPP.js → Editor-YITN2DWX.js} +6 -5
  55. package/dist/EmojiPicker/EmojiPicker.d.ts +23 -5
  56. package/dist/EmojiPicker/index.d.ts +1 -1
  57. package/dist/EmojiPicker/index.js +7 -5
  58. package/dist/EmojiPicker-V6XM56GJ.css +180 -0
  59. package/dist/EntityChip/index.js +1 -1
  60. package/dist/ErrorBoundary/index.js +3 -3
  61. package/dist/FactList/index.js +2 -2
  62. package/dist/FileDrop/index.js +3 -3
  63. package/dist/FilterPill/index.js +3 -3
  64. package/dist/FollowBanner/index.js +3 -3
  65. package/dist/HuePicker/index.js +7 -7
  66. package/dist/IconButton/index.js +2 -2
  67. package/dist/ImageUpload/index.js +1 -1
  68. package/dist/InlineEditor/index.js +3 -3
  69. package/dist/Input/index.js +4 -3
  70. package/dist/KeyValueRows/index.js +6 -5
  71. package/dist/Layer/index.d.ts +1 -1
  72. package/dist/Layer/place.d.ts +6 -0
  73. package/dist/LinkCard/index.js +1 -1
  74. package/dist/LinkInterstitial/index.js +5 -5
  75. package/dist/ListInput/index.js +6 -5
  76. package/dist/LogoSlot/index.js +4 -4
  77. package/dist/MarkdownEditor/index.js +7 -7
  78. package/dist/MemberPicker/index.js +6 -5
  79. package/dist/MentionMenu/MentionMenu.d.ts +18 -2
  80. package/dist/MentionMenu/index.d.ts +4 -1
  81. package/dist/MentionMenu/index.js +2 -1
  82. package/dist/{MentionMenu-77P7C4F7.css → MentionMenu-AWZSOTNU.css} +45 -1
  83. package/dist/Menu/Menu.d.ts +13 -1
  84. package/dist/Menu/index.js +4 -4
  85. package/dist/{Menu-7AARCFX5.css → Menu-PXOAJ4DP.css} +48 -0
  86. package/dist/MergeConflicts/index.js +7 -7
  87. package/dist/MessageActions/MessageActions.d.ts +4 -4
  88. package/dist/MessageActions/index.js +7 -6
  89. package/dist/{MessageActions-UGMXBGKY.css → MessageActions-Y2IXY24H.css} +18 -5
  90. package/dist/Modal/index.js +4 -4
  91. package/dist/OpenInAppCard/index.js +4 -4
  92. package/dist/OrgLabel/index.js +1 -1
  93. package/dist/OrgNode/index.js +1 -1
  94. package/dist/OrgTable/index.js +11 -10
  95. package/dist/PeekRail/index.js +4 -4
  96. package/dist/PeopleRail/index.js +5 -5
  97. package/dist/PinTile/index.js +3 -3
  98. package/dist/Popover/Popover.d.ts +4 -2
  99. package/dist/Popover/index.js +1 -1
  100. package/dist/{Popover-QCINR7WG.css → Popover-EKG6OBZL.css} +5 -0
  101. package/dist/PresenceStack/index.js +1 -1
  102. package/dist/PresenterView/index.js +5 -5
  103. package/dist/Principal/index.js +1 -1
  104. package/dist/PrincipalPicker/index.js +7 -6
  105. package/dist/ProposalCard/index.js +8 -7
  106. package/dist/RailList/index.js +5 -4
  107. package/dist/ReactionBar/ReactionBar.d.ts +4 -2
  108. package/dist/ReactionBar/index.js +8 -6
  109. package/dist/ReceiptStrip/index.js +3 -3
  110. package/dist/RecordChip/index.js +2 -2
  111. package/dist/ResultTableCard/index.js +4 -4
  112. package/dist/RichEditor/index.js +4 -4
  113. package/dist/RoomRow/index.js +1 -1
  114. package/dist/SandboxedFrame/index.js +4 -4
  115. package/dist/SectionFrame/index.js +5 -4
  116. package/dist/SegmentedControl/index.js +6 -6
  117. package/dist/SelectionBar/index.js +3 -3
  118. package/dist/SendButton/index.js +3 -3
  119. package/dist/ShareDialog/index.js +7 -7
  120. package/dist/SheetColumnEditor/index.js +11 -10
  121. package/dist/SheetGrid/index.js +8 -8
  122. package/dist/SidePanel/SidePanel.d.ts +8 -3
  123. package/dist/SidePanel/SidePanelBase.d.ts +4 -1
  124. package/dist/SidePanel/index.d.ts +1 -1
  125. package/dist/SidePanel/index.js +4 -4
  126. package/dist/{SidePanel-FVZVNSHI.css → SidePanel-DZ4E5SNP.css} +26 -0
  127. package/dist/SidebarNav/SidebarNav.d.ts +6 -0
  128. package/dist/SidebarNav/index.d.ts +2 -2
  129. package/dist/SidebarNav/index.js +4 -3
  130. package/dist/{SidebarNav-3SU7UDXK.css → SidebarNav-JCHQXFIM.css} +41 -4
  131. package/dist/Skeleton/index.js +1 -1
  132. package/dist/SlideCompare/index.js +3 -3
  133. package/dist/SlideFilmstrip/index.js +5 -5
  134. package/dist/SlideNav/index.js +3 -3
  135. package/dist/StatusLine/index.js +2 -2
  136. package/dist/Switcher/index.js +9 -8
  137. package/dist/TableCells/index.js +1 -1
  138. package/dist/Tabs/index.js +5 -5
  139. package/dist/TagsInput/index.js +3 -3
  140. package/dist/ThemeSwitcher/index.js +7 -7
  141. package/dist/ThemeToggle/index.js +3 -3
  142. package/dist/ThreadSummary/ThreadSummary.d.ts +2 -0
  143. package/dist/ThreadSummary/index.d.ts +1 -1
  144. package/dist/ThreadSummary/index.js +2 -2
  145. package/dist/{ThreadSummary-CFAHYY57.css → ThreadSummary-2AFEU6NH.css} +2 -1
  146. package/dist/TimeRangePicker/index.js +10 -9
  147. package/dist/TimeWindowPicker/index.js +7 -6
  148. package/dist/Tooltip/index.js +1 -1
  149. package/dist/Tooltip-PRPBX6OG.css +61 -0
  150. package/dist/TreeCanvas/index.js +5 -5
  151. package/dist/TreeGrid/index.js +9 -8
  152. package/dist/ValueField/index.js +6 -5
  153. package/dist/VersionCompare/index.js +7 -7
  154. package/dist/VersionTimeline/index.js +4 -4
  155. package/dist/WidgetFrame/index.js +2 -2
  156. package/dist/{chunk-6BVGVAKH.js → chunk-2D7IVGEV.js} +1 -1
  157. package/dist/{chunk-HY336MR6.js → chunk-2ILQUAB7.js} +1 -1
  158. package/dist/{chunk-PRZO2LAG.js → chunk-3AUFRPG3.js} +1 -1
  159. package/dist/{chunk-4ZZ7G3XC.js → chunk-3GF2PTYZ.js} +28 -5
  160. package/dist/{chunk-IIM6UAJJ.js → chunk-3SAJXMM6.js} +1 -1
  161. package/dist/{chunk-KRO66LZZ.js → chunk-3UFIYOVD.js} +1 -1
  162. package/dist/{chunk-K3IJWNHL.js → chunk-3W7NG6ST.js} +2 -2
  163. package/dist/{chunk-HWTTVN6T.js → chunk-435WY2WT.js} +1 -1
  164. package/dist/{chunk-G2B4Y67G.js → chunk-45VQPH27.js} +3 -3
  165. package/dist/chunk-47V3ASMW.js +74 -0
  166. package/dist/{chunk-NPMMCFKI.js → chunk-4KU5LLXU.js} +1 -1
  167. package/dist/{chunk-ZFFIUJ4C.js → chunk-4ONGTD7Y.js} +2 -2
  168. package/dist/{chunk-ET4RCHNJ.js → chunk-4VHRO7HZ.js} +67 -29
  169. package/dist/{chunk-46BY2WPZ.js → chunk-5CWB52JK.js} +1 -1
  170. package/dist/{chunk-O73RB4P7.js → chunk-5FOJLJYN.js} +2 -2
  171. package/dist/{chunk-IGFQ4LWZ.js → chunk-5G3KASPV.js} +3 -3
  172. package/dist/{chunk-TIOYPPIX.js → chunk-5SBMYPWG.js} +3 -3
  173. package/dist/{chunk-WUCRLA25.js → chunk-5SMYKL3D.js} +9 -3
  174. package/dist/{chunk-MNKXYGZ2.js → chunk-5SV47YN7.js} +2 -2
  175. package/dist/{chunk-EKC4MOGY.js → chunk-5YFQMMTJ.js} +1 -1
  176. package/dist/{chunk-F3E66TBM.js → chunk-6QLMET36.js} +1 -1
  177. package/dist/{chunk-OJ3BGBU5.js → chunk-76LJUPDA.js} +2 -2
  178. package/dist/{chunk-5LBIIEHJ.js → chunk-7GUZSA5U.js} +8 -3
  179. package/dist/{chunk-HVFN4DJT.js → chunk-7MB7RUZZ.js} +1 -1
  180. package/dist/{chunk-AXGSKD72.js → chunk-7TLM7E5N.js} +3 -3
  181. package/dist/{chunk-3R76X3MI.js → chunk-A2TYEOB4.js} +2 -2
  182. package/dist/{chunk-JNP5EMLV.js → chunk-ANIJQ25E.js} +2 -2
  183. package/dist/{chunk-4QI7VFLV.js → chunk-AQMB6ONN.js} +6 -6
  184. package/dist/{chunk-YX5KEKPL.js → chunk-AXMXXAGB.js} +1 -1
  185. package/dist/{chunk-WM55LPY7.js → chunk-BBE656JU.js} +2 -2
  186. package/dist/{chunk-WF4Q5LD6.js → chunk-BF2BXM6V.js} +1 -1
  187. package/dist/{chunk-TIAZSF7H.js → chunk-BGFWCOFR.js} +2 -2
  188. package/dist/{chunk-YWTZHIKA.js → chunk-BJEWRSV7.js} +1 -1
  189. package/dist/{chunk-OAP576OR.js → chunk-BLFHFMXQ.js} +1 -1
  190. package/dist/{chunk-DEIHV2H3.js → chunk-BMTNY3FK.js} +1 -1
  191. package/dist/{chunk-BUOBTY3X.js → chunk-CHB7T3PT.js} +5 -5
  192. package/dist/{chunk-WOD6L2DC.js → chunk-CJRWESDZ.js} +1 -1
  193. package/dist/{chunk-OPX4OGN3.js → chunk-CTIJTW4R.js} +2 -2
  194. package/dist/{chunk-EJEBRXOF.js → chunk-D7NXK77P.js} +5 -5
  195. package/dist/{chunk-ZAN7Q4WG.js → chunk-DF5B4QO5.js} +1 -1
  196. package/dist/{chunk-HUSMU5EL.js → chunk-DKDSBI75.js} +3 -3
  197. package/dist/{chunk-DEMG2UTW.js → chunk-DRI6OXWY.js} +1 -1
  198. package/dist/{chunk-PJMDXZHP.js → chunk-DTEDUAEW.js} +1 -1
  199. package/dist/{chunk-OSKXOCH3.js → chunk-DTZ72KVX.js} +3 -3
  200. package/dist/{chunk-V5ANQP4E.js → chunk-ECGYBWRI.js} +2 -2
  201. package/dist/{chunk-NQIWSKQX.js → chunk-ENYB3HIA.js} +3 -3
  202. package/dist/{chunk-3EXGTJQU.js → chunk-EYY2ZMSY.js} +1 -1
  203. package/dist/{chunk-K5L7FJTH.js → chunk-FC4T5ILA.js} +1 -1
  204. package/dist/{chunk-5QKNXTIC.js → chunk-FZY4TTR4.js} +1 -1
  205. package/dist/{chunk-OTZNIWZA.js → chunk-GBX5Y3P2.js} +1 -1
  206. package/dist/{chunk-N7CYJVV4.js → chunk-GFOPTRRY.js} +1 -1
  207. package/dist/{chunk-AWXCILIT.js → chunk-GG5CFBSE.js} +2 -2
  208. package/dist/{chunk-PH5APLMB.js → chunk-GMQ54OQF.js} +1 -1
  209. package/dist/{chunk-RBNYJP77.js → chunk-HHRYIXBM.js} +2 -2
  210. package/dist/{chunk-4SKN3BLH.js → chunk-HXVMXH6U.js} +5 -4
  211. package/dist/{chunk-LQZMCR2K.js → chunk-I6GVXOHK.js} +1 -1
  212. package/dist/{chunk-AV5NWTYU.js → chunk-IHJRLVU3.js} +1 -1
  213. package/dist/{chunk-JJLYGLH6.js → chunk-J4OL6KHY.js} +3 -3
  214. package/dist/{chunk-VYUEAMA4.js → chunk-KDRJZWE3.js} +3 -1
  215. package/dist/{chunk-RWUY53VW.js → chunk-KG3PHAUX.js} +3 -3
  216. package/dist/{chunk-XLJELX5W.js → chunk-KVNVLBCB.js} +2 -2
  217. package/dist/{chunk-ZQKLFN2J.js → chunk-KYWIUH5R.js} +8 -8
  218. package/dist/{chunk-T5G5DM3H.js → chunk-L4YD6SVT.js} +1 -1
  219. package/dist/{chunk-ALGG2HRE.js → chunk-LGJJIPYZ.js} +1 -1
  220. package/dist/{chunk-6D7GTMNO.js → chunk-LNE5AMFQ.js} +1 -1
  221. package/dist/{chunk-QAQKJ4PO.js → chunk-LNSAYEOA.js} +1 -1
  222. package/dist/{chunk-2QLZCD5Q.js → chunk-LSVX4DTF.js} +2 -2
  223. package/dist/{chunk-FANYWNER.js → chunk-M7EALYXZ.js} +1 -1
  224. package/dist/{chunk-GA7HSINF.js → chunk-NOP55WRY.js} +108 -45
  225. package/dist/{chunk-RTHWXAXT.js → chunk-NPPPQSRU.js} +1 -1
  226. package/dist/{chunk-IOLOWL33.js → chunk-O3DHDBTW.js} +1 -1
  227. package/dist/{chunk-CUE3WM7L.js → chunk-OKOHQ3E7.js} +1 -1
  228. package/dist/{chunk-I2FNTMX2.js → chunk-OKPGW76D.js} +1 -1
  229. package/dist/{chunk-3IYS6YNX.js → chunk-OYV7BFRC.js} +1 -1
  230. package/dist/{chunk-IVZLFSQS.js → chunk-P366K4RX.js} +5 -4
  231. package/dist/{chunk-I476JLNZ.js → chunk-P5AOTCGQ.js} +1 -1
  232. package/dist/{chunk-NIDLT7UM.js → chunk-PBDMJHXV.js} +1 -1
  233. package/dist/chunk-PJV5HVZY.js +67 -0
  234. package/dist/{chunk-ZBON36GU.js → chunk-PWB2LWBE.js} +3 -3
  235. package/dist/chunk-Q5LDZPFF.js +2 -0
  236. package/dist/{chunk-G32JHH7N.js → chunk-QCJ3UBCZ.js} +3 -3
  237. package/dist/{chunk-BRJ6LZM2.js → chunk-QFSPIYCM.js} +1 -1
  238. package/dist/{chunk-AZKGH2UI.js → chunk-QHUKJN33.js} +57 -15
  239. package/dist/{chunk-IIEDUSMU.js → chunk-QLGZBN6A.js} +6 -6
  240. package/dist/{chunk-OIF6UMPY.js → chunk-QMEKGAEA.js} +4 -4
  241. package/dist/{chunk-43UOZIYG.js → chunk-QVNEQSOL.js} +1 -1
  242. package/dist/{chunk-P3BEB4E6.js → chunk-RHD46WIZ.js} +2 -2
  243. package/dist/{chunk-TCAX77BH.js → chunk-RTDFRFTF.js} +9 -4
  244. package/dist/{chunk-HY2JXBPO.js → chunk-SDYLFZKZ.js} +4 -4
  245. package/dist/{chunk-LYHAR4DX.js → chunk-SJNJBXUA.js} +5 -5
  246. package/dist/{chunk-G6HS6QA4.js → chunk-SJV7VVSS.js} +3 -3
  247. package/dist/{chunk-OQO7NSHR.js → chunk-STJPIP3R.js} +1 -1
  248. package/dist/{chunk-QNSL4JCU.js → chunk-T2RRTICC.js} +4 -4
  249. package/dist/{chunk-L3G2YQE3.js → chunk-T63HK6T5.js} +1 -1
  250. package/dist/{chunk-MEAFEAFF.js → chunk-T75L3PFN.js} +1 -1
  251. package/dist/{chunk-FNKOULI4.js → chunk-TCNTMTPI.js} +2 -2
  252. package/dist/{chunk-FWDU7E34.js → chunk-TE3OMB3Z.js} +3 -29
  253. package/dist/{chunk-4JEHXJPO.js → chunk-TP7PRSGX.js} +2 -2
  254. package/dist/{chunk-5DYV5Q67.js → chunk-TYQJRTTK.js} +1 -1
  255. package/dist/{chunk-O4J3FUIX.js → chunk-UJ7SHDE7.js} +4 -4
  256. package/dist/{chunk-43YZWF2B.js → chunk-V6BEBGO3.js} +5 -5
  257. package/dist/{chunk-YRSNOCFL.js → chunk-VZ42TS3C.js} +3 -3
  258. package/dist/{chunk-THVGTKST.js → chunk-WEZU4DX2.js} +1 -1
  259. package/dist/{chunk-ZBV6BNG7.js → chunk-WN3YE3ND.js} +1 -1
  260. package/dist/{chunk-QHE4CNBM.js → chunk-WNVUN3LJ.js} +1 -1
  261. package/dist/{chunk-R5OUUSLB.js → chunk-Y36N7TB7.js} +2 -2
  262. package/dist/{chunk-W4YNOUHF.js → chunk-Y3FLNQEE.js} +4 -4
  263. package/dist/{chunk-4WOLHRHH.js → chunk-Y4L7WNWU.js} +1 -1
  264. package/dist/{chunk-RM4PUCDQ.js → chunk-YD5UCBFV.js} +1 -1
  265. package/dist/{chunk-NVQUEZU5.js → chunk-YE76GTQU.js} +4 -4
  266. package/dist/{chunk-QHXO5H2S.js → chunk-ZGJCVXFU.js} +3 -3
  267. package/dist/{chunk-LSOPZVR7.js → chunk-ZJVGVTC3.js} +20 -6
  268. package/dist/{chunk-YLOQNVR2.js → chunk-ZUFV7753.js} +6 -5
  269. package/dist/generated/index.js +123 -122
  270. package/dist/index.js +123 -122
  271. package/dist/styles.css +435 -70
  272. package/dist/utils/fieldMirror.d.ts +22 -0
  273. package/package.json +3 -3
  274. package/dist/EmojiPicker-W722WJ5M.css +0 -105
  275. package/dist/Tooltip-LKQF7CE4.css +0 -71
  276. package/dist/chunk-VZ7DNXCW.js +0 -58
  277. package/dist/chunk-XETR2N6C.js +0 -2
@@ -1,8 +1,8 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
2
  import { IconTile } from './chunk-3LI4TRUR.js';
3
- import { ReceiptStrip } from './chunk-I2FNTMX2.js';
3
+ import { ReceiptStrip } from './chunk-OKPGW76D.js';
4
4
  import { StatusCard } from './chunk-7L75YB57.js';
5
- import { ButtonLink, Button } from './chunk-RTHWXAXT.js';
5
+ import { ButtonLink, Button } from './chunk-NPPPQSRU.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './OpenInAppCard-CKHCK7DO.css';
8
8
  import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { Popover } from './chunk-VYUEAMA4.js';
1
+ import { Popover } from './chunk-KDRJZWE3.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './RecordChip-53J66RA6.css';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
- import { Checkbox } from './chunk-PJMDXZHP.js';
2
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { Checkbox } from './chunk-DTEDUAEW.js';
2
+ import { IconButton } from './chunk-BF2BXM6V.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
5
5
  import { useId, useState } from 'react';
@@ -4,10 +4,10 @@ import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, L
4
4
  import { usePopupLayer } from './chunk-EDPMHSLZ.js';
5
5
  import { isVisibleFocus } from './chunk-4ITETIGZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
- import './Tooltip-LKQF7CE4.css';
7
+ import './Tooltip-PRPBX6OG.css';
8
8
  import { useId, useState, useRef, useCallback, useEffect, useLayoutEffect, cloneElement } from 'react';
9
9
  import { createPortal } from 'react-dom';
10
- import { motion } from '@crewlethq/tokens';
10
+ import { motion, spacing } from '@crewlethq/tokens';
11
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
12
12
 
13
13
  function composeHandlers(first, second) {
@@ -18,8 +18,9 @@ function composeHandlers(first, second) {
18
18
  second(...args);
19
19
  };
20
20
  }
21
- var OPEN_DELAY = tokenMs(motion.duration.slow);
21
+ var OPEN_DELAY = tokenMs(motion.duration.fast);
22
22
  var CLOSE_DELAY = tokenMs(motion.duration.base);
23
+ var TOOLTIP_GAP = Number.parseFloat(spacing["2"]);
23
24
  function Tooltip({
24
25
  content,
25
26
  placement = "top",
@@ -110,7 +111,7 @@ function Tooltip({
110
111
  setOpen(false);
111
112
  return;
112
113
  }
113
- const spot = placePopup(local, { width: own.width, height: own.height }, bounds, LAYER_GAP, placement === "top" ? "above" : "below");
114
+ const spot = placePopup(local, { width: own.width, height: own.height }, bounds, TOOLTIP_GAP, placement === "top" ? "above" : "below");
114
115
  setPlace(
115
116
  (was) => was && was.left === spot.left && was.top === spot.top && was.side === spot.side ? was : spot
116
117
  );
@@ -1,5 +1,5 @@
1
1
  import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
2
- import { Button } from './chunk-RTHWXAXT.js';
2
+ import { Button } from './chunk-NPPPQSRU.js';
3
3
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { useMemo, useState, useRef, useEffect, useCallback } from 'react';
5
5
  import { CheckGlyph, CircleAlertGlyph, SaveGlyph } from '@crewlethq/icons/glyphs';
@@ -1,5 +1,5 @@
1
1
  import { Table } from './chunk-YGN4SBNP.js';
2
- import { DownloadButton } from './chunk-LQZMCR2K.js';
2
+ import { DownloadButton } from './chunk-I6GVXOHK.js';
3
3
  import { StatusCard } from './chunk-7L75YB57.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ResultTableCard-AP355LQM.css';
@@ -1,6 +1,6 @@
1
- import { FormField, Label, Input } from './chunk-FWDU7E34.js';
2
- import { Button } from './chunk-RTHWXAXT.js';
3
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { FormField, Label, Input } from './chunk-TE3OMB3Z.js';
2
+ import { Button } from './chunk-NPPPQSRU.js';
3
+ import { IconButton } from './chunk-BF2BXM6V.js';
4
4
  import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './KeyValueRows-US5KW7JK.css';
@@ -3,7 +3,7 @@ import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, L
3
3
  import { usePopupLayer, focusables } from './chunk-EDPMHSLZ.js';
4
4
  import { returnFocus } from './chunk-4ITETIGZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './Popover-QCINR7WG.css';
6
+ import './Popover-EKG6OBZL.css';
7
7
  import { useId, useState, useRef, useCallback, useLayoutEffect, useEffect, cloneElement } from 'react';
8
8
  import { createPortal } from 'react-dom';
9
9
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -19,6 +19,7 @@ function Popover({
19
19
  initialFocus,
20
20
  role = "dialog",
21
21
  label,
22
+ entrance = "rise",
22
23
  className,
23
24
  open: controlled,
24
25
  defaultOpen = false,
@@ -157,6 +158,7 @@ function Popover({
157
158
  "crewlet-popover",
158
159
  `crewlet-popover--${place?.side ?? (side === "top" ? "above" : "below")}`,
159
160
  container !== null && container !== document.body ? "crewlet-popover--in-host" : "crewlet-popover--fixed",
161
+ entrance === "instant" && "crewlet-popover--instant",
160
162
  className
161
163
  ),
162
164
  style: { ...style, zIndex: layer.zIndex },
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { SegmentedControl } from './chunk-RM4PUCDQ.js';
3
- import { tabId } from './chunk-OQO7NSHR.js';
4
- import { IconButton } from './chunk-WF4Q5LD6.js';
2
+ import { SegmentedControl } from './chunk-YD5UCBFV.js';
3
+ import { tabId } from './chunk-STJPIP3R.js';
4
+ import { IconButton } from './chunk-BF2BXM6V.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './MarkdownEditor-BLCJRGDC.css';
7
7
  import { useState, useId, useRef, useLayoutEffect, useImperativeHandle } from 'react';
@@ -1,9 +1,9 @@
1
- import { Textarea } from './chunk-FWDU7E34.js';
1
+ import { Textarea } from './chunk-TE3OMB3Z.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './ChatScale-ST24RFPO.css';
6
+ import './ChatScale-6NM4TP7R.css';
7
7
  import './Composer-UGPNQMYI.css';
8
8
  import { forwardRef, useId } from 'react';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,16 +1,16 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
- import { FilterPill } from './chunk-CUE3WM7L.js';
3
- import { DateTimePicker } from './chunk-YRSNOCFL.js';
4
- import { DataTable } from './chunk-43YZWF2B.js';
2
+ import { FilterPill } from './chunk-OKOHQ3E7.js';
3
+ import { DateTimePicker } from './chunk-VZ42TS3C.js';
4
+ import { DataTable } from './chunk-V6BEBGO3.js';
5
5
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
6
6
  import { Toolbar } from './chunk-NPEI2QAN.js';
7
- import { Popover } from './chunk-VYUEAMA4.js';
7
+ import { Popover } from './chunk-KDRJZWE3.js';
8
8
  import { RelativeTime } from './chunk-GBKBME7Q.js';
9
- import { Menu } from './chunk-AZKGH2UI.js';
10
- import { Input } from './chunk-FWDU7E34.js';
9
+ import { Menu } from './chunk-QHUKJN33.js';
10
+ import { Input } from './chunk-TE3OMB3Z.js';
11
11
  import { Kbd } from './chunk-VBBLHS2Y.js';
12
- import { Button } from './chunk-RTHWXAXT.js';
13
- import { IconButton } from './chunk-WF4Q5LD6.js';
12
+ import { Button } from './chunk-NPPPQSRU.js';
13
+ import { IconButton } from './chunk-BF2BXM6V.js';
14
14
  import { Count } from './chunk-Y5CMDLQM.js';
15
15
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
16
16
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './PinTile-OWS7JTHD.css';
4
4
  import { forwardRef } from 'react';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-NIDLT7UM.js';
1
+ import { Combobox } from './chunk-PBDMJHXV.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-HF5L56YQ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-P6UYHDJR.css';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.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,6 +1,6 @@
1
1
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChatScale-ST24RFPO.css';
3
+ import './ChatScale-6NM4TP7R.css';
4
4
  import './DeliveryReceipt-G55ILD6O.css';
5
5
  import { useState } from 'react';
6
6
  import { CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
@@ -1,8 +1,8 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-ET4RCHNJ.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-4VHRO7HZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-W6GA5OO6.css';
5
- import './SidePanel-FVZVNSHI.css';
5
+ import './SidePanel-DZ4E5SNP.css';
6
6
  import './ArtifactPanel-MR5Z5AVN.css';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
2
- import { FormField, Input, InputAffix } from './chunk-FWDU7E34.js';
2
+ import { FormField, Input, InputAffix } from './chunk-TE3OMB3Z.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ColorField-2OIOWT3Z.css';
5
5
  import { useId, useState } from 'react';
@@ -1,11 +1,12 @@
1
- import { Popover } from './chunk-VYUEAMA4.js';
2
- import { Input } from './chunk-FWDU7E34.js';
3
- import { Tooltip } from './chunk-4SKN3BLH.js';
1
+ import { Toolbar } from './chunk-NPEI2QAN.js';
2
+ import { Popover } from './chunk-KDRJZWE3.js';
3
+ import { Input } from './chunk-TE3OMB3Z.js';
4
+ import { Tooltip } from './chunk-HXVMXH6U.js';
4
5
  import { isComposing } from './chunk-EDPMHSLZ.js';
5
6
  import { cx } from './chunk-ODEQTPFM.js';
6
- import './EmojiPicker-W722WJ5M.css';
7
- import { useId, useState, useRef, useMemo } from 'react';
8
- import { SearchGlyph } from '@crewlethq/icons/glyphs';
7
+ import './EmojiPicker-V6XM56GJ.css';
8
+ import { useId, useState, useRef, useMemo, useLayoutEffect } from 'react';
9
+ import { LaptopGlyph, FaceSlightlySmilingGlyph, ClockGlyph, HashGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
9
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
11
 
11
12
  // src/EmojiPicker/emoji.ts
@@ -106,12 +107,18 @@ function searchEmoji(query, groups = EMOJI_GROUPS) {
106
107
  }
107
108
  return found;
108
109
  }
109
- var EMOJI_PICKER_COLUMNS = 8;
110
+ var EMOJI_PICKER_COLUMNS = 9;
111
+ var EMOJI_GROUP_GLYPHS = {
112
+ "Frequently used": /* @__PURE__ */ jsx(ClockGlyph, { size: "lg" }),
113
+ Smileys: /* @__PURE__ */ jsx(FaceSlightlySmilingGlyph, { size: "lg" }),
114
+ Work: /* @__PURE__ */ jsx(LaptopGlyph, { size: "lg" })
115
+ };
110
116
  var EMOJI_PICKER_LABELS = {
111
117
  search: "Search emoji",
112
118
  results: "Results",
113
119
  none: (query) => `No emoji match \u201C${query}\u201D.`,
114
- idle: "Pick an emoji"
120
+ idle: "Pick an emoji",
121
+ categories: "Emoji categories"
115
122
  };
116
123
  function layout(groups) {
117
124
  let index = 0;
@@ -137,7 +144,9 @@ function EmojiPicker({
137
144
  onOpenChange,
138
145
  align = "end",
139
146
  side = "bottom",
147
+ entrance,
140
148
  groups = EMOJI_GROUPS,
149
+ groupGlyphs = EMOJI_GROUP_GLYPHS,
141
150
  labels: overrides
142
151
  }) {
143
152
  const labels = overrides ? { ...EMOJI_PICKER_LABELS, ...overrides } : EMOJI_PICKER_LABELS;
@@ -147,6 +156,8 @@ function EmojiPicker({
147
156
  const [pointed, setPointed] = useState(null);
148
157
  const field = useRef(null);
149
158
  const grid = useRef(null);
159
+ const [current, setCurrent] = useState(0);
160
+ const pending = useRef(null);
150
161
  const found = useMemo(() => searchEmoji(query, groups), [query, groups]);
151
162
  const { drawn, cells } = useMemo(
152
163
  () => layout(found ? [{ label: labels.results, items: found }] : groups),
@@ -155,6 +166,37 @@ function EmojiPicker({
155
166
  const stop = Math.min(at, Math.max(0, cells.length - 1));
156
167
  const chosen = found && found.length > 0 ? cells[stop] : void 0;
157
168
  const shown = pointed ?? chosen?.entry ?? null;
169
+ const showGroup = (index) => {
170
+ const scroller = grid.current;
171
+ const head = scroller?.querySelector(`[data-group-index="${index}"]`);
172
+ if (!scroller || !head) return;
173
+ scroller.scrollTop = head.offsetTop;
174
+ setCurrent(index);
175
+ };
176
+ const jumpTo = (index) => {
177
+ if (found) {
178
+ pending.current = index;
179
+ setQuery("");
180
+ setAt(0);
181
+ return;
182
+ }
183
+ showGroup(index);
184
+ };
185
+ useLayoutEffect(() => {
186
+ if (found || pending.current === null) return;
187
+ const index = pending.current;
188
+ pending.current = null;
189
+ showGroup(index);
190
+ });
191
+ const track = () => {
192
+ const scroller = grid.current;
193
+ if (!scroller || found) return;
194
+ const heads = [...scroller.querySelectorAll("[data-group-index]")];
195
+ const atEnd = scroller.scrollTop + scroller.clientHeight >= scroller.scrollHeight - 1;
196
+ let next = Number(heads[0]?.dataset["groupIndex"] ?? 0);
197
+ for (const head of heads) if (atEnd || head.offsetTop <= scroller.scrollTop + 1) next = Number(head.dataset["groupIndex"]);
198
+ setCurrent(next);
199
+ };
158
200
  const focusCell = (index) => {
159
201
  setAt(index);
160
202
  grid.current?.querySelector(`[data-emoji-index="${index}"]`)?.focus();
@@ -197,6 +239,7 @@ function EmojiPicker({
197
239
  label,
198
240
  align,
199
241
  side,
242
+ entrance,
200
243
  className: "crewlet-emoji-picker",
201
244
  initialFocus: () => field.current,
202
245
  trigger: (open, toggle) => tooltip ? /* @__PURE__ */ jsx(Tooltip, { content: tooltip, disabled: open, children: trigger(open, toggle) }) : trigger(open, toggle),
@@ -205,36 +248,56 @@ function EmojiPicker({
205
248
  setQuery("");
206
249
  setAt(0);
207
250
  setPointed(null);
251
+ setCurrent(0);
208
252
  }
209
253
  onOpenChange?.(open);
210
254
  },
211
- children: (close) => /* @__PURE__ */ jsxs("div", { className: "crewlet-emoji-picker__body", children: [
212
- /* @__PURE__ */ jsx(
213
- Input,
214
- {
215
- ref: field,
216
- inputSize: "sm",
217
- placeholder: labels.search,
218
- "aria-label": labels.search,
219
- leading: /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }),
220
- value: query,
221
- onChange: (event) => {
222
- setQuery(event.target.value);
223
- setAt(0);
224
- },
225
- onKeyDown: (event) => onFieldKeys(event, close)
226
- }
227
- ),
228
- /* @__PURE__ */ jsxs(
229
- "div",
230
- {
231
- ref: grid,
232
- className: "crewlet-emoji-picker__scroll",
233
- style: { "--crewlet-emoji-picker-columns": EMOJI_PICKER_COLUMNS },
234
- children: [
255
+ children: (close) => /* @__PURE__ */ jsxs(
256
+ "div",
257
+ {
258
+ className: "crewlet-emoji-picker__body",
259
+ style: { "--crewlet-emoji-picker-columns": EMOJI_PICKER_COLUMNS },
260
+ children: [
261
+ /* @__PURE__ */ jsx(Toolbar, { label: labels.categories, className: "crewlet-emoji-picker__tabs", children: groups.map(
262
+ (group, number) => group.items.length === 0 ? null : /* @__PURE__ */ jsx(Tooltip, { content: group.label, children: /* @__PURE__ */ jsx(
263
+ "button",
264
+ {
265
+ type: "button",
266
+ className: cx("crewlet-emoji-picker__tab", !found && number === current && "is-current"),
267
+ "aria-label": group.label,
268
+ "aria-current": !found && number === current ? "true" : void 0,
269
+ onClick: () => jumpTo(number),
270
+ children: groupGlyphs[group.label] ?? /* @__PURE__ */ jsx(HashGlyph, { size: "lg" })
271
+ }
272
+ ) }, group.label)
273
+ ) }),
274
+ /* @__PURE__ */ jsx(
275
+ Input,
276
+ {
277
+ ref: field,
278
+ placeholder: labels.search,
279
+ "aria-label": labels.search,
280
+ leading: /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }),
281
+ value: query,
282
+ onChange: (event) => {
283
+ setQuery(event.target.value);
284
+ setAt(0);
285
+ },
286
+ onKeyDown: (event) => onFieldKeys(event, close)
287
+ }
288
+ ),
289
+ /* @__PURE__ */ jsxs("div", { ref: grid, className: "crewlet-emoji-picker__scroll", onScroll: track, children: [
235
290
  drawn.map(
236
291
  (group, number) => group.cells.length === 0 ? null : /* @__PURE__ */ jsxs("div", { role: "group", "aria-labelledby": `${id}-group-${number}`, children: [
237
- /* @__PURE__ */ jsx("div", { id: `${id}-group-${number}`, className: "crewlet-emoji-picker__group", children: group.label }),
292
+ /* @__PURE__ */ jsx(
293
+ "div",
294
+ {
295
+ id: `${id}-group-${number}`,
296
+ className: "crewlet-emoji-picker__group",
297
+ "data-group-index": found ? void 0 : number,
298
+ children: group.label
299
+ }
300
+ ),
238
301
  /* @__PURE__ */ jsx("div", { className: "crewlet-emoji-picker__grid", children: group.cells.map((cell) => /* @__PURE__ */ jsx(
239
302
  "button",
240
303
  {
@@ -258,19 +321,19 @@ function EmojiPicker({
258
321
  ] }, group.label)
259
322
  ),
260
323
  found && found.length === 0 ? /* @__PURE__ */ jsx("p", { className: "crewlet-emoji-picker__none", role: "status", children: labels.none(query.trim()) }) : null
261
- ]
262
- }
263
- ),
264
- /* @__PURE__ */ jsx("div", { className: "crewlet-emoji-picker__preview", "aria-hidden": "true", children: shown ? /* @__PURE__ */ jsxs(Fragment, { children: [
265
- /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-emoji", children: shown.emoji }),
266
- /* @__PURE__ */ jsxs("span", { className: "crewlet-emoji-picker__preview-words", children: [
267
- /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-name", children: shown.name }),
268
- shown.shortcode ? /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-code", children: shown.shortcode }) : null
269
- ] })
270
- ] }) : /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-idle", children: labels.idle }) })
271
- ] })
324
+ ] }),
325
+ /* @__PURE__ */ jsx("div", { className: "crewlet-emoji-picker__preview", "aria-hidden": "true", children: shown ? /* @__PURE__ */ jsxs(Fragment, { children: [
326
+ /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-emoji", children: shown.emoji }),
327
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-emoji-picker__preview-words", children: [
328
+ /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-name", children: shown.name }),
329
+ shown.shortcode ? /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-code", children: shown.shortcode }) : null
330
+ ] })
331
+ ] }) : /* @__PURE__ */ jsx("span", { className: "crewlet-emoji-picker__preview-idle", children: labels.idle }) })
332
+ ]
333
+ }
334
+ )
272
335
  }
273
336
  );
274
337
  }
275
338
 
276
- export { EMOJI_GROUPS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji };
339
+ export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji };
@@ -1,6 +1,6 @@
1
1
  import { Spinner } from './chunk-XSPCITPN.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-4SKN3BLH.js';
3
+ import { Tooltip } from './chunk-HXVMXH6U.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './Button-SQVYZFKM.css';
@@ -1,6 +1,6 @@
1
1
  import { EditingStatus } from './chunk-KRF3GQ63.js';
2
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
3
- import { Button } from './chunk-RTHWXAXT.js';
3
+ import { Button } from './chunk-NPPPQSRU.js';
4
4
  import { isComposing } from './chunk-EDPMHSLZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './InlineEditor-W55DDKML.css';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './FilterPill-4GMNFZND.css';
4
4
  import { XGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-RTHWXAXT.js';
1
+ import { Button } from './chunk-NPPPQSRU.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ReceiptStrip-V7ASVZVV.css';
4
4
  import { CircleAlertGlyph, TriangleAlertGlyph, InfoGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { Tooltip } from './chunk-4SKN3BLH.js';
1
+ import { Tooltip } from './chunk-HXVMXH6U.js';
2
2
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './FactList-QEOHLHX3.css';
@@ -1,8 +1,8 @@
1
- import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-GA7HSINF.js';
1
+ import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-NOP55WRY.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-4SKN3BLH.js';
3
+ import { Tooltip } from './chunk-HXVMXH6U.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './ChatScale-ST24RFPO.css';
5
+ import './ChatScale-6NM4TP7R.css';
6
6
  import './ReactionBar-JMX75TMV.css';
7
7
  import { FaceSlightlySmilingPlusGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -60,11 +60,12 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
60
60
  add
61
61
  ] });
62
62
  }
63
- function AddReaction({ label = "Add a reaction", align = "start", disabledReason, ...picker }) {
63
+ function AddReaction({ label = "Add a reaction", align = "start", entrance = "instant", disabledReason, ...picker }) {
64
64
  return /* @__PURE__ */ jsx(
65
65
  EmojiPicker,
66
66
  {
67
67
  ...picker,
68
+ entrance,
68
69
  label,
69
70
  tooltip: heldHint(label, disabledReason),
70
71
  align,
@@ -2,7 +2,7 @@ import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
3
  import { StatusCard } from './chunk-7L75YB57.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
- import { Button } from './chunk-RTHWXAXT.js';
5
+ import { Button } from './chunk-NPPPQSRU.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './BriefCard-QCL7MVUV.css';
8
8
  import { useEffect } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
2
- import { Input } from './chunk-FWDU7E34.js';
2
+ import { Input } from './chunk-TE3OMB3Z.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';
@@ -0,0 +1,67 @@
1
+ // src/utils/fieldMirror.ts
2
+ var MIRRORED_TEXT_STYLES = [
3
+ "boxSizing",
4
+ "width",
5
+ "paddingTop",
6
+ "paddingRight",
7
+ "paddingBottom",
8
+ "paddingLeft",
9
+ "borderTopWidth",
10
+ "borderRightWidth",
11
+ "borderBottomWidth",
12
+ "borderLeftWidth",
13
+ "borderStyle",
14
+ "direction",
15
+ "fontFamily",
16
+ "fontSize",
17
+ "fontStretch",
18
+ "fontStyle",
19
+ "fontVariant",
20
+ "fontWeight",
21
+ "letterSpacing",
22
+ "lineHeight",
23
+ "tabSize",
24
+ "textIndent",
25
+ "textTransform",
26
+ "whiteSpace",
27
+ "wordBreak",
28
+ "wordSpacing",
29
+ "overflowWrap"
30
+ ];
31
+ function copyTextStyles(from, to) {
32
+ for (const key of MIRRORED_TEXT_STYLES) to.style[key] = from[key];
33
+ }
34
+ function caretPoint(field, index, relativeTo) {
35
+ const style = getComputedStyle(field);
36
+ const doc = field.ownerDocument;
37
+ const mirror = doc.createElement("div");
38
+ copyTextStyles(style, mirror);
39
+ Object.assign(mirror.style, {
40
+ position: "absolute",
41
+ top: "0",
42
+ left: "-9999px",
43
+ visibility: "hidden",
44
+ overflow: "hidden",
45
+ whiteSpace: field instanceof HTMLTextAreaElement ? "pre-wrap" : "pre",
46
+ overflowWrap: "break-word"
47
+ });
48
+ const at = Math.max(0, Math.min(index, field.value.length));
49
+ mirror.textContent = field.value.slice(0, at);
50
+ const marker = doc.createElement("span");
51
+ marker.textContent = field.value.slice(at) || ".";
52
+ mirror.append(marker);
53
+ doc.body.append(mirror);
54
+ const height = Number.parseFloat(style.lineHeight) || marker.offsetHeight;
55
+ let left = Number.parseFloat(style.borderLeftWidth) + marker.offsetLeft - field.scrollLeft;
56
+ let top = Number.parseFloat(style.borderTopWidth) + marker.offsetTop - field.scrollTop;
57
+ mirror.remove();
58
+ if (relativeTo) {
59
+ const own = field.getBoundingClientRect();
60
+ const box = relativeTo.getBoundingClientRect();
61
+ left += own.left - box.left;
62
+ top += own.top - box.top;
63
+ }
64
+ return { left, top, height };
65
+ }
66
+
67
+ export { caretPoint, copyTextStyles };
@@ -1,13 +1,13 @@
1
1
  import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
2
2
  import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
3
3
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
4
- import { Menu } from './chunk-AZKGH2UI.js';
4
+ import { Menu } from './chunk-QHUKJN33.js';
5
5
  import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
6
6
  import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
7
7
  import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
8
8
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
9
- import { IconButton } from './chunk-WF4Q5LD6.js';
10
- import { Tooltip } from './chunk-4SKN3BLH.js';
9
+ import { IconButton } from './chunk-BF2BXM6V.js';
10
+ import { Tooltip } from './chunk-HXVMXH6U.js';
11
11
  import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
12
12
  import { returnFocus } from './chunk-4ITETIGZ.js';
13
13
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -0,0 +1,2 @@
1
+ import './ChatScale-6NM4TP7R.css';
2
+ import './ChatMessage-SZGZT7O2.css';
@@ -1,9 +1,9 @@
1
- import { RefusalStrip, ReceiptStrip } from './chunk-I2FNTMX2.js';
1
+ import { RefusalStrip, ReceiptStrip } from './chunk-OKPGW76D.js';
2
2
  import { ChangeList } from './chunk-BRUJ3XXH.js';
3
3
  import { StatusCard } from './chunk-7L75YB57.js';
4
- import { Checkbox } from './chunk-PJMDXZHP.js';
4
+ import { Checkbox } from './chunk-DTEDUAEW.js';
5
5
  import { Disclosure } from './chunk-D5O64CVE.js';
6
- import { Button } from './chunk-RTHWXAXT.js';
6
+ import { Button } from './chunk-NPPPQSRU.js';
7
7
  import { Spinner } from './chunk-XSPCITPN.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './VisuallyHidden-OUYVMKEH.css';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.js';
2
2
  import { announce } from './chunk-WGMKERCR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-QCQZ5RF6.css';