@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,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 './FilterPill-4GMNFZND.css';
4
4
  import { XGlyph } from '@crewlethq/icons/glyphs';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useSystemTheme, resolveTheme } from './chunk-Z24ZUSTX.js';
2
- import { IconButton } from './chunk-WDLAAZFZ.js';
2
+ import { IconButton } from './chunk-PNYANWZ6.js';
3
3
  import { SunGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,18 +1,18 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
- import { FilterPill } from './chunk-AEFR4M2W.js';
3
- import { DateTimePicker } from './chunk-63NRTOGO.js';
4
- import { DataTable } from './chunk-RSI6EJSH.js';
5
- import { useListbox, useOptionKeys } from './chunk-YGRTX67J.js';
6
- import { Toolbar } from './chunk-NXFTCPF6.js';
7
- import { Popover } from './chunk-LCAKSEMB.js';
8
- import { RelativeTime } from './chunk-EJNJMHQG.js';
9
- import { Menu } from './chunk-JK6WLRYP.js';
10
- import { Input } from './chunk-56ES76ST.js';
11
- import { Kbd } from './chunk-CMAZZY2I.js';
12
- import { Button } from './chunk-6KUOHUY5.js';
13
- import { IconButton } from './chunk-WDLAAZFZ.js';
14
- import { Count } from './chunk-D2GT3CR4.js';
15
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
2
+ import { FilterPill } from './chunk-J76ZZ6U2.js';
3
+ import { DateTimePicker } from './chunk-KPB4ZUBI.js';
4
+ import { DataTable } from './chunk-BINHWCBP.js';
5
+ import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
6
+ import { Toolbar } from './chunk-OIM3CIA2.js';
7
+ import { Popover } from './chunk-VYUEAMA4.js';
8
+ import { RelativeTime } from './chunk-GBKBME7Q.js';
9
+ import { Menu } from './chunk-B7WZADFX.js';
10
+ import { Input } from './chunk-DKFBBOVE.js';
11
+ import { Kbd } from './chunk-VBBLHS2Y.js';
12
+ import { Button } from './chunk-RTHWXAXT.js';
13
+ import { IconButton } from './chunk-PNYANWZ6.js';
14
+ import { Count } from './chunk-Y5CMDLQM.js';
15
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
16
16
  import { cx } from './chunk-ODEQTPFM.js';
17
17
  import './DataView-L7HLNW7C.css';
18
18
  import { useMemo, useState, useEffect, useCallback, useRef, useId } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
2
2
  import { Avatar } from './chunk-XZY6S3UC.js';
3
- import { Button } from './chunk-6KUOHUY5.js';
4
- import { IconButton } from './chunk-WDLAAZFZ.js';
3
+ import { Button } from './chunk-RTHWXAXT.js';
4
+ import { IconButton } from './chunk-PNYANWZ6.js';
5
5
  import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './PeopleRail-MRUSDGCZ.css';
@@ -1,7 +1,7 @@
1
1
  import { frameThemeMessage, readFrameHello, frameOriginMatches, negotiateBridge, FRAME_MESSAGE, portTargetOrigin, checkFrameSandbox, httpOrigin, isFrameNonce, frameFragment, readOpenLink, externalUrl, isFocusExit } from './chunk-F6V2PTN6.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 { cx } from './chunk-ODEQTPFM.js';
6
6
  import './SandboxedFrame-P5NASXB7.css';
7
7
  import { useState, useMemo, useRef, useEffect } from 'react';
@@ -1,7 +1,7 @@
1
- import { FormField, Label, Input } from './chunk-56ES76ST.js';
2
- import { Button } from './chunk-6KUOHUY5.js';
3
- import { IconButton } from './chunk-WDLAAZFZ.js';
4
- import { announce } from './chunk-2G355KDJ.js';
1
+ import { FormField, Label, Input } from './chunk-DKFBBOVE.js';
2
+ import { Button } from './chunk-RTHWXAXT.js';
3
+ import { IconButton } from './chunk-PNYANWZ6.js';
4
+ import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './KeyValueRows-US5KW7JK.css';
7
7
  import { useId, useRef, useEffect } from 'react';
@@ -1,7 +1,7 @@
1
- import { Copyable } from './chunk-ZGKGSW42.js';
1
+ import { Copyable } from './chunk-NNO5GSIB.js';
2
2
  import { normalizeHex } from './chunk-7W3LYIOC.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
- import './ColorSwatch-V4DA4TK5.css';
4
+ import './ColorSwatch-HBNYO6EK.css';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
7
7
  var LABELS = {
@@ -0,0 +1,10 @@
1
+ import { createContext, useContext } from 'react';
2
+
3
+ // src/Input/fieldContext.ts
4
+ var FormFieldInvalidContext = createContext(false);
5
+ function useFieldError(own) {
6
+ const field = useContext(FormFieldInvalidContext);
7
+ return own ?? field;
8
+ }
9
+
10
+ export { FormFieldInvalidContext, useFieldError };
@@ -1,14 +1,16 @@
1
- import { useListbox, useOptionKeys, useHighlightRest } from './chunk-YGRTX67J.js';
1
+ import { useListbox, useOptionKeys, useHighlightRest } from './chunk-KW7T23RT.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,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 './Link-Z23PLCVS.css';
4
4
  import { forwardRef, Children, isValidElement, cloneElement } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
2
- import { RelativeTime } from './chunk-EJNJMHQG.js';
3
- import { Timeline } from './chunk-ZDJQQ4LU.js';
4
- import { Button } from './chunk-6KUOHUY5.js';
2
+ import { RelativeTime } from './chunk-GBKBME7Q.js';
3
+ import { Timeline } from './chunk-XDUXAQIS.js';
4
+ import { Button } from './chunk-RTHWXAXT.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './VersionTimeline-DEAQ7CJG.css';
7
7
  import { RotateCcwClockGlyph, PencilGlyph, ShieldGlyph, DatabaseGlyph, UploadGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { isComposing, isModalLayerOpen } from './chunk-TUEM2XIW.js';
1
+ import { isComposing, isModalLayerOpen } from './chunk-EDPMHSLZ.js';
2
2
  import { useRef, useEffect } from 'react';
3
3
 
4
4
  var TYPING_ROLES = /* @__PURE__ */ new Set(["combobox", "listbox", "textbox", "searchbox", "spinbutton"]);
@@ -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-RTHWXAXT.js';
4
+ import { IconButton } from './chunk-PNYANWZ6.js';
5
+ import { Tooltip } from './chunk-4SKN3BLH.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,7 +1,7 @@
1
1
  import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
2
- import { Popover } from './chunk-LCAKSEMB.js';
3
- import { Button } from './chunk-6KUOHUY5.js';
4
- import { IconButton } from './chunk-WDLAAZFZ.js';
2
+ import { Popover } from './chunk-VYUEAMA4.js';
3
+ import { Button } from './chunk-RTHWXAXT.js';
4
+ import { IconButton } from './chunk-PNYANWZ6.js';
5
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './DateTimePicker-PM6TIRIX.css';
@@ -1,5 +1,5 @@
1
- import { SidebarNav } from './chunk-BRK3HXGZ.js';
2
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { SidebarNav } from './chunk-TRPYEDZM.js';
2
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SectionFrame-M62UUVFQ.css';
5
5
  import { useState, useId } from 'react';
@@ -1,4 +1,4 @@
1
- import { toISO, useNow, formatRelative } from './chunk-EJNJMHQG.js';
1
+ import { toISO, useNow, formatRelative } from './chunk-GBKBME7Q.js';
2
2
  import { StatusDot } from './chunk-QRE6JCHS.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './EditingStatus-TMGT265J.css';
@@ -1,4 +1,4 @@
1
- import { usePopupLayer, isComposing } from './chunk-TUEM2XIW.js';
1
+ import { usePopupLayer, isComposing } from './chunk-EDPMHSLZ.js';
2
2
  import './Listbox-NQV6E3FS.css';
3
3
  import { useState, useRef, useCallback, useEffect, useMemo } from 'react';
4
4
 
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { Button } from './chunk-RTHWXAXT.js';
2
2
  import './ErrorBoundary-U2PA3LY2.css';
3
3
  import { Component } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -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 './FilterChip-VL33P3JL.css';
4
4
  import { createContext, useContext, useRef, useId, useCallback, useLayoutEffect } from 'react';
@@ -1,6 +1,6 @@
1
- import { StepStateMark } from './chunk-LIDKF3LL.js';
2
- import { DisclosureAnatomy } from './chunk-ULYHDP7U.js';
3
- import { VisuallyHidden } from './chunk-UT6CW3C7.js';
1
+ import { StepStateMark } from './chunk-EHD4CEHK.js';
2
+ import { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
3
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './RunChip-K5DGHXHO.css';
6
6
  import { useState, useRef, useEffect, useId } from 'react';
@@ -1,8 +1,8 @@
1
- import { Button } from './chunk-6KUOHUY5.js';
2
- import { IconButton } from './chunk-WDLAAZFZ.js';
1
+ import { Button } from './chunk-RTHWXAXT.js';
2
+ import { IconButton } from './chunk-PNYANWZ6.js';
3
3
  import { useComposedRef } from './chunk-L72URIHR.js';
4
4
  import { useLayerContainer } from './chunk-FIX72ZEC.js';
5
- import { focusables, useModalLayer, useBodyScrollLock } from './chunk-TUEM2XIW.js';
5
+ import { focusables, useModalLayer, useBodyScrollLock } from './chunk-EDPMHSLZ.js';
6
6
  import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './Modal-GKUOO7PZ.css';
@@ -1,12 +1,12 @@
1
+ import { Skeleton } from './chunk-P5VPD4YZ.js';
1
2
  import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
2
- import { Skeleton } from './chunk-I4IUX3JF.js';
3
- import { useReorder } from './chunk-BVML4UVB.js';
4
- import { Checkbox } from './chunk-M6G7XLLP.js';
3
+ import { useReorder } from './chunk-4S2AN5W4.js';
4
+ import { Checkbox } from './chunk-AR4K6L4X.js';
5
5
  import { useMediaMatch } from './chunk-YJQXESOJ.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-RTHWXAXT.js';
8
+ import { IconButton } from './chunk-PNYANWZ6.js';
9
+ import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './DataGrid-YNLCEH3E.css';
12
12
  import { useId, useRef, useState, useMemo, useCallback, useLayoutEffect, useImperativeHandle, useSyncExternalStore, useEffect, Fragment as Fragment$1 } from 'react';
@@ -1,6 +1,7 @@
1
1
  import { KeyChip } from './chunk-HBDA76EZ.js';
2
+ import { Text } from './chunk-XLMURU75.js';
2
3
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './Breadcrumb-55VBXIN4.css';
4
+ import './Breadcrumb-4RWP72R6.css';
4
5
  import { useRef, useState, useLayoutEffect } from 'react';
5
6
  import { ChevronRightGlyph } from '@crewlethq/icons/glyphs';
6
7
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -28,7 +29,7 @@ function Breadcrumb({ crumbs, current, label = "Breadcrumb", className, style, .
28
29
  " "
29
30
  ] }) : null,
30
31
  crumb.badge !== void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-breadcrumb__badge", "aria-hidden": "true", children: crumb.badge }) : null,
31
- /* @__PURE__ */ jsx("span", { className: "crewlet-breadcrumb__text", children: crumb.label })
32
+ /* @__PURE__ */ jsx(Text, { variant: "inherit", truncate: true, className: "crewlet-breadcrumb__text", children: crumb.label })
32
33
  ] });
33
34
  const face = crumb.mono ? "is-mono" : void 0;
34
35
  return (
@@ -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-RTHWXAXT.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,12 +1,12 @@
1
1
  import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
2
- import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-MO5YV3XV.js';
2
+ import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-LH2LQHOX.js';
3
3
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
4
- import { Checkbox } from './chunk-M6G7XLLP.js';
4
+ import { Checkbox } from './chunk-AR4K6L4X.js';
5
5
  import { useMediaMatch } from './chunk-YJQXESOJ.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
- import { IconButton } from './chunk-WDLAAZFZ.js';
7
+ import { IconButton } from './chunk-PNYANWZ6.js';
8
8
  import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
9
- import { focusables } from './chunk-TUEM2XIW.js';
9
+ import { focusables } from './chunk-EDPMHSLZ.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './TreeGrid-XZCH5WCC.css';
12
12
  import { useRef, useState, useLayoutEffect, useEffect, useMemo, useCallback, useImperativeHandle } from 'react';
@@ -1,12 +1,12 @@
1
- import { RefusalStrip, ReceiptStrip } from './chunk-YS4PWTNL.js';
2
- import { ChangeList } from './chunk-U4JZ2EXG.js';
3
- import { StatusCard } from './chunk-4BEMS6Q7.js';
4
- import { Checkbox } from './chunk-M6G7XLLP.js';
5
- import { Disclosure } from './chunk-NAHA62WD.js';
6
- import { Button } from './chunk-6KUOHUY5.js';
1
+ import { RefusalStrip, ReceiptStrip } from './chunk-I2FNTMX2.js';
2
+ import { ChangeList } from './chunk-BRUJ3XXH.js';
3
+ import { StatusCard } from './chunk-7L75YB57.js';
4
+ import { Checkbox } from './chunk-AR4K6L4X.js';
5
+ import { Disclosure } from './chunk-D5O64CVE.js';
6
+ import { Button } from './chunk-RTHWXAXT.js';
7
7
  import { Spinner } from './chunk-XSPCITPN.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
- import './VisuallyHidden-AOEXU5EB.css';
9
+ import './VisuallyHidden-OUYVMKEH.css';
10
10
  import './ProposalCard-SF332W4E.css';
11
11
  import { useId, useRef, useLayoutEffect, useState, useEffect } from 'react';
12
12
  import { RefreshCwGlyph, LockGlyph, BanGlyph, ClockGlyph, CircleAlertGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
@@ -1,4 +1,4 @@
1
- import { CopyButton } from './chunk-ZGKGSW42.js';
1
+ import { CopyButton } from './chunk-NNO5GSIB.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './CodeBlock-T47UA5GM.css';
4
4
  import { forwardRef, useRef, useState, useLayoutEffect } from 'react';
@@ -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,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';