@crewlethq/ui 0.102.0 → 0.102.2

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 (415) hide show
  1. package/dist/Accordion/index.js +4 -4
  2. package/dist/ActivityLine/index.js +3 -3
  3. package/dist/AddPill/index.js +2 -2
  4. package/dist/AgentHandoffPanel/index.js +18 -17
  5. package/dist/Announcer/index.js +2 -2
  6. package/dist/AppShell/index.js +8 -8
  7. package/dist/{AppShell-24IM2GC3.css → AppShell-S5FHXWNS.css} +4 -0
  8. package/dist/ArrangeFrame/index.js +6 -6
  9. package/dist/ArrangeGroup/index.js +3 -3
  10. package/dist/ArrangeList/index.js +12 -11
  11. package/dist/ArtifactBar/index.js +11 -11
  12. package/dist/ArtifactCard/index.js +19 -16
  13. package/dist/ArtifactKindIllustration/index.js +2 -2
  14. package/dist/ArtifactMakeRow/index.js +2 -2
  15. package/dist/ArtifactNameCell/index.js +2 -2
  16. package/dist/ArtifactPanel/index.js +6 -6
  17. package/dist/AttachmentChip/index.js +2 -2
  18. package/dist/AttentionList/index.js +9 -7
  19. package/dist/AuthLayout/index.js +6 -4
  20. package/dist/Avatar/AvatarStack.d.ts +3 -5
  21. package/dist/Avatar/index.js +1 -1
  22. package/dist/AvatarPicker/index.js +12 -12
  23. package/dist/{AvatarStack-KEHD3GWY.css → AvatarStack-EQZZJZ3V.css} +6 -0
  24. package/dist/BrandSample/index.js +1 -1
  25. package/dist/{BrandSample-G5V7GKR2.css → BrandSample-WCI3IS25.css} +4 -1
  26. package/dist/Breadcrumb/index.js +3 -1
  27. package/dist/{Breadcrumb-55VBXIN4.css → Breadcrumb-4RWP72R6.css} +14 -4
  28. package/dist/BriefCard/index.js +11 -9
  29. package/dist/Button/index.js +4 -4
  30. package/dist/{Button-GDEBGBX6.css → Button-SQVYZFKM.css} +17 -5
  31. package/dist/Canvas/index.js +7 -7
  32. package/dist/CanvasBoard/index.js +10 -10
  33. package/dist/CanvasToolbar/index.js +9 -9
  34. package/dist/Card/index.js +5 -3
  35. package/dist/ChangeList/index.js +6 -6
  36. package/dist/ChangeMark/index.js +3 -3
  37. package/dist/CharacterCount/index.js +3 -3
  38. package/dist/Charts/StackedColumns.d.ts +1 -1
  39. package/dist/Charts/index.js +4 -2
  40. package/dist/ChatMessage/index.js +5 -5
  41. package/dist/ChatThread/index.js +5 -5
  42. package/dist/CheckGrid/index.js +10 -9
  43. package/dist/Checkbox/index.js +9 -8
  44. package/dist/ChipField/index.js +4 -4
  45. package/dist/ChoiceButtons/index.js +2 -2
  46. package/dist/ChoiceCards/index.js +1 -1
  47. package/dist/{ChoiceCards-KHJW2FKO.css → ChoiceCards-SCVZ5FQL.css} +7 -0
  48. package/dist/CodeBlock/index.js +7 -7
  49. package/dist/ColorField/index.js +9 -8
  50. package/dist/ColorSwatch/index.js +7 -7
  51. package/dist/{ColorSwatch-V4DA4TK5.css → ColorSwatch-HBNYO6EK.css} +3 -1
  52. package/dist/Combobox/index.js +10 -9
  53. package/dist/{Combobox-GBCWXWEB.css → Combobox-F5VEJIAO.css} +7 -0
  54. package/dist/CommandPalette/index.js +14 -13
  55. package/dist/CommentThread/index.js +16 -15
  56. package/dist/CompactNav/index.js +4 -4
  57. package/dist/Composer/index.js +10 -9
  58. package/dist/ConfirmField/index.js +9 -8
  59. package/dist/ConflictNote/index.js +5 -5
  60. package/dist/ContrastBadge/index.js +2 -2
  61. package/dist/ContrastHelp/index.js +7 -7
  62. package/dist/Copyable/index.js +6 -6
  63. package/dist/Count/index.js +2 -2
  64. package/dist/DataGrid/index.js +13 -12
  65. package/dist/DataTable/index.js +14 -13
  66. package/dist/DataView/index.js +23 -22
  67. package/dist/DatasetSource/index.js +4 -4
  68. package/dist/DateTimePicker/index.js +7 -7
  69. package/dist/DeepWorkCard/index.js +15 -13
  70. package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +13 -2
  71. package/dist/DeliveryReceipt/index.js +2 -2
  72. package/dist/{DeliveryReceipt-RMZW2DMT.css → DeliveryReceipt-G55ILD6O.css} +21 -0
  73. package/dist/DiffList/index.js +2 -2
  74. package/dist/DiffView/index.js +2 -2
  75. package/dist/Disclosure/index.js +4 -4
  76. package/dist/DocTabsEditor/index.js +12 -11
  77. package/dist/DownloadButton/index.js +5 -5
  78. package/dist/EditingStatus/index.js +4 -4
  79. package/dist/{Editor-YHHCK5SJ.js → Editor-EWIMNQUZ.js} +12 -11
  80. package/dist/EmojiPicker/emoji.d.ts +16 -0
  81. package/dist/EmojiPicker/index.d.ts +1 -1
  82. package/dist/EmojiPicker/index.js +10 -9
  83. package/dist/EmptyValue/index.js +2 -2
  84. package/dist/EntityChip/index.js +1 -1
  85. package/dist/EntityList/index.js +7 -5
  86. package/dist/ErrorBoundary/index.js +5 -5
  87. package/dist/FactList/index.js +4 -4
  88. package/dist/FileDrop/index.js +5 -5
  89. package/dist/FileList/index.js +2 -2
  90. package/dist/FilterChip/index.js +2 -2
  91. package/dist/FilterPill/index.js +5 -5
  92. package/dist/FindingList/index.js +2 -2
  93. package/dist/FolderTile/index.js +6 -4
  94. package/dist/FollowBanner/index.js +5 -5
  95. package/dist/HuePicker/index.js +10 -10
  96. package/dist/IconButton/index.js +4 -4
  97. package/dist/ImageUpload/index.js +1 -1
  98. package/dist/InboxList/InboxList.d.ts +7 -1
  99. package/dist/InboxList/index.js +2 -2
  100. package/dist/{InboxList-NVPIL3WU.css → InboxList-G627C2OQ.css} +10 -0
  101. package/dist/InlineEditor/index.js +9 -9
  102. package/dist/InlineRef/index.js +1 -1
  103. package/dist/{InlineRef-ZF42HAPI.css → InlineRef-POVPCQZU.css} +8 -0
  104. package/dist/Input/fieldContext.d.ts +8 -0
  105. package/dist/Input/index.js +8 -7
  106. package/dist/{Input-WSMB7JG2.css → Input-YVCNNTYT.css} +13 -8
  107. package/dist/Kbd/index.js +2 -2
  108. package/dist/KeyValueRows/index.js +10 -9
  109. package/dist/Layer/index.d.ts +1 -1
  110. package/dist/Layer/index.js +1 -1
  111. package/dist/Layer/stack.d.ts +10 -0
  112. package/dist/Link/index.js +2 -2
  113. package/dist/LinkCard/index.js +2 -2
  114. package/dist/LinkInterstitial/index.js +7 -7
  115. package/dist/List/index.js +2 -2
  116. package/dist/ListInput/index.js +12 -11
  117. package/dist/{ListInput-4ISMGZDQ.css → ListInput-X2GEG2X7.css} +6 -4
  118. package/dist/Listbox/index.js +2 -2
  119. package/dist/LockedLabel/index.js +2 -2
  120. package/dist/LogoSlot/index.js +7 -7
  121. package/dist/{LogoSlot-APCMGE6S.css → LogoSlot-LRHO4R54.css} +7 -2
  122. package/dist/MarkdownEditor/index.js +11 -11
  123. package/dist/MemberPicker/index.js +10 -9
  124. package/dist/MentionMenu/index.js +4 -2
  125. package/dist/Menu/index.js +6 -6
  126. package/dist/{Menu-I4SNXHOT.css → Menu-7AARCFX5.css} +3 -1
  127. package/dist/MergeConflicts/index.js +10 -10
  128. package/dist/MessageActions/index.js +12 -11
  129. package/dist/Meter/index.js +2 -2
  130. package/dist/{Meter-ZZRFUEOH.css → Meter-BMK7XCCF.css} +6 -0
  131. package/dist/Modal/index.js +6 -6
  132. package/dist/NewItemsNotice/index.js +3 -3
  133. package/dist/ObjectHeader/ObjectHeader.d.ts +0 -13
  134. package/dist/ObjectHeader/index.js +5 -3
  135. package/dist/{ObjectHeader-VKQSEJDN.css → ObjectHeader-RGWE3ULA.css} +28 -14
  136. package/dist/OpenInAppCard/index.js +11 -9
  137. package/dist/OrgLabel/index.js +2 -2
  138. package/dist/{OrgLabel-7UJKEDT3.css → OrgLabel-AZLKOG72.css} +15 -1
  139. package/dist/OrgNode/index.js +3 -3
  140. package/dist/OrgTable/index.js +19 -18
  141. package/dist/PeekRail/index.js +6 -6
  142. package/dist/PeopleRail/index.js +7 -7
  143. package/dist/PersonRow/index.js +3 -1
  144. package/dist/{PersonRow-ZR6US2QJ.css → PersonRow-3HOWUD6H.css} +13 -0
  145. package/dist/PinTile/index.js +5 -5
  146. package/dist/Popover/index.js +2 -2
  147. package/dist/PresenceStack/index.js +3 -3
  148. package/dist/PresenterView/index.js +8 -8
  149. package/dist/Principal/index.js +1 -1
  150. package/dist/PrincipalPicker/index.js +12 -11
  151. package/dist/PropertyList/index.js +7 -5
  152. package/dist/ProposalCard/index.js +21 -18
  153. package/dist/RailList/index.js +12 -11
  154. package/dist/ReactionBar/index.js +11 -10
  155. package/dist/ReceiptStrip/index.js +5 -5
  156. package/dist/RecordChip/index.js +3 -3
  157. package/dist/RefusalCard/index.js +7 -5
  158. package/dist/RelatedRow/index.js +6 -6
  159. package/dist/RelativeTime/index.js +3 -3
  160. package/dist/Reorder/index.js +3 -3
  161. package/dist/ResultTableCard/index.js +12 -10
  162. package/dist/RichEditor/index.js +6 -6
  163. package/dist/RoomRow/index.js +3 -3
  164. package/dist/{RoomRow-3OTEY6GK.css → RoomRow-O53P7Z5I.css} +8 -3
  165. package/dist/RunChip/index.js +6 -6
  166. package/dist/SandboxedFrame/index.js +6 -6
  167. package/dist/SectionFrame/index.js +4 -4
  168. package/dist/SegmentedControl/index.js +9 -9
  169. package/dist/Select/Select.d.ts +6 -0
  170. package/dist/Select/index.js +5 -3
  171. package/dist/SelectionBar/index.js +7 -7
  172. package/dist/SendButton/index.js +5 -5
  173. package/dist/SetupWizard/index.js +6 -6
  174. package/dist/ShareDialog/index.js +12 -11
  175. package/dist/SheetColumnEditor/index.js +19 -18
  176. package/dist/SheetGrid/SheetGrid.d.ts +13 -2
  177. package/dist/SheetGrid/cells.d.ts +23 -0
  178. package/dist/SheetGrid/index.d.ts +1 -1
  179. package/dist/SheetGrid/index.js +12 -12
  180. package/dist/{SheetGrid-QGQAYDEY.css → SheetGrid-JMTZCMWE.css} +23 -0
  181. package/dist/Shortcut/index.js +2 -2
  182. package/dist/SidePanel/index.js +5 -5
  183. package/dist/SidebarNav/index.js +3 -3
  184. package/dist/Skeleton/Skeleton.d.ts +6 -0
  185. package/dist/Skeleton/index.js +2 -2
  186. package/dist/{Skeleton-GIXV3KK5.css → Skeleton-DVJ4IMWA.css} +7 -3
  187. package/dist/SlideCompare/index.js +6 -6
  188. package/dist/SlideFilmstrip/index.js +11 -11
  189. package/dist/SlideGrid/index.js +3 -3
  190. package/dist/SlideNav/index.js +5 -5
  191. package/dist/SlideStage/index.js +2 -2
  192. package/dist/SourceEditor/index.js +2 -2
  193. package/dist/StatCard/index.js +2 -2
  194. package/dist/StatusCard/index.js +6 -4
  195. package/dist/StatusLegend/index.js +2 -2
  196. package/dist/StatusLine/index.js +4 -4
  197. package/dist/Stepper/index.js +2 -2
  198. package/dist/{Stepper-S4RC4OZ3.css → Stepper-BRWYNQAC.css} +3 -1
  199. package/dist/SuggestionRow/index.js +2 -2
  200. package/dist/Switch/index.js +2 -2
  201. package/dist/Switcher/index.js +16 -13
  202. package/dist/{Switcher-ZGRTTVCS.css → Switcher-MWHFBIWS.css} +9 -1
  203. package/dist/Table/index.js +2 -2
  204. package/dist/TableCells/index.js +7 -7
  205. package/dist/Tabs/index.js +8 -8
  206. package/dist/TagGroup/index.js +3 -3
  207. package/dist/TagsInput/index.js +7 -7
  208. package/dist/{TagsInput-MZXEHKJD.css → TagsInput-5GZTMIQ5.css} +2 -0
  209. package/dist/ThemeGallery/index.js +3 -3
  210. package/dist/ThemeSwitcher/index.js +10 -10
  211. package/dist/ThemeToggle/index.js +5 -5
  212. package/dist/ThinkingIndicator/index.js +2 -2
  213. package/dist/ThreadSummary/index.js +2 -2
  214. package/dist/TimeRangePicker/index.js +15 -14
  215. package/dist/TimeWindowPicker/index.js +13 -12
  216. package/dist/Timeline/index.js +2 -2
  217. package/dist/Toaster/index.js +5 -3
  218. package/dist/Toolbar/index.js +2 -2
  219. package/dist/Tooltip/index.js +2 -2
  220. package/dist/TreeCanvas/index.js +8 -8
  221. package/dist/TreeGrid/index.js +15 -14
  222. package/dist/ValueField/index.js +12 -11
  223. package/dist/VersionCompare/index.js +11 -11
  224. package/dist/VersionTimeline/index.js +9 -9
  225. package/dist/VisuallyHidden/index.js +1 -1
  226. package/dist/{VisuallyHidden-AOEXU5EB.css → VisuallyHidden-OUYVMKEH.css} +5 -0
  227. package/dist/WidgetFrame/index.js +5 -5
  228. package/dist/{chunk-MIQNKO2R.js → chunk-25CL7J4J.js} +7 -2
  229. package/dist/{chunk-P667Y6NQ.js → chunk-2ES6LAV2.js} +1 -1
  230. package/dist/{chunk-C34CKBKF.js → chunk-2ONUTSER.js} +1 -1
  231. package/dist/{chunk-UUDQEDHQ.js → chunk-2SWDUJCT.js} +2 -2
  232. package/dist/{chunk-G5IZGAWS.js → chunk-2YADDY4A.js} +1 -1
  233. package/dist/{chunk-U2IQNDDR.js → chunk-3C3TSWRR.js} +6 -2
  234. package/dist/{chunk-KN4YCWWO.js → chunk-3EXGTJQU.js} +5 -5
  235. package/dist/{chunk-GDYZPBLI.js → chunk-3IYS6YNX.js} +2 -2
  236. package/dist/{chunk-7L6JJ7VJ.js → chunk-3Q75RQOT.js} +7 -7
  237. package/dist/{chunk-E2QPZGLG.js → chunk-3QEAANRP.js} +1 -1
  238. package/dist/{chunk-LTD7KLOU.js → chunk-3SCASXQH.js} +1 -1
  239. package/dist/{chunk-EW4ULFHK.js → chunk-3YOLD7WG.js} +1 -1
  240. package/dist/{chunk-GBBRSZ2J.js → chunk-46BY2WPZ.js} +3 -3
  241. package/dist/{chunk-XHQ2JJCB.js → chunk-4EZOLSUO.js} +2 -2
  242. package/dist/{chunk-AC255TMQ.js → chunk-4ORJDTMS.js} +6 -5
  243. package/dist/{chunk-BVML4UVB.js → chunk-4S2AN5W4.js} +1 -1
  244. package/dist/{chunk-L72GPZ56.js → chunk-4S2GS7EL.js} +1 -1
  245. package/dist/{chunk-QZKGFBAR.js → chunk-4SKN3BLH.js} +1 -1
  246. package/dist/{chunk-4TAMRAUQ.js → chunk-4VKFZZHS.js} +1 -1
  247. package/dist/{chunk-2WQEHXXB.js → chunk-5AORKQ5Q.js} +1 -1
  248. package/dist/{chunk-3JAGO633.js → chunk-5DYV5Q67.js} +1 -1
  249. package/dist/{chunk-HDEKHP65.js → chunk-5EOOS2VG.js} +1 -1
  250. package/dist/{chunk-E2XDYCFO.js → chunk-5KAADF4G.js} +4 -18
  251. package/dist/{chunk-3QKJV3KE.js → chunk-5LIWAA7S.js} +1 -1
  252. package/dist/{chunk-DVRECWCB.js → chunk-5W3EYO5Q.js} +1 -1
  253. package/dist/{chunk-TKAERQQF.js → chunk-67T6TIGJ.js} +2 -2
  254. package/dist/{chunk-QND44ROZ.js → chunk-6KYD6DOL.js} +2 -2
  255. package/dist/{chunk-IA3NL54W.js → chunk-6NGLJRSJ.js} +4 -4
  256. package/dist/{chunk-MTKHMGJH.js → chunk-6QOW3WT2.js} +5 -5
  257. package/dist/{chunk-D4MMW2NF.js → chunk-6YQRCPJ3.js} +65 -47
  258. package/dist/{chunk-CZKEABMI.js → chunk-6YYRFGXO.js} +1 -1
  259. package/dist/{chunk-6M2N6ETA.js → chunk-73L3774J.js} +1 -1
  260. package/dist/{chunk-6V465OCU.js → chunk-7EAZGL5B.js} +1 -1
  261. package/dist/{chunk-4BEMS6Q7.js → chunk-7L75YB57.js} +2 -2
  262. package/dist/{chunk-O6EV6GKI.js → chunk-7O53SWKI.js} +1 -1
  263. package/dist/{chunk-PAJAGGSE.js → chunk-7YPP6WAT.js} +4 -4
  264. package/dist/{chunk-JXDJVUWN.js → chunk-7ZXUUDWL.js} +1 -1
  265. package/dist/{chunk-PMO6W5NE.js → chunk-AHTIZ7RU.js} +5 -5
  266. package/dist/{chunk-RVSNBUIU.js → chunk-AHW3K3SH.js} +1 -1
  267. package/dist/{chunk-HI47TXSW.js → chunk-AJCPRBYJ.js} +2 -2
  268. package/dist/{chunk-M6G7XLLP.js → chunk-AR4K6L4X.js} +2 -2
  269. package/dist/{chunk-EMXUREKE.js → chunk-ASU2MEI3.js} +5 -5
  270. package/dist/{chunk-TAWPKNNZ.js → chunk-AV5NWTYU.js} +3 -3
  271. package/dist/{chunk-CTNQOSQF.js → chunk-AWXCILIT.js} +3 -3
  272. package/dist/{chunk-JK6WLRYP.js → chunk-B7WZADFX.js} +16 -8
  273. package/dist/{chunk-RSI6EJSH.js → chunk-BINHWCBP.js} +7 -7
  274. package/dist/{chunk-U4JZ2EXG.js → chunk-BRUJ3XXH.js} +3 -3
  275. package/dist/{chunk-NGJWRR7E.js → chunk-C47JZ6HR.js} +44 -9
  276. package/dist/{chunk-DBH7ORCH.js → chunk-CJXDCURD.js} +2 -2
  277. package/dist/{chunk-BN5FEJL5.js → chunk-CVXQWNSM.js} +1 -1
  278. package/dist/{chunk-NBOHNPZB.js → chunk-CYPG4DXC.js} +1 -1
  279. package/dist/{chunk-NAHA62WD.js → chunk-D5O64CVE.js} +1 -1
  280. package/dist/{chunk-44GFQ4O3.js → chunk-DEVO45TG.js} +1 -1
  281. package/dist/{chunk-56ES76ST.js → chunk-DKFBBOVE.js} +13 -10
  282. package/dist/{chunk-ZKC3QFDX.js → chunk-DVCTHAIF.js} +3 -3
  283. package/dist/{chunk-VKNZQB2G.js → chunk-DVZIMJND.js} +8 -2
  284. package/dist/{chunk-3OIVYHAA.js → chunk-DX7ZHO47.js} +1 -1
  285. package/dist/{chunk-TUEM2XIW.js → chunk-EDPMHSLZ.js} +24 -2
  286. package/dist/{chunk-J3QFTG4B.js → chunk-EGJL5OGF.js} +6 -6
  287. package/dist/{chunk-LIDKF3LL.js → chunk-EHD4CEHK.js} +2 -2
  288. package/dist/{chunk-XRKBPNX4.js → chunk-EHZP27H5.js} +3 -3
  289. package/dist/{chunk-OSU4ELU3.js → chunk-F7K3O742.js} +3 -3
  290. package/dist/{chunk-CFCJ3P7B.js → chunk-FHPHRIPO.js} +1 -1
  291. package/dist/{chunk-JZADK2FT.js → chunk-FK6CH46C.js} +9 -9
  292. package/dist/{chunk-CQIODINH.js → chunk-FNKOULI4.js} +5 -5
  293. package/dist/{chunk-UEOEBOBR.js → chunk-FOUIZS7Q.js} +1 -1
  294. package/dist/{chunk-5WRWBDML.js → chunk-FQBSYMEW.js} +1 -1
  295. package/dist/{chunk-JGDCVLD4.js → chunk-FXPBUMPL.js} +4 -2
  296. package/dist/{chunk-EJNJMHQG.js → chunk-GBKBME7Q.js} +1 -1
  297. package/dist/{chunk-MTDISM7I.js → chunk-GZSEIFWB.js} +1 -1
  298. package/dist/{chunk-5JGEEUWQ.js → chunk-H5XYPVZ7.js} +5 -4
  299. package/dist/{chunk-6FVTKYH6.js → chunk-HWTTVN6T.js} +2 -2
  300. package/dist/{chunk-YS4PWTNL.js → chunk-I2FNTMX2.js} +1 -1
  301. package/dist/{chunk-AEUZU5SA.js → chunk-I476JLNZ.js} +3 -3
  302. package/dist/{chunk-O3MYBNRO.js → chunk-IBMZNQ34.js} +2 -2
  303. package/dist/{chunk-QPRTTTUN.js → chunk-IIM6UAJJ.js} +3 -3
  304. package/dist/{chunk-AVMQMY66.js → chunk-IJCMOAM3.js} +1 -1
  305. package/dist/{chunk-2LLMUJFB.js → chunk-INREAF4Z.js} +3 -3
  306. package/dist/{chunk-M6EVTMTK.js → chunk-IOLOWL33.js} +4 -4
  307. package/dist/{chunk-PJMDZEWY.js → chunk-IQELH56T.js} +1 -1
  308. package/dist/{chunk-Y7PVLEZJ.js → chunk-IR3OWPAZ.js} +1 -1
  309. package/dist/{chunk-MOP4D5HF.js → chunk-IS5EUMJW.js} +6 -6
  310. package/dist/{chunk-AEFR4M2W.js → chunk-J76ZZ6U2.js} +1 -1
  311. package/dist/{chunk-LYVWOAUN.js → chunk-JDHZH3JR.js} +1 -1
  312. package/dist/{chunk-PF6X74C5.js → chunk-JEHW3FEB.js} +14 -14
  313. package/dist/{chunk-MJ73YBP2.js → chunk-JFI5YB3R.js} +2 -2
  314. package/dist/{chunk-SF6FUU42.js → chunk-JGP5MUVT.js} +2 -2
  315. package/dist/{chunk-HU5PAZMU.js → chunk-JHVNR4PF.js} +4 -4
  316. package/dist/{chunk-WF2UJYCT.js → chunk-JK42RK54.js} +2 -2
  317. package/dist/chunk-JLKO7PSK.js +10 -0
  318. package/dist/{chunk-IAR2ULSK.js → chunk-JUZOMYOZ.js} +81 -54
  319. package/dist/{chunk-2PB5D4TI.js → chunk-JZI7SIM6.js} +1 -1
  320. package/dist/{chunk-BC4H2EMM.js → chunk-K5L7FJTH.js} +3 -3
  321. package/dist/{chunk-LZNPL266.js → chunk-K6PKXCR2.js} +1 -1
  322. package/dist/{chunk-33632WEN.js → chunk-KAHTBXQ7.js} +5 -5
  323. package/dist/{chunk-63NRTOGO.js → chunk-KPB4ZUBI.js} +3 -3
  324. package/dist/{chunk-7BDBO2NP.js → chunk-KRAZYXAA.js} +2 -2
  325. package/dist/{chunk-OU6ZSWEJ.js → chunk-KRF3GQ63.js} +1 -1
  326. package/dist/{chunk-YGRTX67J.js → chunk-KW7T23RT.js} +1 -1
  327. package/dist/{chunk-4OHBHPIB.js → chunk-L3G2YQE3.js} +1 -1
  328. package/dist/{chunk-IWZG7NPV.js → chunk-L6HUVA33.js} +1 -1
  329. package/dist/{chunk-SJP7WYIV.js → chunk-L6SYLG3F.js} +3 -3
  330. package/dist/{chunk-EMDRNB23.js → chunk-LDFVJSKZ.js} +3 -3
  331. package/dist/{chunk-MO5YV3XV.js → chunk-LH2LQHOX.js} +6 -6
  332. package/dist/{chunk-M52HLPOG.js → chunk-LHCEPSWP.js} +3 -2
  333. package/dist/{chunk-52UBOSNQ.js → chunk-LQZMCR2K.js} +2 -2
  334. package/dist/{chunk-BZUBONYA.js → chunk-LXOITCXH.js} +4 -4
  335. package/dist/{chunk-YEQTGPCE.js → chunk-MAWE3NCV.js} +7 -7
  336. package/dist/{chunk-IDBGDMQS.js → chunk-MIIB3ZS6.js} +1 -1
  337. package/dist/{chunk-YWVT7B6N.js → chunk-MNTN5ESE.js} +10 -7
  338. package/dist/{chunk-F7HZYTZT.js → chunk-MTIW75QU.js} +1 -1
  339. package/dist/{chunk-RQFRRPV6.js → chunk-MXOT2CWL.js} +2 -2
  340. package/dist/{chunk-7U6PK242.js → chunk-N3WS3XDV.js} +1 -1
  341. package/dist/{chunk-7IW4BVZF.js → chunk-N764LLIQ.js} +1 -1
  342. package/dist/{chunk-463DNZXI.js → chunk-NCQC5Y4E.js} +1 -1
  343. package/dist/{chunk-LSRQ2A6B.js → chunk-NEPNJMTD.js} +1 -1
  344. package/dist/{chunk-ZGKGSW42.js → chunk-NNO5GSIB.js} +3 -3
  345. package/dist/{chunk-5KKZCSER.js → chunk-NODLQBQ4.js} +1 -1
  346. package/dist/{chunk-GA773IOZ.js → chunk-O2UTMKCD.js} +7 -7
  347. package/dist/{chunk-N7H5TFQK.js → chunk-OAP576OR.js} +1 -1
  348. package/dist/{chunk-ULYHDP7U.js → chunk-ODN2TPIG.js} +1 -1
  349. package/dist/{chunk-C2HIMGFI.js → chunk-OHXOUHTX.js} +2 -2
  350. package/dist/{chunk-NXFTCPF6.js → chunk-OIM3CIA2.js} +5 -2
  351. package/dist/{chunk-E23AXDKL.js → chunk-OINMHTDX.js} +5 -5
  352. package/dist/{chunk-4QTOAMQN.js → chunk-OMVDF3RD.js} +5 -5
  353. package/dist/{chunk-AAP7A6WV.js → chunk-OP6EE23N.js} +2 -2
  354. package/dist/{chunk-HMXTZKAI.js → chunk-OPWSOIAW.js} +4 -4
  355. package/dist/{chunk-PQDQ64KY.js → chunk-OSPZN4OE.js} +2 -2
  356. package/dist/{chunk-OAKECTYH.js → chunk-OY33ZBWU.js} +53 -13
  357. package/dist/{chunk-I4IUX3JF.js → chunk-P5VPD4YZ.js} +17 -15
  358. package/dist/{chunk-R2QBQ6NO.js → chunk-PFZKJXEA.js} +2 -2
  359. package/dist/{chunk-QH2YJDRI.js → chunk-PH5APLMB.js} +1 -1
  360. package/dist/{chunk-GKBH5JHE.js → chunk-PMP2WNF4.js} +1 -1
  361. package/dist/{chunk-WDLAAZFZ.js → chunk-PNYANWZ6.js} +2 -2
  362. package/dist/{chunk-XLVWSNW3.js → chunk-POOLWQYU.js} +11 -10
  363. package/dist/{chunk-V7WDP3HR.js → chunk-PPQELBN3.js} +3 -3
  364. package/dist/{chunk-RVJJZVVS.js → chunk-PTX7BMBW.js} +1 -1
  365. package/dist/{chunk-TVGTMKYO.js → chunk-PYVP4LA5.js} +11 -5
  366. package/dist/{chunk-FMOYO5OO.js → chunk-QFI5C4YF.js} +3 -3
  367. package/dist/{chunk-5KJOG5YP.js → chunk-QGOEKPV5.js} +9 -9
  368. package/dist/{chunk-ZUWEVSDP.js → chunk-QHE4CNBM.js} +2 -2
  369. package/dist/{chunk-MFZBLJYF.js → chunk-QIWQFXKX.js} +2 -2
  370. package/dist/{chunk-HTCNTCBE.js → chunk-RC7BU5YS.js} +3 -3
  371. package/dist/{chunk-LR4IWUWQ.js → chunk-RGJB34YN.js} +1 -1
  372. package/dist/{chunk-UT6CW3C7.js → chunk-RRRK2KB6.js} +1 -1
  373. package/dist/{chunk-6KUOHUY5.js → chunk-RTHWXAXT.js} +3 -3
  374. package/dist/{chunk-PW57R4BN.js → chunk-S656HY4W.js} +1 -1
  375. package/dist/{chunk-G7SAFRSJ.js → chunk-SSYHV4QE.js} +2 -2
  376. package/dist/{chunk-AP6SM6BL.js → chunk-SUIUMAIY.js} +5 -5
  377. package/dist/{chunk-A5ISYHW7.js → chunk-T5P3K2TM.js} +8 -23
  378. package/dist/{chunk-V7N5XWZ6.js → chunk-TBJP22E4.js} +1 -1
  379. package/dist/{chunk-PGCLHYVP.js → chunk-TEXK4RK6.js} +2 -2
  380. package/dist/{chunk-TEV5REGB.js → chunk-TODOBUXO.js} +1 -1
  381. package/dist/{chunk-BRK3HXGZ.js → chunk-TRPYEDZM.js} +2 -2
  382. package/dist/{chunk-AOFVXE6V.js → chunk-U3LHWQQK.js} +1 -1
  383. package/dist/{chunk-5K5SZGBI.js → chunk-U3Z57D25.js} +3 -3
  384. package/dist/{chunk-RBR4AHBT.js → chunk-V3PIY2B2.js} +1 -1
  385. package/dist/{chunk-AP6JSZGT.js → chunk-V3ZKGVC2.js} +5 -5
  386. package/dist/{chunk-CMAZZY2I.js → chunk-VBBLHS2Y.js} +1 -1
  387. package/dist/{chunk-FP6OFRAU.js → chunk-VJ4OGNS7.js} +3 -3
  388. package/dist/{chunk-EF3CJDZO.js → chunk-VJSTBDIB.js} +4 -4
  389. package/dist/{chunk-TN3BH3Q4.js → chunk-VRDLNMST.js} +1 -1
  390. package/dist/{chunk-DK7CXQFY.js → chunk-VVIT4AIE.js} +4 -4
  391. package/dist/{chunk-F2ZSFDJZ.js → chunk-VY37HWFV.js} +1 -1
  392. package/dist/{chunk-LCAKSEMB.js → chunk-VYUEAMA4.js} +1 -1
  393. package/dist/{chunk-IGECN5B6.js → chunk-W37NWQ4G.js} +1 -1
  394. package/dist/{chunk-J5T5TDM2.js → chunk-W3A6NBUM.js} +1 -1
  395. package/dist/{chunk-2W4US3JO.js → chunk-W6SECEEG.js} +5 -5
  396. package/dist/{chunk-RE3FBGQQ.js → chunk-WGLOH33S.js} +1 -1
  397. package/dist/{chunk-2G355KDJ.js → chunk-WGMKERCR.js} +1 -1
  398. package/dist/{chunk-YTLWOHOY.js → chunk-WUCRLA25.js} +2 -2
  399. package/dist/{chunk-QIVLL5HB.js → chunk-WYZMETET.js} +3 -3
  400. package/dist/{chunk-ZDJQQ4LU.js → chunk-XDUXAQIS.js} +1 -1
  401. package/dist/{chunk-6TD2PCZB.js → chunk-XROJ6XQ3.js} +4 -3
  402. package/dist/{chunk-GWRU4JHQ.js → chunk-Y4OWRIQ3.js} +3 -3
  403. package/dist/{chunk-D2GT3CR4.js → chunk-Y5CMDLQM.js} +1 -1
  404. package/dist/{chunk-IYJCJOHW.js → chunk-Y7KBBP2M.js} +3 -3
  405. package/dist/{chunk-75NQV4R4.js → chunk-YGN4SBNP.js} +1 -1
  406. package/dist/{chunk-LPQLJHLI.js → chunk-YUW4DD2Z.js} +2 -2
  407. package/dist/{chunk-U5Y335HH.js → chunk-YWGLYDET.js} +2 -2
  408. package/dist/{chunk-YYKLPEOS.js → chunk-YX5KEKPL.js} +1 -1
  409. package/dist/{chunk-VULZ4FAA.js → chunk-Z4PTR5FX.js} +2 -2
  410. package/dist/{chunk-3Z2BSKS5.js → chunk-Z4ZVDAJA.js} +6 -6
  411. package/dist/{chunk-BCZQDB3U.js → chunk-ZQVQV5OB.js} +1 -1
  412. package/dist/generated/index.js +196 -195
  413. package/dist/index.js +196 -195
  414. package/dist/styles.css +275 -75
  415. package/package.json +3 -3
@@ -1,9 +1,10 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ChatScale-L4SIHSKL.css';
4
- import './DeliveryReceipt-RMZW2DMT.css';
4
+ import './DeliveryReceipt-G55ILD6O.css';
5
+ import { useState } from 'react';
5
6
  import { CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
6
- import { jsx, jsxs } from 'react/jsx-runtime';
7
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
8
 
8
9
  var DELIVERY_RECEIPT_LABELS = {
9
10
  reached: (who) => `Reached ${who}`,
@@ -14,7 +15,9 @@ var DELIVERY_RECEIPT_LABELS = {
14
15
  list: (names) => names.join(", "),
15
16
  reason: (words) => `(${words})`,
16
17
  groups: (groups) => groups.join("; "),
17
- truncated: "Some seats were not reached"
18
+ truncated: "Some seats were not reached",
19
+ more: (count) => `and ${count} more`,
20
+ fewer: "Show fewer"
18
21
  };
19
22
  function reachOf(recipients, labels) {
20
23
  const order = [];
@@ -42,21 +45,45 @@ function DeliveryReceipt({
42
45
  truncated = false,
43
46
  hint,
44
47
  announce = false,
48
+ max = 1,
45
49
  labels: overrides,
46
50
  className,
47
51
  ...rest
48
52
  }) {
53
+ if (max !== Infinity && (!Number.isInteger(max) || max < 1)) {
54
+ throw new RangeError(
55
+ `DeliveryReceipt max must be a whole number of at least 1; it was ${max}`
56
+ );
57
+ }
58
+ const [expanded, setExpanded] = useState(false);
49
59
  const labels = overrides ? { ...DELIVERY_RECEIPT_LABELS, ...overrides } : DELIVERY_RECEIPT_LABELS;
60
+ const cap = expanded ? Infinity : max;
61
+ const capped = (all) => all.length > cap + 1 ? all.slice(0, cap) : all;
50
62
  const none = recipients.length === 0;
51
- const answered = tense === "sent" ? recipients.filter((r) => r.answered).map((r) => r.name) : [];
63
+ const answeredAll = tense === "sent" ? recipients.filter((r) => r.answered).map((r) => r.name) : [];
64
+ const answered = capped(answeredAll);
65
+ const reached = capped(recipients);
66
+ const hiddenReach = recipients.length - reached.length;
67
+ const hiddenAnswered = answeredAll.length - answered.length;
68
+ const toggle = hiddenReach > 0 || hiddenAnswered > 0 || expanded ? /* @__PURE__ */ jsx(
69
+ "button",
70
+ {
71
+ type: "button",
72
+ className: "crewlet-delivery-receipt__more",
73
+ "aria-expanded": expanded,
74
+ onClick: () => setExpanded((was) => !was),
75
+ children: expanded ? labels.fewer : labels.more(hiddenReach)
76
+ }
77
+ ) : null;
52
78
  const reach = none ? tense === "draft" ? labels.noneDraft : labels.none : (tense === "draft" ? labels.reaches : labels.reached)(
53
- reachOf(recipients, labels)
79
+ reachOf(reached, labels)
54
80
  );
55
81
  const parts = [
56
82
  {
57
83
  key: "reach",
58
84
  mark: none ? /* @__PURE__ */ jsx(TriangleAlertGlyph, { size: "xs" }) : void 0,
59
- words: reach
85
+ words: reach,
86
+ after: toggle
60
87
  }
61
88
  ];
62
89
  if (truncated && !none)
@@ -66,7 +93,9 @@ function DeliveryReceipt({
66
93
  key: "answered",
67
94
  className: "crewlet-delivery-receipt__answered",
68
95
  mark: /* @__PURE__ */ jsx(CheckGlyph, { size: "xs" }),
69
- words: labels.answered(labels.list(answered))
96
+ words: labels.answered(
97
+ hiddenAnswered > 0 ? `${labels.list(answered)} ${labels.more(hiddenAnswered)}` : labels.list(answered)
98
+ )
70
99
  });
71
100
  }
72
101
  if (none && hint)
@@ -93,7 +122,13 @@ function DeliveryReceipt({
93
122
  children: [
94
123
  i > 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-delivery-receipt__dot", "aria-hidden": "true", children: "\xB7" }) : null,
95
124
  part.mark ? /* @__PURE__ */ jsx("span", { className: "crewlet-delivery-receipt__mark", "aria-hidden": "true", children: part.mark }) : null,
96
- /* @__PURE__ */ jsx("span", { children: part.words }),
125
+ /* @__PURE__ */ jsxs("span", { children: [
126
+ part.words,
127
+ part.after ? /* @__PURE__ */ jsxs(Fragment, { children: [
128
+ " ",
129
+ part.after
130
+ ] }) : null
131
+ ] }),
97
132
  i < parts.length - 1 ? /* @__PURE__ */ jsx(VisuallyHidden, { children: ". " }) : null
98
133
  ]
99
134
  },
@@ -1,5 +1,5 @@
1
- import { HuePicker } from './chunk-PJMDZEWY.js';
2
- import { Popover } from './chunk-LCAKSEMB.js';
1
+ import { HuePicker } from './chunk-IQELH56T.js';
2
+ import { Popover } from './chunk-VYUEAMA4.js';
3
3
  import { CharacterPicker } from './chunk-LNQSNXGJ.js';
4
4
  import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
5
5
  import { Avatar } from './chunk-XZY6S3UC.js';
@@ -1,5 +1,5 @@
1
1
  import { BrandLockup } from './chunk-KXWJJWBD.js';
2
- import { Card } from './chunk-U2IQNDDR.js';
2
+ import { Card } from './chunk-3C3TSWRR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './AuthLayout-ODHBUPHQ.css';
5
5
  import { useId } from 'react';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WDLAAZFZ.js';
1
+ import { IconButton } from './chunk-PNYANWZ6.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 { DisclosureAnatomy } from './chunk-ULYHDP7U.js';
1
+ import { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
2
2
  import { useHeadingLevel } from './chunk-PQADV6P6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Disclosure-RJSKKO7Z.css';
@@ -1,6 +1,6 @@
1
1
  import { Avatar } from './chunk-XZY6S3UC.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './OrgLabel-7UJKEDT3.css';
3
+ import './OrgLabel-AZLKOG72.css';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
 
6
6
  function OrgLabel(props) {
@@ -1,14 +1,15 @@
1
1
  import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
2
- import { characterCountState, CharacterCount } from './chunk-PGCLHYVP.js';
3
- import { IconButton } from './chunk-WDLAAZFZ.js';
4
- import { isComposing } from './chunk-TUEM2XIW.js';
2
+ import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
3
+ import { characterCountState, CharacterCount } from './chunk-TEXK4RK6.js';
4
+ import { IconButton } from './chunk-PNYANWZ6.js';
5
+ import { isComposing } from './chunk-EDPMHSLZ.js';
5
6
  import { useFocusModality } from './chunk-4ITETIGZ.js';
6
7
  import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
7
- import { announce } from './chunk-2G355KDJ.js';
8
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
8
+ import { announce } from './chunk-WGMKERCR.js';
9
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
9
10
  import { cx } from './chunk-ODEQTPFM.js';
10
- import './Input-WSMB7JG2.css';
11
- import './VisuallyHidden-AOEXU5EB.css';
11
+ import './Input-YVCNNTYT.css';
12
+ import './VisuallyHidden-OUYVMKEH.css';
12
13
  import { forwardRef, useRef, useState, useImperativeHandle, useEffect, useId } from 'react';
13
14
  import { XGlyph } from '@crewlethq/icons/glyphs';
14
15
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -17,7 +18,7 @@ var Input = forwardRef(function Input2({
17
18
  inputSize = "md",
18
19
  appearance = "default",
19
20
  width = "full",
20
- error = false,
21
+ error: errorProp,
21
22
  className = "",
22
23
  containerClassName = "",
23
24
  leading,
@@ -28,6 +29,7 @@ var Input = forwardRef(function Input2({
28
29
  ...rest
29
30
  }, ref) {
30
31
  useFocusModality();
32
+ const error = useFieldError(errorProp);
31
33
  const field = useRef(null);
32
34
  const [typed, setTyped] = useState(() => String(rest.defaultValue ?? "") !== "");
33
35
  const controlled = rest.value !== void 0;
@@ -94,7 +96,7 @@ function foldLineBreaks(text) {
94
96
  return text.replace(LINE_BREAKS, " ");
95
97
  }
96
98
  var Textarea = forwardRef(function Textarea2({
97
- error = false,
99
+ error: errorProp,
98
100
  autoResize = false,
99
101
  trailing,
100
102
  singleLine = false,
@@ -107,6 +109,7 @@ var Textarea = forwardRef(function Textarea2({
107
109
  ...rest
108
110
  }, ref) {
109
111
  useFocusModality();
112
+ const error = useFieldError(errorProp);
110
113
  const localRef = useRef(null);
111
114
  useImperativeHandle(ref, () => localRef.current);
112
115
  useEffect(() => {
@@ -240,7 +243,7 @@ var FormField = ({
240
243
  };
241
244
  const help = helper ? /* @__PURE__ */ jsx("div", { id: helperId, className: "crewlet-form-field__helper", children: helper }) : null;
242
245
  const body = /* @__PURE__ */ jsxs(Fragment, { children: [
243
- typeof children === "function" ? children(field) : children,
246
+ /* @__PURE__ */ jsx(FormFieldInvalidContext.Provider, { value: invalid, children: typeof children === "function" ? children(field) : children }),
244
247
  limit || hasTally ? /* @__PURE__ */ jsxs("div", { className: "crewlet-form-field__meta", children: [
245
248
  help ?? /* @__PURE__ */ jsx("span", { className: "crewlet-form-field__meta-spacer" }),
246
249
  hasTally ? /* @__PURE__ */ jsx("span", { id: tallyId, className: "crewlet-form-field__tally", children: tally }) : null,
@@ -1,7 +1,7 @@
1
- import { SetByLine } from './chunk-TVGTMKYO.js';
2
- import { Link } from './chunk-2PB5D4TI.js';
1
+ import { SetByLine } from './chunk-PYVP4LA5.js';
2
+ import { Link } from './chunk-JZI7SIM6.js';
3
3
  import { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
4
- import { EmptyValue } from './chunk-RE3FBGQQ.js';
4
+ import { EmptyValue } from './chunk-WGLOH33S.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './PropertyList-42MEVUXV.css';
7
7
  import { useId, Fragment } from 'react';
@@ -2,9 +2,9 @@ import { Eyebrow } from './chunk-RK4XPHVG.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
3
  import { usePresence, releaseFocus } from './chunk-PCAT2EFB.js';
4
4
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
5
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
5
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
- import './InboxList-NVPIL3WU.css';
7
+ import './InboxList-G627C2OQ.css';
8
8
  import { useId, useState, useRef, useLayoutEffect, useEffect, useCallback, cloneElement, Children, isValidElement } from 'react';
9
9
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
10
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -183,6 +183,7 @@ function InboxRow({
183
183
  title,
184
184
  qualifier,
185
185
  qualifierTone = "default",
186
+ where,
186
187
  meta,
187
188
  leading,
188
189
  excerpt,
@@ -232,6 +233,7 @@ function InboxRow({
232
233
  leading === void 0 ? null : part("leading"),
233
234
  part("title"),
234
235
  hasQualifier ? part("qualifier") : null,
236
+ where === void 0 ? null : part("where"),
235
237
  hasStatus || hasMeta ? part("end") : null,
236
238
  part("text"),
237
239
  hasOutcome ? part("outcome") : null,
@@ -264,6 +266,10 @@ function InboxRow({
264
266
  ] }) : null
265
267
  ] }) }),
266
268
  " ",
269
+ where === void 0 ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
270
+ /* @__PURE__ */ jsx("span", { id: part("where"), className: "crewlet-inbox-row__where", children: where }),
271
+ " "
272
+ ] }),
267
273
  /* @__PURE__ */ jsxs("span", { id: part("text"), className: "crewlet-inbox-row__text", children: [
268
274
  children,
269
275
  excerpt === void 0 ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ThinkingIndicator-G72NYYAM.css';
4
4
  import { ProductMark } from '@crewlethq/icons/product-mark';
@@ -214,7 +214,7 @@ function useModalLayer({ onClose, dismissable = true, initialFocus }) {
214
214
  if (holder && shared.entries.some((entry) => entry.panel()?.contains(holder))) return;
215
215
  for (const el of back) {
216
216
  if (!(el instanceof HTMLElement) || !el.isConnected || el === document.body) continue;
217
- if (returnFocus(el)) return;
217
+ if (returnFocus(el, { preventScroll: onScreen(el) })) return;
218
218
  }
219
219
  };
220
220
  }, [back]);
@@ -273,8 +273,30 @@ function useBodyScrollLock(active) {
273
273
  };
274
274
  }, [active]);
275
275
  }
276
+ function useEscapeWithin(root, onEscape, active = true) {
277
+ const handler = useRef(onEscape);
278
+ handler.current = onEscape;
279
+ useEffect(() => {
280
+ const surface = root.current;
281
+ if (!active || !surface) return void 0;
282
+ const doc = surface.ownerDocument;
283
+ const onKeyDown2 = (event) => {
284
+ if (event.key !== "Escape" || event.defaultPrevented || isComposing(event)) return;
285
+ if (!(event.target instanceof Node) || !surface.contains(event.target)) return;
286
+ if (shared.entries.length > 0 || !handler.current) return;
287
+ event.preventDefault();
288
+ handler.current();
289
+ };
290
+ doc.addEventListener("keydown", onKeyDown2);
291
+ return () => doc.removeEventListener("keydown", onKeyDown2);
292
+ }, [active, root]);
293
+ }
276
294
  function layerCount() {
277
295
  return shared.entries.length;
278
296
  }
297
+ function onScreen(el) {
298
+ const box = el.getBoundingClientRect();
299
+ return box.width > 0 && box.bottom > 0 && box.right > 0 && box.top < window.innerHeight && box.left < window.innerWidth;
300
+ }
279
301
 
280
- export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer };
302
+ export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useEscapeWithin, useModalLayer, usePopupLayer };
@@ -1,10 +1,10 @@
1
- import { Select } from './chunk-IAR2ULSK.js';
2
- import { Combobox } from './chunk-AC255TMQ.js';
3
- import { FormField, Textarea, InputAffix } from './chunk-56ES76ST.js';
4
- import './Input-WSMB7JG2.css';
5
- import './VisuallyHidden-AOEXU5EB.css';
1
+ import { Select } from './chunk-JUZOMYOZ.js';
2
+ import { Combobox } from './chunk-4ORJDTMS.js';
3
+ import { FormField, Textarea, InputAffix } from './chunk-DKFBBOVE.js';
4
+ import './Input-YVCNNTYT.css';
5
+ import './VisuallyHidden-OUYVMKEH.css';
6
6
  import './HitArea-QUOS6ZDJ.css';
7
- import './Combobox-GBCWXWEB.css';
7
+ import './Combobox-F5VEJIAO.css';
8
8
  import './Select-6BQPBOHH.css';
9
9
  import './ValueField-EIBD6RYS.css';
10
10
  import { useId, useRef, useState } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { StatusDot } from './chunk-QRE6JCHS.js';
2
2
  import { Spinner } from './chunk-XSPCITPN.js';
3
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './Stepper-S4RC4OZ3.css';
5
+ import './Stepper-BRWYNQAC.css';
6
6
  import './StepList-OAJ45IBX.css';
7
7
  import { CircleCheckGlyph, CircleAlertGlyph, LockGlyph, CircleStopGlyph, CircleDashedGlyph, ClockGlyph, CheckGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
1
  import { richEditorLabels } from './chunk-2DMTW2Y3.js';
2
2
  import { Callout } from './chunk-BPCY7ZID.js';
3
- import { Skeleton } from './chunk-I4IUX3JF.js';
4
- import { Button } from './chunk-6KUOHUY5.js';
3
+ import { Skeleton } from './chunk-P5VPD4YZ.js';
4
+ import { Button } from './chunk-RTHWXAXT.js';
5
5
  import './RichEditor-5CF3QV3J.css';
6
6
  import { forwardRef, useState, useEffect } from 'react';
7
7
  import { jsx } from 'react/jsx-runtime';
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
9
9
  var engine = null;
10
10
  var loading = null;
11
11
  function loadEngine() {
12
- loading ??= import('./Editor-YHHCK5SJ.js').then(
12
+ loading ??= import('./Editor-EWIMNQUZ.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -1,7 +1,7 @@
1
- import { SlideNav } from './chunk-6V465OCU.js';
2
- import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-O6EV6GKI.js';
1
+ import { SlideNav } from './chunk-7EAZGL5B.js';
2
+ import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-7O53SWKI.js';
3
3
  import { Eyebrow } from './chunk-RK4XPHVG.js';
4
- import { Button } from './chunk-6KUOHUY5.js';
4
+ import { Button } from './chunk-RTHWXAXT.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './PresenterView-RKYEK27N.css';
7
7
  import { useRef, useState, useEffect } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { StatusDot } from './chunk-QRE6JCHS.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './ChoiceCards-KHJW2FKO.css';
3
+ import './ChoiceCards-SCVZ5FQL.css';
4
4
  import { useId, Fragment } from 'react';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
6
6
 
@@ -1,13 +1,13 @@
1
- import { useReorder } from './chunk-BVML4UVB.js';
2
- import { FormField, Textarea } from './chunk-56ES76ST.js';
3
- import { characterCountState, CharacterCount, countCharacters } from './chunk-PGCLHYVP.js';
4
- import { Kbd } from './chunk-CMAZZY2I.js';
5
- import { Button } from './chunk-6KUOHUY5.js';
6
- import { IconButton } from './chunk-WDLAAZFZ.js';
7
- import { isComposing } from './chunk-TUEM2XIW.js';
8
- import { announce } from './chunk-2G355KDJ.js';
1
+ import { useReorder } from './chunk-4S2AN5W4.js';
2
+ import { FormField, Textarea } from './chunk-DKFBBOVE.js';
3
+ import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
4
+ import { Kbd } from './chunk-VBBLHS2Y.js';
5
+ import { Button } from './chunk-RTHWXAXT.js';
6
+ import { IconButton } from './chunk-PNYANWZ6.js';
7
+ import { isComposing } from './chunk-EDPMHSLZ.js';
8
+ import { announce } from './chunk-WGMKERCR.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
- import './ListInput-4ISMGZDQ.css';
10
+ import './ListInput-X2GEG2X7.css';
11
11
  import { forwardRef, useState, useRef, useImperativeHandle, useLayoutEffect, useId } from 'react';
12
12
  import { GripVerticalGlyph, ArrowUpGlyph, ArrowDownGlyph, XGlyph } from '@crewlethq/icons/glyphs';
13
13
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,10 +1,10 @@
1
- import { FileDrop, FilePickButton } from './chunk-N7H5TFQK.js';
2
- import { contrastRatio } from './chunk-EW4ULFHK.js';
1
+ import { FileDrop, FilePickButton } from './chunk-OAP576OR.js';
2
+ import { contrastRatio } from './chunk-3YOLD7WG.js';
3
3
  import { normalizeHex } from './chunk-7W3LYIOC.js';
4
- import { Button } from './chunk-6KUOHUY5.js';
5
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
4
+ import { Button } from './chunk-RTHWXAXT.js';
5
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
- import './LogoSlot-APCMGE6S.css';
7
+ import './LogoSlot-LRHO4R54.css';
8
8
  import { createContext, useId, useContext } from 'react';
9
9
  import { ImageGlyph, CircleAlertGlyph, UploadGlyph, TrashGlyph } from '@crewlethq/icons/glyphs';
10
10
  import { themes } from '@crewlethq/tokens';
@@ -1,4 +1,4 @@
1
- import { useAnnouncer } from './chunk-2G355KDJ.js';
1
+ import { useAnnouncer } from './chunk-WGMKERCR.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './TagGroup-VGL7ZFBK.css';
4
4
  import { useState, useRef, Children, useLayoutEffect } from 'react';
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './FileList-665NXS7T.css';
4
4
  import { useState } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './InlineRef-ZF42HAPI.css';
3
+ import './InlineRef-POVPCQZU.css';
4
4
  import { Children } from 'react';
5
5
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
6
6
 
@@ -8,6 +8,8 @@ function splitHead(children) {
8
8
  const parts = Children.toArray(children);
9
9
  const first = parts[0];
10
10
  if (typeof first === "string") {
11
+ const address = /^[a-z][a-z0-9+.-]*:\/\/[^/\s]+(?=\/\S)/i.exec(first);
12
+ if (address) return { head: address[0], rest: [first.slice(address[0].length), ...parts.slice(1)] };
11
13
  const at = first.search(/\s/);
12
14
  if (at > 0) return { head: first.slice(0, at), rest: [first.slice(at), ...parts.slice(1)] };
13
15
  }
@@ -49,7 +51,7 @@ function InlineRef({
49
51
  kind === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: `${kind}: ` }),
50
52
  /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: head })
51
53
  ] }),
52
- rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: rest }),
54
+ rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text crewlet-inline-ref__rest", children: rest }),
53
55
  external ? /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: ` (${newTabLabel})` }) : null
54
56
  ] });
55
57
  if (target === null) {
@@ -1,4 +1,4 @@
1
- import { EmptyValue } from './chunk-RE3FBGQQ.js';
1
+ import { EmptyValue } from './chunk-WGLOH33S.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './RelativeTime-EBAQPGO2.css';
4
4
  import { useSyncExternalStore } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { Tag } from './chunk-SJ3EUCFD.js';
2
2
  import { Spinner } from './chunk-XSPCITPN.js';
3
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './AttachmentChip-RZ6ZCB43.css';
6
6
  import { useState } from 'react';
@@ -1,6 +1,6 @@
1
- import { emojiName, EmojiPicker } from './chunk-D4MMW2NF.js';
1
+ import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-6YQRCPJ3.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-QZKGFBAR.js';
3
+ import { Tooltip } from './chunk-4SKN3BLH.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ChatScale-L4SIHSKL.css';
6
6
  import './ReactionBar-XXI4V7XG.css';
@@ -37,7 +37,8 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
37
37
  return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-reaction-bar", className), role: "group", "aria-label": labels.group, children: [
38
38
  reactions.map((reaction) => {
39
39
  const who = reactionWho(reaction, labels);
40
- const hint = labels.reacted(who, reaction.emoji);
40
+ const drawn = emojiOfShortcode(reaction.emoji) ?? emojiName(reaction.emoji);
41
+ const hint = labels.reacted(who, drawn);
41
42
  return /* @__PURE__ */ jsx(Tooltip, { content: heldHint(hint, disabledReason), children: /* @__PURE__ */ jsxs(
42
43
  "button",
43
44
  {
@@ -50,7 +51,7 @@ function ReactionBar({ reactions, onToggle, add, disabledReason, labels: overrid
50
51
  if (!disabledReason) onToggle(reaction.emoji);
51
52
  },
52
53
  children: [
53
- /* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children: reaction.emoji }),
54
+ /* @__PURE__ */ jsx("span", { className: "crewlet-reaction__emoji", "aria-hidden": "true", children: drawn }),
54
55
  /* @__PURE__ */ jsx("span", { className: "crewlet-reaction__count", "aria-hidden": "true", children: reaction.count.toLocaleString() })
55
56
  ]
56
57
  }
@@ -1,6 +1,6 @@
1
1
  import { StatusDot } from './chunk-QRE6JCHS.js';
2
- import { Tooltip } from './chunk-QZKGFBAR.js';
3
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
+ import { Tooltip } from './chunk-4SKN3BLH.js';
3
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './StatusLine-C6IY3U2F.css';
6
6
  import { Fragment } from 'react';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { Button } from './chunk-RTHWXAXT.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,8 +1,8 @@
1
- import { SuggestionList, SuggestionRow } from './chunk-Y7PVLEZJ.js';
1
+ import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
2
2
  import { developing } from './chunk-6C7GQOBV.js';
3
- import { StatusCard } from './chunk-4BEMS6Q7.js';
3
+ import { StatusCard } from './chunk-7L75YB57.js';
4
4
  import { StatusDot } from './chunk-QRE6JCHS.js';
5
- import { Button } from './chunk-6KUOHUY5.js';
5
+ import { Button } from './chunk-RTHWXAXT.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './BriefCard-QCL7MVUV.css';
8
8
  import { useEffect } from 'react';
@@ -1,8 +1,8 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChatScale-L4SIHSKL.css';
5
- import './VisuallyHidden-AOEXU5EB.css';
5
+ import './VisuallyHidden-OUYVMKEH.css';
6
6
  import './LinkCard-5I4MYU6I.css';
7
7
  import { useId } from 'react';
8
8
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -1,7 +1,7 @@
1
- import { Card } from './chunk-U2IQNDDR.js';
2
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { Card } from './chunk-3C3TSWRR.js';
2
+ import { Button } from './chunk-RTHWXAXT.js';
3
3
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
4
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
4
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './AttentionList-LVX7KRET.css';
7
7
  import { useId, useState } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { BrandScope } from './chunk-X7WEE3EK.js';
2
2
  import { normalizeHex } from './chunk-7W3LYIOC.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
- import './BrandSample-G5V7GKR2.css';
4
+ import './BrandSample-WCI3IS25.css';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
6
6
 
7
7
  var LABELS = {
@@ -1,7 +1,7 @@
1
- import { Select } from './chunk-IAR2ULSK.js';
2
- import { SidebarNav, NavItem } from './chunk-BRK3HXGZ.js';
1
+ import { Select } from './chunk-JUZOMYOZ.js';
2
+ import { SidebarNav, NavItem } from './chunk-TRPYEDZM.js';
3
+ import { Card } from './chunk-3C3TSWRR.js';
3
4
  import { Text } from './chunk-XLMURU75.js';
4
- import { Card } from './chunk-U2IQNDDR.js';
5
5
  import './RailList-N2ZBPRM2.css';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
 
@@ -1,7 +1,7 @@
1
- import { EditingStatus } from './chunk-OU6ZSWEJ.js';
2
- import { Kbd } from './chunk-CMAZZY2I.js';
3
- import { Button } from './chunk-6KUOHUY5.js';
4
- import { isComposing } from './chunk-TUEM2XIW.js';
1
+ import { EditingStatus } from './chunk-KRF3GQ63.js';
2
+ import { Kbd } from './chunk-VBBLHS2Y.js';
3
+ import { Button } from './chunk-RTHWXAXT.js';
4
+ import { isComposing } from './chunk-EDPMHSLZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './InlineEditor-W55DDKML.css';
7
7
  import { useRef, useLayoutEffect } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-FP6OFRAU.js';
2
+ import { SegmentedControl } from './chunk-VJ4OGNS7.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,4 +1,4 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './SuggestionRow-WSU34POM.css';
4
4
  import { Children, isValidElement } from 'react';
@@ -1,10 +1,10 @@
1
- import { SegmentedControl } from './chunk-FP6OFRAU.js';
1
+ import { SegmentedControl } from './chunk-VJ4OGNS7.js';
2
2
  import { ArtifactIcon } from './chunk-AVL52EME.js';
3
- import { Menu } from './chunk-JK6WLRYP.js';
4
- import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-CMAZZY2I.js';
5
- import { Button } from './chunk-6KUOHUY5.js';
6
- import { IconButton } from './chunk-WDLAAZFZ.js';
7
- import { Tooltip } from './chunk-QZKGFBAR.js';
3
+ import { Menu } from './chunk-B7WZADFX.js';
4
+ import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
5
+ import { Button } from './chunk-RTHWXAXT.js';
6
+ import { IconButton } from './chunk-PNYANWZ6.js';
7
+ import { Tooltip } from './chunk-4SKN3BLH.js';
8
8
  import { returnFocus } from './chunk-4ITETIGZ.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './ArtifactKinds-27TE3KJL.css';