@crewlethq/ui 0.101.0 → 0.102.1

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 (418) 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 +19 -18
  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 +7 -5
  20. package/dist/Avatar/AvatarStack.d.ts +3 -5
  21. package/dist/Avatar/index.js +1 -1
  22. package/dist/AvatarPicker/index.js +14 -14
  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 +12 -10
  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/CharacterPicker/index.js +2 -2
  39. package/dist/Charts/StackedColumns.d.ts +1 -1
  40. package/dist/Charts/index.js +4 -2
  41. package/dist/ChatMessage/index.js +5 -5
  42. package/dist/ChatThread/index.js +5 -5
  43. package/dist/CheckGrid/index.js +10 -9
  44. package/dist/Checkbox/index.js +9 -8
  45. package/dist/ChipField/index.js +4 -4
  46. package/dist/ChoiceButtons/index.js +2 -2
  47. package/dist/ChoiceCards/index.js +1 -1
  48. package/dist/{ChoiceCards-KHJW2FKO.css → ChoiceCards-SCVZ5FQL.css} +7 -0
  49. package/dist/CodeBlock/index.js +7 -7
  50. package/dist/ColorField/index.js +9 -8
  51. package/dist/ColorSwatch/index.js +7 -7
  52. package/dist/{ColorSwatch-V4DA4TK5.css → ColorSwatch-HBNYO6EK.css} +3 -1
  53. package/dist/Combobox/index.js +11 -10
  54. package/dist/{Combobox-GBCWXWEB.css → Combobox-F5VEJIAO.css} +7 -0
  55. package/dist/CommandPalette/index.js +15 -14
  56. package/dist/CommentThread/index.js +18 -17
  57. package/dist/CompactNav/index.js +4 -4
  58. package/dist/Composer/index.js +10 -9
  59. package/dist/ConfirmField/index.js +9 -8
  60. package/dist/ConflictNote/index.js +5 -5
  61. package/dist/ContrastBadge/index.js +3 -3
  62. package/dist/ContrastHelp/index.js +8 -8
  63. package/dist/Copyable/index.js +6 -6
  64. package/dist/Count/index.js +2 -2
  65. package/dist/DataGrid/DataGrid.d.ts +18 -0
  66. package/dist/DataGrid/index.d.ts +1 -1
  67. package/dist/DataGrid/index.js +14 -13
  68. package/dist/{DataGrid-ERDIPEWV.css → DataGrid-YNLCEH3E.css} +23 -3
  69. package/dist/DataTable/index.js +15 -14
  70. package/dist/DataView/index.js +24 -23
  71. package/dist/DatasetSource/index.js +4 -4
  72. package/dist/DateTimePicker/index.js +7 -7
  73. package/dist/DeepWorkCard/index.js +16 -14
  74. package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +13 -2
  75. package/dist/DeliveryReceipt/index.js +2 -2
  76. package/dist/{DeliveryReceipt-RMZW2DMT.css → DeliveryReceipt-G55ILD6O.css} +21 -0
  77. package/dist/DiffList/index.js +2 -2
  78. package/dist/DiffView/index.js +2 -2
  79. package/dist/Disclosure/index.js +4 -4
  80. package/dist/DocTabsEditor/index.js +13 -12
  81. package/dist/DownloadButton/index.js +5 -5
  82. package/dist/EditingStatus/index.js +4 -4
  83. package/dist/{Editor-XRI2NOO5.js → Editor-ODC36KPN.js} +13 -12
  84. package/dist/EmojiPicker/emoji.d.ts +16 -0
  85. package/dist/EmojiPicker/index.d.ts +1 -1
  86. package/dist/EmojiPicker/index.js +10 -9
  87. package/dist/EmptyValue/index.js +2 -2
  88. package/dist/EntityChip/index.js +1 -1
  89. package/dist/EntityList/index.js +8 -6
  90. package/dist/ErrorBoundary/index.js +5 -5
  91. package/dist/FactList/index.js +4 -4
  92. package/dist/FileDrop/index.js +5 -5
  93. package/dist/FileList/index.js +2 -2
  94. package/dist/FilterChip/index.js +2 -2
  95. package/dist/FilterPill/index.js +5 -5
  96. package/dist/FindingList/index.js +2 -2
  97. package/dist/FolderTile/index.js +6 -4
  98. package/dist/FollowBanner/index.js +5 -5
  99. package/dist/HuePicker/index.js +10 -10
  100. package/dist/IconButton/index.js +4 -4
  101. package/dist/ImageUpload/index.js +1 -1
  102. package/dist/InboxList/InboxList.d.ts +7 -1
  103. package/dist/InboxList/index.js +2 -2
  104. package/dist/{InboxList-NVPIL3WU.css → InboxList-G627C2OQ.css} +10 -0
  105. package/dist/InlineEditor/index.js +9 -9
  106. package/dist/InlineRef/index.js +1 -1
  107. package/dist/{InlineRef-ZF42HAPI.css → InlineRef-POVPCQZU.css} +8 -0
  108. package/dist/Input/fieldContext.d.ts +8 -0
  109. package/dist/Input/index.js +8 -7
  110. package/dist/{Input-WSMB7JG2.css → Input-YVCNNTYT.css} +13 -8
  111. package/dist/Kbd/index.js +2 -2
  112. package/dist/KeyValueRows/index.js +11 -10
  113. package/dist/Layer/index.js +1 -1
  114. package/dist/Link/index.js +2 -2
  115. package/dist/LinkCard/index.js +2 -2
  116. package/dist/LinkInterstitial/index.js +7 -7
  117. package/dist/List/index.js +2 -2
  118. package/dist/ListInput/index.js +13 -12
  119. package/dist/{ListInput-4ISMGZDQ.css → ListInput-X2GEG2X7.css} +6 -4
  120. package/dist/Listbox/index.js +2 -2
  121. package/dist/LockedLabel/index.js +2 -2
  122. package/dist/LogoSlot/index.js +8 -8
  123. package/dist/{LogoSlot-APCMGE6S.css → LogoSlot-LRHO4R54.css} +7 -2
  124. package/dist/MarkdownEditor/index.js +11 -11
  125. package/dist/MemberPicker/index.js +10 -9
  126. package/dist/MentionMenu/index.js +4 -2
  127. package/dist/Menu/index.js +6 -6
  128. package/dist/{Menu-I4SNXHOT.css → Menu-7AARCFX5.css} +3 -1
  129. package/dist/MergeConflicts/index.js +10 -10
  130. package/dist/MessageActions/index.js +12 -11
  131. package/dist/Meter/index.js +2 -2
  132. package/dist/{Meter-ZZRFUEOH.css → Meter-BMK7XCCF.css} +6 -0
  133. package/dist/Modal/index.js +6 -6
  134. package/dist/NewItemsNotice/index.js +3 -3
  135. package/dist/ObjectHeader/ObjectHeader.d.ts +0 -13
  136. package/dist/ObjectHeader/index.js +5 -3
  137. package/dist/{ObjectHeader-VKQSEJDN.css → ObjectHeader-RGWE3ULA.css} +28 -14
  138. package/dist/OpenInAppCard/index.js +12 -10
  139. package/dist/OrgLabel/index.js +2 -2
  140. package/dist/{OrgLabel-7UJKEDT3.css → OrgLabel-AZLKOG72.css} +15 -1
  141. package/dist/OrgNode/index.js +3 -3
  142. package/dist/OrgTable/index.js +21 -20
  143. package/dist/PeekRail/index.js +6 -6
  144. package/dist/PeopleRail/index.js +7 -7
  145. package/dist/PersonRow/index.js +3 -1
  146. package/dist/{PersonRow-ZR6US2QJ.css → PersonRow-3HOWUD6H.css} +13 -0
  147. package/dist/PinTile/index.js +5 -5
  148. package/dist/Popover/index.js +2 -2
  149. package/dist/PresenceStack/index.js +3 -3
  150. package/dist/PresenterView/index.js +8 -8
  151. package/dist/Principal/index.js +1 -1
  152. package/dist/PrincipalPicker/index.js +13 -12
  153. package/dist/PropertyList/index.js +7 -5
  154. package/dist/ProposalCard/index.js +23 -20
  155. package/dist/RailList/index.js +12 -11
  156. package/dist/ReactionBar/index.js +11 -10
  157. package/dist/ReceiptStrip/index.js +5 -5
  158. package/dist/RecordChip/index.js +3 -3
  159. package/dist/RefusalCard/index.js +8 -6
  160. package/dist/RelatedRow/index.js +6 -6
  161. package/dist/RelativeTime/index.js +3 -3
  162. package/dist/Reorder/index.js +3 -3
  163. package/dist/ResultTableCard/index.js +13 -11
  164. package/dist/RichEditor/index.js +6 -6
  165. package/dist/RoomRow/index.js +3 -3
  166. package/dist/{RoomRow-3OTEY6GK.css → RoomRow-O53P7Z5I.css} +8 -3
  167. package/dist/RunChip/index.js +6 -6
  168. package/dist/SandboxedFrame/index.js +6 -6
  169. package/dist/SectionFrame/index.js +4 -4
  170. package/dist/SegmentedControl/index.js +9 -9
  171. package/dist/Select/Select.d.ts +6 -0
  172. package/dist/Select/index.js +5 -3
  173. package/dist/SelectionBar/index.js +7 -7
  174. package/dist/SendButton/index.js +5 -5
  175. package/dist/SetupWizard/index.js +6 -6
  176. package/dist/ShareDialog/index.js +13 -12
  177. package/dist/SheetColumnEditor/index.js +20 -19
  178. package/dist/SheetGrid/SheetGrid.d.ts +13 -2
  179. package/dist/SheetGrid/cells.d.ts +23 -0
  180. package/dist/SheetGrid/index.d.ts +1 -1
  181. package/dist/SheetGrid/index.js +13 -13
  182. package/dist/{SheetGrid-QGQAYDEY.css → SheetGrid-JMTZCMWE.css} +23 -0
  183. package/dist/Shortcut/index.js +2 -2
  184. package/dist/SidePanel/index.js +5 -5
  185. package/dist/SidebarNav/index.js +3 -3
  186. package/dist/Skeleton/Skeleton.d.ts +6 -0
  187. package/dist/Skeleton/index.js +2 -2
  188. package/dist/{Skeleton-GIXV3KK5.css → Skeleton-DVJ4IMWA.css} +7 -3
  189. package/dist/SlideCompare/index.js +6 -6
  190. package/dist/SlideFilmstrip/index.js +11 -11
  191. package/dist/SlideGrid/index.js +3 -3
  192. package/dist/SlideNav/index.js +5 -5
  193. package/dist/SlideStage/index.js +2 -2
  194. package/dist/SourceEditor/index.js +2 -2
  195. package/dist/StatCard/index.js +2 -2
  196. package/dist/StatusCard/index.js +7 -5
  197. package/dist/StatusLegend/index.js +2 -2
  198. package/dist/StatusLine/index.js +4 -4
  199. package/dist/Stepper/index.js +2 -2
  200. package/dist/{Stepper-S4RC4OZ3.css → Stepper-BRWYNQAC.css} +3 -1
  201. package/dist/SuggestionRow/index.js +2 -2
  202. package/dist/Switch/index.js +2 -2
  203. package/dist/Switcher/index.js +17 -14
  204. package/dist/{Switcher-ZGRTTVCS.css → Switcher-MWHFBIWS.css} +9 -1
  205. package/dist/Table/index.js +2 -2
  206. package/dist/TableCells/index.js +8 -8
  207. package/dist/Tabs/index.js +8 -8
  208. package/dist/TagGroup/index.js +3 -3
  209. package/dist/TagsInput/index.js +7 -7
  210. package/dist/{TagsInput-MZXEHKJD.css → TagsInput-5GZTMIQ5.css} +2 -0
  211. package/dist/ThemeGallery/index.js +3 -3
  212. package/dist/ThemeSwitcher/index.js +10 -10
  213. package/dist/ThemeToggle/index.js +5 -5
  214. package/dist/ThinkingIndicator/index.js +2 -2
  215. package/dist/ThreadSummary/index.js +3 -3
  216. package/dist/TimeRangePicker/index.js +16 -15
  217. package/dist/TimeWindowPicker/index.js +14 -13
  218. package/dist/Timeline/index.js +2 -2
  219. package/dist/Toaster/index.js +5 -3
  220. package/dist/Toolbar/index.js +2 -2
  221. package/dist/Tooltip/index.js +2 -2
  222. package/dist/TreeCanvas/index.js +8 -8
  223. package/dist/TreeGrid/index.js +16 -15
  224. package/dist/ValueField/index.js +13 -12
  225. package/dist/VersionCompare/index.js +11 -11
  226. package/dist/VersionTimeline/index.js +9 -9
  227. package/dist/VisuallyHidden/index.js +1 -1
  228. package/dist/{VisuallyHidden-AOEXU5EB.css → VisuallyHidden-OUYVMKEH.css} +5 -0
  229. package/dist/WidgetFrame/index.js +5 -5
  230. package/dist/{chunk-MIQNKO2R.js → chunk-25CL7J4J.js} +7 -2
  231. package/dist/{chunk-EMDRNB23.js → chunk-2GR3HFQF.js} +3 -3
  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-E2QPZGLG.js → chunk-3QEAANRP.js} +1 -1
  235. package/dist/{chunk-LTD7KLOU.js → chunk-3SCASXQH.js} +1 -1
  236. package/dist/{chunk-GDYZPBLI.js → chunk-3TMSP5TD.js} +2 -2
  237. package/dist/{chunk-56ES76ST.js → chunk-3UZVFAGE.js} +13 -10
  238. package/dist/{chunk-WTJU7MAG.js → chunk-3YOLD7WG.js} +2 -2
  239. package/dist/{chunk-BVML4UVB.js → chunk-4S2AN5W4.js} +1 -1
  240. package/dist/{chunk-IGECN5B6.js → chunk-4TRSRXKX.js} +1 -1
  241. package/dist/{chunk-2WQEHXXB.js → chunk-5AORKQ5Q.js} +1 -1
  242. package/dist/{chunk-HDEKHP65.js → chunk-5EOOS2VG.js} +1 -1
  243. package/dist/{chunk-AEFR4M2W.js → chunk-5GPFEXZA.js} +1 -1
  244. package/dist/{chunk-M6G7XLLP.js → chunk-5IOVYGMH.js} +2 -2
  245. package/dist/{chunk-3QKJV3KE.js → chunk-5LIWAA7S.js} +1 -1
  246. package/dist/{chunk-YS4PWTNL.js → chunk-5VHMJEP3.js} +1 -1
  247. package/dist/{chunk-DVRECWCB.js → chunk-5W3EYO5Q.js} +1 -1
  248. package/dist/{chunk-ZUWEVSDP.js → chunk-6FCTU4UT.js} +2 -2
  249. package/dist/{chunk-CZKEABMI.js → chunk-6YYRFGXO.js} +1 -1
  250. package/dist/{chunk-RVJJZVVS.js → chunk-7HJGEQV2.js} +1 -1
  251. package/dist/{chunk-LCAKSEMB.js → chunk-7JI4RSUA.js} +1 -1
  252. package/dist/{chunk-4BEMS6Q7.js → chunk-7L75YB57.js} +2 -2
  253. package/dist/{chunk-TAWPKNNZ.js → chunk-7TKUK527.js} +3 -3
  254. package/dist/{chunk-YYKLPEOS.js → chunk-7YAGYA45.js} +1 -1
  255. package/dist/{chunk-JXDJVUWN.js → chunk-7ZXUUDWL.js} +1 -1
  256. package/dist/{chunk-RVSNBUIU.js → chunk-AHW3K3SH.js} +1 -1
  257. package/dist/{chunk-HI47TXSW.js → chunk-AJCPRBYJ.js} +2 -2
  258. package/dist/{chunk-6FVTKYH6.js → chunk-AKJK5YUY.js} +2 -2
  259. package/dist/{chunk-SBVTOIFP.js → chunk-AVO7CTFV.js} +6 -6
  260. package/dist/{chunk-6KUOHUY5.js → chunk-BB5FLR2G.js} +3 -3
  261. package/dist/{chunk-QZKGFBAR.js → chunk-BRAIO447.js} +1 -1
  262. package/dist/{chunk-U4JZ2EXG.js → chunk-BRUJ3XXH.js} +3 -3
  263. package/dist/{chunk-IQO6YDEM.js → chunk-BV66AC45.js} +4 -4
  264. package/dist/{chunk-NGJWRR7E.js → chunk-C47JZ6HR.js} +44 -9
  265. package/dist/{chunk-O6EV6GKI.js → chunk-CRYFSTYB.js} +1 -1
  266. package/dist/{chunk-BN5FEJL5.js → chunk-CVXQWNSM.js} +1 -1
  267. package/dist/{chunk-CTHZHMVG.js → chunk-CYTLVKWP.js} +4 -4
  268. package/dist/{chunk-NAHA62WD.js → chunk-D5O64CVE.js} +1 -1
  269. package/dist/{chunk-GWRU4JHQ.js → chunk-DBBOZZG5.js} +3 -3
  270. package/dist/{chunk-IYJCJOHW.js → chunk-DC7PGBRD.js} +3 -3
  271. package/dist/{chunk-44GFQ4O3.js → chunk-DEVO45TG.js} +1 -1
  272. package/dist/{chunk-QCCWXOKK.js → chunk-DJXVAA5S.js} +4 -4
  273. package/dist/{chunk-ZKC3QFDX.js → chunk-DVCTHAIF.js} +3 -3
  274. package/dist/{chunk-VKNZQB2G.js → chunk-DVZIMJND.js} +8 -2
  275. package/dist/{chunk-3OIVYHAA.js → chunk-DX7ZHO47.js} +1 -1
  276. package/dist/{chunk-TXQ6FZJL.js → chunk-DXU4SJRY.js} +4 -4
  277. package/dist/{chunk-N7H5TFQK.js → chunk-E2UGH7R5.js} +1 -1
  278. package/dist/{chunk-ZGKGSW42.js → chunk-E3I5GFTM.js} +3 -3
  279. package/dist/{chunk-CRRW4UGJ.js → chunk-EBLLIDRC.js} +6 -5
  280. package/dist/{chunk-QH2YJDRI.js → chunk-ED6ITKSU.js} +1 -1
  281. package/dist/{chunk-LIDKF3LL.js → chunk-EHD4CEHK.js} +2 -2
  282. package/dist/{chunk-WDLAAZFZ.js → chunk-ELZRLGAK.js} +2 -2
  283. package/dist/{chunk-C34CKBKF.js → chunk-ES7XJCWD.js} +1 -1
  284. package/dist/{chunk-NIZRR2NN.js → chunk-ETV4SOCY.js} +54 -14
  285. package/dist/{chunk-FP6OFRAU.js → chunk-EYMLG22J.js} +3 -3
  286. package/dist/{chunk-KMMRKMBQ.js → chunk-F2SI6JHN.js} +3 -3
  287. package/dist/{chunk-CFCJ3P7B.js → chunk-FHPHRIPO.js} +1 -1
  288. package/dist/{chunk-3JE6YIG5.js → chunk-FNVYRRK2.js} +9 -9
  289. package/dist/{chunk-UEOEBOBR.js → chunk-FOUIZS7Q.js} +1 -1
  290. package/dist/{chunk-5WRWBDML.js → chunk-FQBSYMEW.js} +1 -1
  291. package/dist/{chunk-6V465OCU.js → chunk-FT6DIDIW.js} +1 -1
  292. package/dist/{chunk-JGDCVLD4.js → chunk-FXPBUMPL.js} +4 -2
  293. package/dist/{chunk-BCZQDB3U.js → chunk-G7Y5HFVV.js} +1 -1
  294. package/dist/{chunk-EJNJMHQG.js → chunk-GBKBME7Q.js} +1 -1
  295. package/dist/{chunk-GBBRSZ2J.js → chunk-GCVCMZUS.js} +3 -3
  296. package/dist/{chunk-CTNQOSQF.js → chunk-GDSKYY6S.js} +3 -3
  297. package/dist/{chunk-3JAGO633.js → chunk-GZEMH4ZD.js} +1 -1
  298. package/dist/{chunk-MTDISM7I.js → chunk-GZSEIFWB.js} +1 -1
  299. package/dist/{chunk-HMXTZKAI.js → chunk-IB7TB47Z.js} +4 -4
  300. package/dist/{chunk-O3MYBNRO.js → chunk-IBMZNQ34.js} +2 -2
  301. package/dist/{chunk-AVMQMY66.js → chunk-IJCMOAM3.js} +1 -1
  302. package/dist/{chunk-Y7PVLEZJ.js → chunk-IR3OWPAZ.js} +1 -1
  303. package/dist/{chunk-AAP7A6WV.js → chunk-J5DMI7X3.js} +2 -2
  304. package/dist/{chunk-HR5O6PSR.js → chunk-JBRI5WPF.js} +6 -6
  305. package/dist/{chunk-QIVLL5HB.js → chunk-JFAKHQSM.js} +3 -3
  306. package/dist/chunk-JLKO7PSK.js +10 -0
  307. package/dist/{chunk-HYVYYODN.js → chunk-JT7BELIN.js} +4 -4
  308. package/dist/{chunk-2PB5D4TI.js → chunk-JZI7SIM6.js} +1 -1
  309. package/dist/{chunk-NXFTCPF6.js → chunk-KBEYFWNQ.js} +5 -2
  310. package/dist/{chunk-7IW4BVZF.js → chunk-KGEWO2LN.js} +1 -1
  311. package/dist/{chunk-TUEM2XIW.js → chunk-KHKHQD6W.js} +5 -1
  312. package/dist/{chunk-4OHBHPIB.js → chunk-KKDC5ELG.js} +1 -1
  313. package/dist/{chunk-QPRTTTUN.js → chunk-KMDVDWQI.js} +3 -3
  314. package/dist/{chunk-7BDBO2NP.js → chunk-KRAZYXAA.js} +2 -2
  315. package/dist/{chunk-I2GJLUU3.js → chunk-KRF3GQ63.js} +1 -1
  316. package/dist/{chunk-U5Y335HH.js → chunk-KSEM4ZUP.js} +2 -2
  317. package/dist/{chunk-IWZG7NPV.js → chunk-L6HUVA33.js} +1 -1
  318. package/dist/{chunk-SJP7WYIV.js → chunk-L6SYLG3F.js} +3 -3
  319. package/dist/{chunk-M52HLPOG.js → chunk-LHCEPSWP.js} +3 -2
  320. package/dist/{chunk-K2GVWTHA.js → chunk-LJ2BXVKQ.js} +7 -7
  321. package/dist/{chunk-IAR2ULSK.js → chunk-LQ4R4CHS.js} +81 -54
  322. package/dist/{chunk-4QTOAMQN.js → chunk-LRZQSMRX.js} +5 -5
  323. package/dist/{chunk-5KKZCSER.js → chunk-MN2RZN2C.js} +1 -1
  324. package/dist/{chunk-YWVT7B6N.js → chunk-MNTN5ESE.js} +10 -7
  325. package/dist/{chunk-LIRXQOTR.js → chunk-MQ3T56A4.js} +21 -14
  326. package/dist/{chunk-YGRTX67J.js → chunk-MQX7SHG7.js} +1 -1
  327. package/dist/{chunk-VULZ4FAA.js → chunk-MSJPIUDW.js} +2 -2
  328. package/dist/{chunk-F7HZYTZT.js → chunk-MTIW75QU.js} +1 -1
  329. package/dist/{chunk-RQFRRPV6.js → chunk-MXOT2CWL.js} +2 -2
  330. package/dist/{chunk-7U6PK242.js → chunk-N3WS3XDV.js} +1 -1
  331. package/dist/{chunk-52UBOSNQ.js → chunk-NBQ5TKC6.js} +2 -2
  332. package/dist/{chunk-463DNZXI.js → chunk-NCQC5Y4E.js} +1 -1
  333. package/dist/{chunk-LSRQ2A6B.js → chunk-NEPNJMTD.js} +1 -1
  334. package/dist/{chunk-6M2N6ETA.js → chunk-NMWI2P2E.js} +1 -1
  335. package/dist/{chunk-2LLMUJFB.js → chunk-NUZELCUD.js} +3 -3
  336. package/dist/{chunk-AEUZU5SA.js → chunk-NXVF5JWZ.js} +3 -3
  337. package/dist/{chunk-LNXL22Y7.js → chunk-NZSDE3OU.js} +7 -7
  338. package/dist/{chunk-P667Y6NQ.js → chunk-OAWCHDQV.js} +1 -1
  339. package/dist/{chunk-ULYHDP7U.js → chunk-ODN2TPIG.js} +1 -1
  340. package/dist/{chunk-C2HIMGFI.js → chunk-OHXOUHTX.js} +2 -2
  341. package/dist/{chunk-PQDQ64KY.js → chunk-OSPZN4OE.js} +2 -2
  342. package/dist/{chunk-33632WEN.js → chunk-OXG4UYMB.js} +5 -5
  343. package/dist/{chunk-5JGEEUWQ.js → chunk-P4QZMHAT.js} +5 -4
  344. package/dist/{chunk-I4IUX3JF.js → chunk-P5VPD4YZ.js} +17 -15
  345. package/dist/{chunk-R2QBQ6NO.js → chunk-PFZKJXEA.js} +2 -2
  346. package/dist/{chunk-GKBH5JHE.js → chunk-PMP2WNF4.js} +1 -1
  347. package/dist/{chunk-G6QKJGQQ.js → chunk-PYNX5Q3J.js} +1 -1
  348. package/dist/{chunk-TVGTMKYO.js → chunk-PYVP4LA5.js} +11 -5
  349. package/dist/{chunk-CQAR3F33.js → chunk-Q6GAYYXI.js} +11 -10
  350. package/dist/{chunk-NHQ7O4DG.js → chunk-QDWI24EX.js} +14 -14
  351. package/dist/{chunk-MFZBLJYF.js → chunk-QIWQFXKX.js} +2 -2
  352. package/dist/{chunk-TKAERQQF.js → chunk-QOMO7ECD.js} +2 -2
  353. package/dist/{chunk-LZNPL266.js → chunk-QU7GTPC5.js} +1 -1
  354. package/dist/{chunk-A5ISYHW7.js → chunk-QUZRBQ43.js} +7 -7
  355. package/dist/{chunk-MJ73YBP2.js → chunk-R62IXILJ.js} +2 -2
  356. package/dist/{chunk-LR4IWUWQ.js → chunk-RGJB34YN.js} +1 -1
  357. package/dist/{chunk-SF6FUU42.js → chunk-RMDXYHE3.js} +2 -2
  358. package/dist/{chunk-LYVWOAUN.js → chunk-RMXMAHH2.js} +1 -1
  359. package/dist/{chunk-UT6CW3C7.js → chunk-RRRK2KB6.js} +1 -1
  360. package/dist/{chunk-PXYDEDNN.js → chunk-RYGNJNVJ.js} +6 -6
  361. package/dist/{chunk-PCXMJZTE.js → chunk-S4CGIXFV.js} +3 -3
  362. package/dist/{chunk-PW57R4BN.js → chunk-S656HY4W.js} +1 -1
  363. package/dist/{chunk-BC4H2EMM.js → chunk-S6TWWDOH.js} +3 -3
  364. package/dist/{chunk-YEQTGPCE.js → chunk-SG5XRIOZ.js} +7 -7
  365. package/dist/{chunk-G7SAFRSJ.js → chunk-SSYHV4QE.js} +2 -2
  366. package/dist/{chunk-2W4US3JO.js → chunk-SWZD5WZG.js} +5 -5
  367. package/dist/{chunk-V7N5XWZ6.js → chunk-TBJP22E4.js} +1 -1
  368. package/dist/{chunk-UUDQEDHQ.js → chunk-TE2BPD6L.js} +2 -2
  369. package/dist/{chunk-PGCLHYVP.js → chunk-TEXK4RK6.js} +2 -2
  370. package/dist/{chunk-M2DHVN6T.js → chunk-TFXNQDJA.js} +5 -5
  371. package/dist/{chunk-TEV5REGB.js → chunk-TODOBUXO.js} +1 -1
  372. package/dist/{chunk-BRK3HXGZ.js → chunk-TRPYEDZM.js} +2 -2
  373. package/dist/{chunk-AOFVXE6V.js → chunk-U3LHWQQK.js} +1 -1
  374. package/dist/{chunk-5K5SZGBI.js → chunk-U3Z57D25.js} +3 -3
  375. package/dist/{chunk-NRMF2PKX.js → chunk-UD7E46JF.js} +6 -6
  376. package/dist/{chunk-XHQ2JJCB.js → chunk-UJDXFRR7.js} +2 -2
  377. package/dist/{chunk-QND44ROZ.js → chunk-UTZ3DBPB.js} +2 -2
  378. package/dist/{chunk-V6CVW6PF.js → chunk-UUICORUJ.js} +7 -7
  379. package/dist/{chunk-4TAMRAUQ.js → chunk-UURRF5Y6.js} +1 -1
  380. package/dist/{chunk-6IAW2ZIE.js → chunk-UUSZMEDK.js} +9 -9
  381. package/dist/{chunk-AP6JSZGT.js → chunk-V3ZKGVC2.js} +5 -5
  382. package/dist/{chunk-CMAZZY2I.js → chunk-VBBLHS2Y.js} +1 -1
  383. package/dist/{chunk-KN4YCWWO.js → chunk-VGJ4IH72.js} +5 -5
  384. package/dist/{chunk-TN3BH3Q4.js → chunk-VRDLNMST.js} +1 -1
  385. package/dist/{chunk-EF3CJDZO.js → chunk-VUGIZRDA.js} +4 -4
  386. package/dist/{chunk-V3QWPHY4.js → chunk-VVZLPRF3.js} +3 -3
  387. package/dist/{chunk-F2ZSFDJZ.js → chunk-VY37HWFV.js} +1 -1
  388. package/dist/{chunk-E2XDYCFO.js → chunk-VYZ6SJWH.js} +2 -2
  389. package/dist/{chunk-J5T5TDM2.js → chunk-W3A6NBUM.js} +1 -1
  390. package/dist/{chunk-E23AXDKL.js → chunk-W7YZ7PLZ.js} +5 -5
  391. package/dist/{chunk-RE3FBGQQ.js → chunk-WGLOH33S.js} +1 -1
  392. package/dist/{chunk-2G355KDJ.js → chunk-WGMKERCR.js} +1 -1
  393. package/dist/{chunk-63NRTOGO.js → chunk-WNAPQC4G.js} +3 -3
  394. package/dist/{chunk-NBOHNPZB.js → chunk-WNRS45XI.js} +1 -1
  395. package/dist/{chunk-YTLWOHOY.js → chunk-WUCRLA25.js} +2 -2
  396. package/dist/{chunk-D4MMW2NF.js → chunk-WUFDCQQF.js} +65 -47
  397. package/dist/{chunk-MKTHLT4E.js → chunk-X5MJPPO7.js} +5 -5
  398. package/dist/{chunk-ZDJQQ4LU.js → chunk-XDUXAQIS.js} +1 -1
  399. package/dist/{chunk-LPQLJHLI.js → chunk-XHWIEAVU.js} +2 -2
  400. package/dist/{chunk-RBR4AHBT.js → chunk-XOPHJPHU.js} +1 -1
  401. package/dist/{chunk-6TD2PCZB.js → chunk-XROJ6XQ3.js} +4 -3
  402. package/dist/{chunk-IDBGDMQS.js → chunk-XSZR73LX.js} +1 -1
  403. package/dist/{chunk-V7WDP3HR.js → chunk-XYFVJRCH.js} +3 -3
  404. package/dist/{chunk-D2GT3CR4.js → chunk-Y5CMDLQM.js} +1 -1
  405. package/dist/{chunk-MOP4D5HF.js → chunk-Y6RYFN5L.js} +6 -6
  406. package/dist/{chunk-WF2UJYCT.js → chunk-YD2IB4LX.js} +2 -2
  407. package/dist/{chunk-75NQV4R4.js → chunk-YGN4SBNP.js} +1 -1
  408. package/dist/{chunk-JK6WLRYP.js → chunk-YNPMV23G.js} +16 -8
  409. package/dist/{chunk-FMOYO5OO.js → chunk-YSXA5WLH.js} +3 -3
  410. package/dist/{chunk-PJMDZEWY.js → chunk-YX27WGMR.js} +1 -1
  411. package/dist/{chunk-OSU4ELU3.js → chunk-Z227PCDA.js} +3 -3
  412. package/dist/{chunk-AP6SM6BL.js → chunk-Z7HGWZLC.js} +5 -5
  413. package/dist/{chunk-FL5DTFF3.js → chunk-ZY2SBPNN.js} +4 -4
  414. package/dist/generated/index.js +205 -204
  415. package/dist/index.js +205 -204
  416. package/dist/styles.css +299 -79
  417. package/package.json +3 -3
  418. package/dist/{chunk-S4JRQJEP.js → chunk-LNQSNXGJ.js} +1 -1
@@ -1,13 +1,13 @@
1
- import { Skeleton } from './chunk-I4IUX3JF.js';
1
+ import { Skeleton } from './chunk-P5VPD4YZ.js';
2
2
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
3
- import { RelativeTime } from './chunk-EJNJMHQG.js';
4
- import { Card } from './chunk-U2IQNDDR.js';
5
- import { AvatarStack } from './chunk-YTLWOHOY.js';
3
+ import { RelativeTime } from './chunk-GBKBME7Q.js';
4
+ import { Card } from './chunk-3C3TSWRR.js';
5
+ import { AvatarStack } from './chunk-WUCRLA25.js';
6
+ import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
7
+ import { Checkbox } from './chunk-5IOVYGMH.js';
6
8
  import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
7
- import { ArtifactKindGround } from './chunk-J5T5TDM2.js';
8
- import { Checkbox } from './chunk-M6G7XLLP.js';
9
9
  import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
10
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
10
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
11
11
  import { cx } from './chunk-ODEQTPFM.js';
12
12
  import './ArtifactKinds-27TE3KJL.css';
13
13
  import './ArtifactCard-B2QE5CVL.css';
@@ -1,14 +1,16 @@
1
- import { useListbox, useOptionKeys, useHighlightRest } from './chunk-YGRTX67J.js';
1
+ import { useListbox, useOptionKeys, useHighlightRest } from './chunk-MQX7SHG7.js';
2
+ import { useFieldError } from './chunk-JLKO7PSK.js';
2
3
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
- import { useLayerContainer, viewportBounds, anchorGone, placePopup, LAYER_GAP, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
4
+ import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
4
5
  import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
6
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
7
  import { cx } from './chunk-ODEQTPFM.js';
6
8
  import './HitArea-QUOS6ZDJ.css';
7
9
  import './Select-6BQPBOHH.css';
8
10
  import { forwardRef, useId, useMemo, useState, useRef, useCallback, useEffect, useLayoutEffect } from 'react';
9
11
  import { createPortal } from 'react-dom';
10
12
  import { ChevronDownGlyph, CheckGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
11
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
13
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
12
14
 
13
15
  var same = (a, b) => String(a) === String(b);
14
16
  var optionText = (option) => option.text ?? (typeof option.label === "string" ? option.label : String(option.value));
@@ -19,14 +21,15 @@ var Select = forwardRef(function Select2({
19
21
  onChange,
20
22
  options,
21
23
  placeholder = "Select an option",
22
- disabled = false,
24
+ disabled: disabledProp = false,
25
+ disabledReason,
23
26
  className = "",
24
27
  menuClassName = "",
25
28
  size = "md",
26
29
  width = "full",
27
30
  align = "left",
28
31
  active = false,
29
- error = false,
32
+ error: errorProp,
30
33
  appearance = "field",
31
34
  ariaLabel,
32
35
  searchable = false,
@@ -50,61 +53,76 @@ var Select = forwardRef(function Select2({
50
53
  if (value === "" && !options.some((option) => String(option.value) === "")) return [];
51
54
  return [value];
52
55
  }, [value, multiple, options]);
56
+ const error = useFieldError(errorProp);
57
+ const held = disabledReason !== void 0 && disabledReason !== "";
58
+ const disabled = disabledProp || held;
59
+ const reasonId = `${rootId}-reason`;
60
+ const reason = held ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason }) : null;
61
+ const describedByAll = cx(native["aria-describedby"], held && reasonId) || void 0;
53
62
  if (mode === "native") {
54
- return /* @__PURE__ */ jsx(
55
- NativeSelect,
63
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
64
+ /* @__PURE__ */ jsx(
65
+ NativeSelect,
66
+ {
67
+ ref,
68
+ id: rootId,
69
+ value: chosen[0],
70
+ onChange,
71
+ options,
72
+ placeholder,
73
+ disabled,
74
+ className: classes,
75
+ size,
76
+ active,
77
+ error,
78
+ ariaLabel,
79
+ ...native,
80
+ "aria-describedby": describedByAll,
81
+ title: held ? disabledReason : void 0
82
+ }
83
+ ),
84
+ reason
85
+ ] });
86
+ }
87
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
88
+ /* @__PURE__ */ jsx(
89
+ ListboxSelect,
56
90
  {
57
91
  ref,
58
92
  id: rootId,
59
- value: chosen[0],
93
+ chosen,
60
94
  onChange,
61
95
  options,
62
96
  placeholder,
63
97
  disabled,
64
98
  className: classes,
99
+ menuClassName,
65
100
  size,
101
+ width,
102
+ align,
66
103
  active,
67
104
  error,
68
105
  ariaLabel,
69
- ...native
106
+ searchable,
107
+ searchPlaceholder,
108
+ multiple,
109
+ renderTrigger,
110
+ renderOption,
111
+ renderMultiLabel,
112
+ emptyMessage,
113
+ onHighlight,
114
+ describedBy: describedByAll,
115
+ reason: held ? disabledReason : void 0,
116
+ required: native.required,
117
+ ariaRequired: native["aria-required"],
118
+ focusOnMount: native.autoFocus,
119
+ name: native.name,
120
+ onBlur: native.onBlur,
121
+ onFocus: native.onFocus
70
122
  }
71
- );
72
- }
73
- return /* @__PURE__ */ jsx(
74
- ListboxSelect,
75
- {
76
- ref,
77
- id: rootId,
78
- chosen,
79
- onChange,
80
- options,
81
- placeholder,
82
- disabled,
83
- className: classes,
84
- menuClassName,
85
- size,
86
- width,
87
- align,
88
- active,
89
- error,
90
- ariaLabel,
91
- searchable,
92
- searchPlaceholder,
93
- multiple,
94
- renderTrigger,
95
- renderOption,
96
- renderMultiLabel,
97
- emptyMessage,
98
- onHighlight,
99
- describedBy: native["aria-describedby"],
100
- required: native.required,
101
- ariaRequired: native["aria-required"],
102
- focusOnMount: native.autoFocus,
103
- name: native.name,
104
- onBlur: native.onBlur,
105
- onFocus: native.onFocus
106
- }
107
- );
123
+ ),
124
+ reason
125
+ ] });
108
126
  });
109
127
  var NativeSelect = forwardRef(function NativeSelect2({ id, value, onChange, options, placeholder, disabled, className, size, active, error, ariaLabel, ...rest }, ref) {
110
128
  const current = value ?? "";
@@ -175,6 +193,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
175
193
  emptyMessage,
176
194
  onHighlight,
177
195
  describedBy,
196
+ reason,
178
197
  required,
179
198
  ariaRequired,
180
199
  focusOnMount,
@@ -315,8 +334,11 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
315
334
  const host = inHost ? container.getBoundingClientRect() : viewportBounds();
316
335
  const rect = at.getBoundingClientRect();
317
336
  const matches = width === "full";
318
- box.style.width = matches ? `${rect.width}px` : "";
319
- box.style.minWidth = matches ? "" : `${rect.width}px`;
337
+ const room = Math.max(0, host.width - 2 * LAYER_GAP);
338
+ const floor = matches ? void 0 : Math.min(rect.width, room);
339
+ box.style.maxWidth = `${room}px`;
340
+ box.style.width = matches ? `${Math.min(rect.width, room)}px` : "";
341
+ box.style.minWidth = floor === void 0 ? "" : `${floor}px`;
320
342
  const own = box.getBoundingClientRect();
321
343
  const local = {
322
344
  x: (align === "right" ? rect.right - own.width : rect.left) - (inHost ? host.x : 0),
@@ -333,10 +355,9 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
333
355
  { width: own.width, height: own.height },
334
356
  { x: LAYER_GAP, y: LAYER_GAP, width: host.width - 2 * LAYER_GAP, height: host.height - 2 * LAYER_GAP }
335
357
  );
336
- const applied = matches ? rect.width : void 0;
337
- const floor = matches ? void 0 : rect.width;
358
+ const applied = matches ? Math.min(rect.width, room) : void 0;
338
359
  setPlace(
339
- (was) => was && was.left === spot.left && was.top === spot.top && was.width === applied && was.minWidth === floor ? was : { left: spot.left, top: spot.top, width: applied, minWidth: floor }
360
+ (was) => was && was.left === spot.left && was.top === spot.top && was.width === applied && was.minWidth === floor && was.maxWidth === room ? was : { left: spot.left, top: spot.top, width: applied, minWidth: floor, maxWidth: room }
340
361
  );
341
362
  }, [align, close, container, width]);
342
363
  useLayoutEffect(() => {
@@ -475,7 +496,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
475
496
  container !== null && container !== document.body ? "crewlet-select__menu--in-host" : "crewlet-select__menu--fixed",
476
497
  menuClassName
477
498
  ),
478
- style: place ? { left: place.left, top: place.top, width: place.width, minWidth: place.minWidth } : (
499
+ style: place ? { left: place.left, top: place.top, width: place.width, minWidth: place.minWidth, maxWidth: place.maxWidth } : (
479
500
  // Laid out but not painted, so its own height can be measured
480
501
  // before it is placed and no reader sees it in a corner first.
481
502
  { visibility: "hidden" }
@@ -558,10 +579,16 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
558
579
  "aria-describedby": describedBy,
559
580
  "aria-invalid": error || void 0,
560
581
  "aria-required": comboOnTrigger ? requiredForAria : void 0,
561
- disabled,
582
+ disabled: disabled && reason === void 0,
583
+ "aria-disabled": reason !== void 0 || void 0,
584
+ title: reason,
562
585
  onBlur,
563
586
  onFocus,
564
- onClick: () => open ? close(false) : setOpen(true),
587
+ onClick: () => {
588
+ if (disabled) return;
589
+ if (open) close(false);
590
+ else setOpen(true);
591
+ },
565
592
  onKeyDown,
566
593
  children: [
567
594
  renderTrigger ? renderTrigger(single, { open }) : /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,11 +1,11 @@
1
- import { useListbox } from './chunk-YGRTX67J.js';
1
+ import { useListbox } from './chunk-MQX7SHG7.js';
2
2
  import { Tag } from './chunk-SJ3EUCFD.js';
3
- import { IconButton } from './chunk-WDLAAZFZ.js';
4
- import { isComposing } from './chunk-TUEM2XIW.js';
3
+ import { IconButton } from './chunk-ELZRLGAK.js';
4
+ import { isComposing } from './chunk-KHKHQD6W.js';
5
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
6
- import { announce } from './chunk-2G355KDJ.js';
6
+ import { announce } from './chunk-WGMKERCR.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
- import './TagsInput-MZXEHKJD.css';
8
+ import './TagsInput-5GZTMIQ5.css';
9
9
  import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
10
10
  import { CheckGlyph, ChevronLeftGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
11
11
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { Button } from './chunk-BB5FLR2G.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ChatScale-L4SIHSKL.css';
4
4
  import './ChatMessage-FH7VRVCH.css';
@@ -1,4 +1,5 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { Text } from './chunk-XLMURU75.js';
2
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
3
  import { cx } from './chunk-ODEQTPFM.js';
3
4
  import './Charts-UJKADWXE.css';
4
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -34,7 +35,7 @@ function Legend({ items, className }) {
34
35
  style: { "--crewlet-legend-swatch-color": item.color ?? dataColor(index) }
35
36
  }
36
37
  ),
37
- /* @__PURE__ */ jsx("span", { className: "crewlet-legend__label", children: item.label }),
38
+ /* @__PURE__ */ jsx("span", { className: "crewlet-legend__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: item.label }) }),
38
39
  item.value != null && /* @__PURE__ */ jsx("span", { className: "crewlet-legend__value", children: item.value })
39
40
  ] }, item.id)) })
40
41
  );
@@ -95,7 +96,7 @@ function BarList({
95
96
  const value = /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__value", children: datum.display ?? datum.value.toLocaleString() });
96
97
  const body = layout === "beside" ? /* @__PURE__ */ jsxs(Fragment, { children: [
97
98
  /* @__PURE__ */ jsxs("span", { className: "crewlet-bar-list__names", children: [
98
- /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: datum.label }),
99
+ /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: datum.label }) }),
99
100
  datum.sub && /* @__PURE__ */ jsxs(Fragment, { children: [
100
101
  " ",
101
102
  /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__sub", children: datum.sub })
@@ -108,7 +109,7 @@ function BarList({
108
109
  ] }) })
109
110
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
110
111
  /* @__PURE__ */ jsxs("span", { className: "crewlet-bar-list__head", children: [
111
- /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: datum.label }),
112
+ /* @__PURE__ */ jsx("span", { className: "crewlet-bar-list__label", children: /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, children: datum.label }) }),
112
113
  " ",
113
114
  value
114
115
  ] }),
@@ -625,11 +626,12 @@ function Sparkline({
625
626
  current ? /* @__PURE__ */ jsx("span", { className: "crewlet-spark__current", style: { top: `${(y(last) / box * 100).toFixed(2)}%` } }) : null
626
627
  ] });
627
628
  }
628
- function niceScale(peak, steps = 4) {
629
+ function niceScale(peak, steps = 4, whole = false) {
629
630
  if (!(peak > 0)) return { top: steps, step: 1 };
630
631
  const raw = peak / steps;
631
632
  const magnitude = 10 ** Math.floor(Math.log10(raw));
632
- const step = ([1, 2, 2.5, 5, 10].find((candidate) => candidate * magnitude >= raw) ?? 10) * magnitude;
633
+ const nice = ([1, 2, 2.5, 5, 10].find((candidate) => candidate * magnitude >= raw) ?? 10) * magnitude;
634
+ const step = whole ? Math.max(1, Math.ceil(nice)) : nice;
633
635
  const top = Number((Math.max(1, Math.ceil(peak / step - 1e-9)) * step).toPrecision(12));
634
636
  return { top, step: Number(step.toPrecision(12)) };
635
637
  }
@@ -663,7 +665,8 @@ function StackedColumns({
663
665
  const totals = buckets.map((_, index) => (above[index] ?? 0) + (below[index] ?? 0));
664
666
  const peak = Math.max(0, ...above);
665
667
  const trough = Math.min(0, ...below);
666
- const { top, step } = niceScale(peak - trough);
668
+ const whole = buckets.every((bucket) => shown.every((one) => Number.isInteger(valueOf(bucket, one.id))));
669
+ const { top, step } = niceScale(peak - trough, 4, whole);
667
670
  const roof = trough < 0 ? Number((Math.ceil(peak / step - 1e-9) * step).toPrecision(12)) : top;
668
671
  const floor = trough < 0 ? Number((Math.floor(trough / step + 1e-9) * step).toPrecision(12)) : 0;
669
672
  const range = roof - floor;
@@ -1,14 +1,14 @@
1
+ import { Skeleton } from './chunk-P5VPD4YZ.js';
1
2
  import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
2
- import { useReorder } from './chunk-BVML4UVB.js';
3
+ import { useReorder } from './chunk-4S2AN5W4.js';
4
+ import { Checkbox } from './chunk-5IOVYGMH.js';
3
5
  import { useMediaMatch } from './chunk-YJQXESOJ.js';
4
- import { Skeleton } from './chunk-I4IUX3JF.js';
5
- import { Checkbox } from './chunk-M6G7XLLP.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
- import { Button } from './chunk-6KUOHUY5.js';
8
- import { IconButton } from './chunk-WDLAAZFZ.js';
9
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
7
+ import { Button } from './chunk-BB5FLR2G.js';
8
+ import { IconButton } from './chunk-ELZRLGAK.js';
9
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
- import './DataGrid-ERDIPEWV.css';
11
+ import './DataGrid-YNLCEH3E.css';
12
12
  import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect, Fragment as Fragment$1 } from 'react';
13
13
  import { breakpoint } from '@crewlethq/tokens';
14
14
  import { ArrowDownGlyph, ArrowUpGlyph, ArrowUpDownGlyph, GripVerticalGlyph, ChevronRightGlyph } from '@crewlethq/icons/glyphs';
@@ -294,6 +294,10 @@ function squeezed(wrap, visible, leading = 0) {
294
294
  leading
295
295
  );
296
296
  }
297
+ function sortGridRows(rows, columns, sort) {
298
+ const get = sort ? columns.find((column) => column.key === sort.key)?.sortValue : void 0;
299
+ return get && sort ? sortByValue(rows, get, sort.desc) : [...rows];
300
+ }
297
301
  function DataGrid({
298
302
  rows,
299
303
  bands,
@@ -356,11 +360,7 @@ function DataGrid({
356
360
  [shownColumns, dropped]
357
361
  );
358
362
  const sortRows = useCallback(
359
- (input) => {
360
- if (!sort || serverSorted) return input;
361
- const get = columns.find((c) => c.key === sort.key)?.sortValue;
362
- return get ? sortByValue(input, get, sort.desc) : input;
363
- },
363
+ (input) => !sort || serverSorted ? input : sortGridRows(input, columns, sort),
364
364
  [columns, sort, serverSorted]
365
365
  );
366
366
  const keyList = ordered ? (rows ?? []).map(rowKey) : NO_KEYS;
@@ -732,8 +732,15 @@ function DataGrid({
732
732
  return /* @__PURE__ */ jsx(
733
733
  "div",
734
734
  {
735
+ id: summary.id,
735
736
  role: "row",
736
- className: "crewlet-data-grid__row crewlet-data-grid__row--summary",
737
+ tabIndex: summary.id === void 0 ? void 0 : -1,
738
+ "aria-current": summary.selected ? "true" : void 0,
739
+ className: cx(
740
+ "crewlet-data-grid__row",
741
+ "crewlet-data-grid__row--summary",
742
+ summary.selected && "crewlet-data-grid__row--selected"
743
+ ),
737
744
  "data-position": summary.position ?? "bottom",
738
745
  children: drawnColumns.map((column, i) => {
739
746
  if (i < leading) return renderCell(column, null, null, void 0);
@@ -889,4 +896,4 @@ function useAnyDataGridDriving() {
889
896
  return drivable.length > 0;
890
897
  }
891
898
 
892
- export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, GRID_FOOT_LABELS, GRID_ICON_TRACK, GridFoot, GridHeadCell, alignOf, columnChoicesOf, countDataGridRows, droppedNames, fitGridColumns, headerWord, nextGridSort, overrunning, parseGridSort, rowLinkTitle, sortByValue, squeezedCells, tableTrack, useAnyDataGridDriving, useDataGridDriving };
899
+ export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, GRID_FOOT_LABELS, GRID_ICON_TRACK, GridFoot, GridHeadCell, alignOf, columnChoicesOf, countDataGridRows, droppedNames, fitGridColumns, headerWord, nextGridSort, overrunning, parseGridSort, rowLinkTitle, sortByValue, sortGridRows, squeezedCells, tableTrack, useAnyDataGridDriving, useDataGridDriving };
@@ -1,4 +1,4 @@
1
- import { usePopupLayer, isComposing } from './chunk-TUEM2XIW.js';
1
+ import { usePopupLayer, isComposing } from './chunk-KHKHQD6W.js';
2
2
  import './Listbox-NQV6E3FS.css';
3
3
  import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
4
4
 
@@ -1,5 +1,5 @@
1
- import { SegmentedControl } from './chunk-FP6OFRAU.js';
2
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { SegmentedControl } from './chunk-EYMLG22J.js';
2
+ import { Button } from './chunk-BB5FLR2G.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MergeConflicts-HCXPRQVR.css';
5
5
  import { useState, useId, useRef, useEffect } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { presenceHueClass } from './chunk-EFX2YC5T.js';
2
2
  import { presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
3
3
  import { avatarCorner, AVATAR_SIZES, Avatar } from './chunk-XZY6S3UC.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 './PresenceStack-2DTYRADY.css';
7
7
  import { isCrewletCharacter } from '@crewlethq/icons/characters';
@@ -1,6 +1,6 @@
1
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './Meter-ZZRFUEOH.css';
3
+ import './Meter-BMK7XCCF.css';
4
4
  import { useId } from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
@@ -1,4 +1,4 @@
1
- import { Count } from './chunk-D2GT3CR4.js';
1
+ import { Count } from './chunk-Y5CMDLQM.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ArrangeGroup-KRWWOJKR.css';
4
4
  import { useId } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { useDownload, safeFilename } from './chunk-YNRKVY7X.js';
2
- import { Button } from './chunk-6KUOHUY5.js';
3
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
+ import { Button } from './chunk-BB5FLR2G.js';
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';
6
6
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -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 './NewItemsNotice-Q5ED73BQ.css';
4
4
  import { useRef, useEffect } 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 './FindingList-MPLA2ZTO.css';
4
4
  import { CircleAlertGlyph, TriangleAlertGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { SlideStage } from './chunk-O6EV6GKI.js';
1
+ import { SlideStage } from './chunk-CRYFSTYB.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './SlideGrid-J4LAOUSJ.css';
4
4
  import { EyeOffGlyph } from '@crewlethq/icons/glyphs';
@@ -1,7 +1,7 @@
1
- import { Select } from './chunk-IAR2ULSK.js';
2
- import { SidebarNav, NavItem } from './chunk-BRK3HXGZ.js';
1
+ import { Select } from './chunk-LQ4R4CHS.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,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-BB5FLR2G.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './BriefCard-QCL7MVUV.css';
8
8
  import { useEffect } from 'react';
@@ -1,12 +1,12 @@
1
- import { Modal } from './chunk-EMDRNB23.js';
1
+ import { Modal } from './chunk-2GR3HFQF.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
- import { Menu } from './chunk-JK6WLRYP.js';
4
- import { EmptyValue } from './chunk-RE3FBGQQ.js';
3
+ import { EmptyValue } from './chunk-WGLOH33S.js';
5
4
  import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
6
- import { Checkbox } from './chunk-M6G7XLLP.js';
7
- import { Button } from './chunk-6KUOHUY5.js';
8
- import { IconButton } from './chunk-WDLAAZFZ.js';
9
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
5
+ import { Checkbox } from './chunk-5IOVYGMH.js';
6
+ import { Menu } from './chunk-YNPMV23G.js';
7
+ import { Button } from './chunk-BB5FLR2G.js';
8
+ import { IconButton } from './chunk-ELZRLGAK.js';
9
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './DataTable-GSLDFY5U.css';
12
12
  import React, { useState, useCallback, useMemo, useRef, useLayoutEffect, useEffect, useId } from 'react';
@@ -1,4 +1,4 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-E2XDYCFO.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-VYZ6SJWH.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-2UNSZ4ZQ.css';
@@ -1,4 +1,4 @@
1
- import { Count } from './chunk-D2GT3CR4.js';
1
+ import { Count } from './chunk-Y5CMDLQM.js';
2
2
  import { headingTag } from './chunk-PQADV6P6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
@@ -1,7 +1,7 @@
1
1
  import { Tag } from './chunk-SJ3EUCFD.js';
2
- import { RelativeTime } from './chunk-EJNJMHQG.js';
2
+ import { RelativeTime } from './chunk-GBKBME7Q.js';
3
3
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.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 './HitArea-QUOS6ZDJ.css';
7
7
  import './DatasetSource-23SI5OF2.css';
@@ -1,7 +1,7 @@
1
- import { ListItem } from './chunk-F2ZSFDJZ.js';
1
+ import { ListItem } from './chunk-VY37HWFV.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './ChatScale-L4SIHSKL.css';
4
- import './RoomRow-3OTEY6GK.css';
4
+ import './RoomRow-O53P7Z5I.css';
5
5
  import { Fragment as Fragment$1 } from 'react';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
7
7
 
@@ -1,11 +1,11 @@
1
1
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
2
- import { Kbd } from './chunk-CMAZZY2I.js';
3
- import { Button } from './chunk-6KUOHUY5.js';
4
- import { IconButton } from './chunk-WDLAAZFZ.js';
5
- import { Tooltip } from './chunk-QZKGFBAR.js';
2
+ import { Kbd } from './chunk-VBBLHS2Y.js';
3
+ import { Button } from './chunk-BB5FLR2G.js';
4
+ import { IconButton } from './chunk-ELZRLGAK.js';
5
+ import { Tooltip } from './chunk-BRAIO447.js';
6
6
  import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-FIX72ZEC.js';
7
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
8
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './Canvas-UQVR7IUL.css';
11
11
  import { useId, useRef, useState, useCallback, useLayoutEffect, useImperativeHandle, useEffect } from 'react';
@@ -1,6 +1,6 @@
1
- import { emojiName, EmojiPicker } from './chunk-D4MMW2NF.js';
1
+ import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-WUFDCQQF.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-QZKGFBAR.js';
3
+ import { Tooltip } from './chunk-BRAIO447.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
  }