@crewlethq/ui 0.110.0 → 0.111.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/ActivityLine/index.js +1 -1
  2. package/dist/AgentHandoffPanel/index.js +8 -8
  3. package/dist/AppShell/index.js +5 -5
  4. package/dist/ArrangeFrame/index.js +3 -3
  5. package/dist/ArrangeList/index.js +5 -5
  6. package/dist/ArtifactBar/index.js +7 -7
  7. package/dist/ArtifactCard/index.js +6 -6
  8. package/dist/ArtifactPanel/index.js +4 -4
  9. package/dist/AttentionList/index.js +3 -3
  10. package/dist/AvatarPicker/index.js +8 -8
  11. package/dist/BriefCard/index.js +3 -3
  12. package/dist/Button/index.js +2 -2
  13. package/dist/Canvas/index.js +4 -4
  14. package/dist/CanvasBoard/index.js +6 -6
  15. package/dist/CanvasToolbar/index.js +5 -5
  16. package/dist/ChangeMark/index.js +2 -2
  17. package/dist/ChatDay/index.js +2 -2
  18. package/dist/ChatDivider/index.js +1 -1
  19. package/dist/ChatMessage/index.js +4 -4
  20. package/dist/{ChatMessage-OJO6ASZP.css → ChatMessage-5AMJCGZY.css} +20 -0
  21. package/dist/{ChatScale-ST24RFPO.css → ChatScale-6NM4TP7R.css} +6 -3
  22. package/dist/ChatThread/index.js +4 -4
  23. package/dist/CheckGrid/index.js +5 -5
  24. package/dist/Checkbox/index.js +4 -4
  25. package/dist/CodeBlock/CodeBlock.d.ts +14 -1
  26. package/dist/CodeBlock/index.d.ts +1 -1
  27. package/dist/CodeBlock/index.js +5 -5
  28. package/dist/{CodeBlock-T47UA5GM.css → CodeBlock-LS7H6KUQ.css} +45 -0
  29. package/dist/ColorField/index.js +4 -4
  30. package/dist/ColorSwatch/index.js +5 -5
  31. package/dist/Combobox/index.js +4 -4
  32. package/dist/CommandPalette/index.js +6 -6
  33. package/dist/CommentThread/index.js +6 -6
  34. package/dist/Composer/index.js +4 -4
  35. package/dist/ConfirmField/index.js +4 -4
  36. package/dist/ConflictNote/index.js +3 -3
  37. package/dist/ContrastHelp/index.js +3 -3
  38. package/dist/Copyable/index.js +4 -4
  39. package/dist/DataGrid/index.js +7 -7
  40. package/dist/DataTable/index.js +8 -8
  41. package/dist/DataView/index.js +11 -11
  42. package/dist/DateTimePicker/index.js +4 -4
  43. package/dist/DeepWorkCard/index.js +4 -4
  44. package/dist/DeliveryReceipt/index.js +1 -1
  45. package/dist/DocTabsEditor/index.js +6 -6
  46. package/dist/DownloadButton/index.js +3 -3
  47. package/dist/{Editor-GIEZ6PPP.js → Editor-VAEC6MIJ.js} +6 -6
  48. package/dist/EmojiPicker/index.js +4 -4
  49. package/dist/ErrorBoundary/index.js +3 -3
  50. package/dist/FactList/index.js +2 -2
  51. package/dist/FileDrop/index.js +3 -3
  52. package/dist/FilterPill/index.js +3 -3
  53. package/dist/FollowBanner/index.js +3 -3
  54. package/dist/HuePicker/index.js +7 -7
  55. package/dist/IconButton/index.js +2 -2
  56. package/dist/InlineEditor/index.js +3 -3
  57. package/dist/Input/index.js +3 -3
  58. package/dist/KeyValueRows/index.js +5 -5
  59. package/dist/LinkCard/index.js +1 -1
  60. package/dist/LinkInterstitial/index.js +5 -5
  61. package/dist/ListInput/index.js +5 -5
  62. package/dist/LogoSlot/index.js +4 -4
  63. package/dist/MarkdownEditor/index.js +7 -7
  64. package/dist/MemberPicker/index.js +5 -5
  65. package/dist/Menu/Menu.d.ts +10 -1
  66. package/dist/Menu/index.js +4 -4
  67. package/dist/{Menu-7AARCFX5.css → Menu-UY2O4OCZ.css} +43 -0
  68. package/dist/MergeConflicts/index.js +7 -7
  69. package/dist/MessageActions/MessageActions.d.ts +4 -4
  70. package/dist/MessageActions/index.js +5 -5
  71. package/dist/{MessageActions-UGMXBGKY.css → MessageActions-Y2IXY24H.css} +18 -5
  72. package/dist/Modal/index.js +4 -4
  73. package/dist/OpenInAppCard/index.js +4 -4
  74. package/dist/OrgTable/index.js +9 -9
  75. package/dist/PeekRail/index.js +4 -4
  76. package/dist/PeopleRail/index.js +4 -4
  77. package/dist/PinTile/index.js +3 -3
  78. package/dist/PresenterView/index.js +5 -5
  79. package/dist/PrincipalPicker/index.js +5 -5
  80. package/dist/ProposalCard/index.js +7 -7
  81. package/dist/RailList/index.js +5 -4
  82. package/dist/ReactionBar/index.js +5 -5
  83. package/dist/ReceiptStrip/index.js +3 -3
  84. package/dist/ResultTableCard/index.js +4 -4
  85. package/dist/RichEditor/index.js +4 -4
  86. package/dist/RoomRow/index.js +1 -1
  87. package/dist/SandboxedFrame/index.js +4 -4
  88. package/dist/SectionFrame/index.js +5 -4
  89. package/dist/SegmentedControl/index.js +6 -6
  90. package/dist/SelectionBar/index.js +3 -3
  91. package/dist/SendButton/index.js +3 -3
  92. package/dist/ShareDialog/index.js +6 -6
  93. package/dist/SheetColumnEditor/index.js +10 -10
  94. package/dist/SheetGrid/index.js +6 -6
  95. package/dist/SidePanel/SidePanel.d.ts +8 -3
  96. package/dist/SidePanel/SidePanelBase.d.ts +4 -1
  97. package/dist/SidePanel/index.d.ts +1 -1
  98. package/dist/SidePanel/index.js +4 -4
  99. package/dist/{SidePanel-FVZVNSHI.css → SidePanel-DZ4E5SNP.css} +26 -0
  100. package/dist/SidebarNav/SidebarNav.d.ts +6 -0
  101. package/dist/SidebarNav/index.d.ts +2 -2
  102. package/dist/SidebarNav/index.js +4 -3
  103. package/dist/{SidebarNav-3SU7UDXK.css → SidebarNav-JCHQXFIM.css} +41 -4
  104. package/dist/Skeleton/index.js +1 -1
  105. package/dist/SlideCompare/index.js +3 -3
  106. package/dist/SlideFilmstrip/index.js +5 -5
  107. package/dist/SlideNav/index.js +3 -3
  108. package/dist/StatusLine/index.js +2 -2
  109. package/dist/Switcher/index.js +7 -7
  110. package/dist/Tabs/index.js +5 -5
  111. package/dist/TagsInput/index.js +3 -3
  112. package/dist/ThemeSwitcher/index.js +7 -7
  113. package/dist/ThemeToggle/index.js +3 -3
  114. package/dist/ThreadSummary/index.js +1 -1
  115. package/dist/TimeRangePicker/index.js +9 -9
  116. package/dist/TimeWindowPicker/index.js +5 -5
  117. package/dist/Tooltip/index.js +1 -1
  118. package/dist/Tooltip-PRPBX6OG.css +61 -0
  119. package/dist/TreeCanvas/index.js +5 -5
  120. package/dist/TreeGrid/index.js +8 -8
  121. package/dist/ValueField/index.js +5 -5
  122. package/dist/VersionCompare/index.js +7 -7
  123. package/dist/VersionTimeline/index.js +3 -3
  124. package/dist/WidgetFrame/index.js +2 -2
  125. package/dist/{chunk-6BVGVAKH.js → chunk-2D7IVGEV.js} +1 -1
  126. package/dist/{chunk-NQIWSKQX.js → chunk-2DXZ2ZJR.js} +2 -2
  127. package/dist/{chunk-HY336MR6.js → chunk-2ILQUAB7.js} +1 -1
  128. package/dist/{chunk-4JEHXJPO.js → chunk-2SHRZ42G.js} +1 -1
  129. package/dist/{chunk-PRZO2LAG.js → chunk-3AUFRPG3.js} +1 -1
  130. package/dist/{chunk-IIEDUSMU.js → chunk-3DUNIA3E.js} +6 -6
  131. package/dist/{chunk-4ZZ7G3XC.js → chunk-3GF2PTYZ.js} +28 -5
  132. package/dist/chunk-3KLVK655.js +2 -0
  133. package/dist/{chunk-IIM6UAJJ.js → chunk-3SAJXMM6.js} +1 -1
  134. package/dist/{chunk-K3IJWNHL.js → chunk-3W7NG6ST.js} +2 -2
  135. package/dist/{chunk-NIDLT7UM.js → chunk-3ZIGF6LK.js} +1 -1
  136. package/dist/{chunk-HWTTVN6T.js → chunk-435WY2WT.js} +1 -1
  137. package/dist/{chunk-TCAX77BH.js → chunk-4A75O7NL.js} +1 -1
  138. package/dist/{chunk-NPMMCFKI.js → chunk-4KU5LLXU.js} +1 -1
  139. package/dist/{chunk-ZFFIUJ4C.js → chunk-4ONGTD7Y.js} +2 -2
  140. package/dist/{chunk-ET4RCHNJ.js → chunk-4VHRO7HZ.js} +67 -29
  141. package/dist/{chunk-WM55LPY7.js → chunk-5272PYQD.js} +2 -2
  142. package/dist/{chunk-ZBON36GU.js → chunk-57SISFHX.js} +3 -3
  143. package/dist/{chunk-46BY2WPZ.js → chunk-5CWB52JK.js} +1 -1
  144. package/dist/{chunk-MNKXYGZ2.js → chunk-5SV47YN7.js} +2 -2
  145. package/dist/{chunk-EKC4MOGY.js → chunk-5YFQMMTJ.js} +1 -1
  146. package/dist/{chunk-F3E66TBM.js → chunk-6QLMET36.js} +1 -1
  147. package/dist/{chunk-HY2JXBPO.js → chunk-6ZC2LPCM.js} +4 -4
  148. package/dist/{chunk-5LBIIEHJ.js → chunk-7GUZSA5U.js} +8 -3
  149. package/dist/{chunk-HVFN4DJT.js → chunk-7MB7RUZZ.js} +1 -1
  150. package/dist/{chunk-OIF6UMPY.js → chunk-7ZIKXGIJ.js} +3 -3
  151. package/dist/{chunk-IGFQ4LWZ.js → chunk-A2BL2EF6.js} +3 -3
  152. package/dist/{chunk-3R76X3MI.js → chunk-A2TYEOB4.js} +2 -2
  153. package/dist/{chunk-O73RB4P7.js → chunk-ADIJ6TLF.js} +2 -2
  154. package/dist/{chunk-JNP5EMLV.js → chunk-ANIJQ25E.js} +2 -2
  155. package/dist/{chunk-YX5KEKPL.js → chunk-AXMXXAGB.js} +1 -1
  156. package/dist/{chunk-WF4Q5LD6.js → chunk-BF2BXM6V.js} +1 -1
  157. package/dist/{chunk-TIAZSF7H.js → chunk-BGFWCOFR.js} +2 -2
  158. package/dist/{chunk-RM4PUCDQ.js → chunk-BHR72Z7M.js} +1 -1
  159. package/dist/{chunk-YWTZHIKA.js → chunk-BJEWRSV7.js} +1 -1
  160. package/dist/{chunk-OAP576OR.js → chunk-BLFHFMXQ.js} +1 -1
  161. package/dist/{chunk-BUOBTY3X.js → chunk-BM76TWJ7.js} +2 -2
  162. package/dist/{chunk-DEIHV2H3.js → chunk-BMTNY3FK.js} +1 -1
  163. package/dist/{chunk-OQO7NSHR.js → chunk-CJNSPA5F.js} +1 -1
  164. package/dist/{chunk-ZAN7Q4WG.js → chunk-DF5B4QO5.js} +1 -1
  165. package/dist/{chunk-HUSMU5EL.js → chunk-DKDSBI75.js} +3 -3
  166. package/dist/{chunk-PJMDXZHP.js → chunk-E7NTBXXE.js} +1 -1
  167. package/dist/{chunk-ZQKLFN2J.js → chunk-EBIYEUE3.js} +7 -7
  168. package/dist/{chunk-AXGSKD72.js → chunk-ECTHM76P.js} +3 -3
  169. package/dist/{chunk-JJLYGLH6.js → chunk-ETFBEHMH.js} +3 -3
  170. package/dist/{chunk-YLOQNVR2.js → chunk-EXYO45GN.js} +1 -1
  171. package/dist/{chunk-3EXGTJQU.js → chunk-EYY2ZMSY.js} +1 -1
  172. package/dist/{chunk-K5L7FJTH.js → chunk-FC4T5ILA.js} +1 -1
  173. package/dist/{chunk-TIOYPPIX.js → chunk-FXRXV6QH.js} +3 -3
  174. package/dist/{chunk-5QKNXTIC.js → chunk-FZY4TTR4.js} +1 -1
  175. package/dist/{chunk-OTZNIWZA.js → chunk-GBX5Y3P2.js} +1 -1
  176. package/dist/{chunk-AWXCILIT.js → chunk-GG5CFBSE.js} +2 -2
  177. package/dist/{chunk-V5ANQP4E.js → chunk-GMBXRSC5.js} +1 -1
  178. package/dist/{chunk-XLJELX5W.js → chunk-GYLXJ6VC.js} +2 -2
  179. package/dist/{chunk-FWDU7E34.js → chunk-HKCOGDXN.js} +1 -1
  180. package/dist/{chunk-R5OUUSLB.js → chunk-HKJTZG75.js} +2 -2
  181. package/dist/{chunk-4SKN3BLH.js → chunk-HXVMXH6U.js} +5 -4
  182. package/dist/{chunk-LQZMCR2K.js → chunk-I6GVXOHK.js} +1 -1
  183. package/dist/{chunk-AV5NWTYU.js → chunk-IHJRLVU3.js} +1 -1
  184. package/dist/{chunk-RWUY53VW.js → chunk-IW7EEYBS.js} +3 -3
  185. package/dist/{chunk-G32JHH7N.js → chunk-JLL7KQV5.js} +3 -3
  186. package/dist/{chunk-T5G5DM3H.js → chunk-L4YD6SVT.js} +1 -1
  187. package/dist/{chunk-GA7HSINF.js → chunk-L544S4UU.js} +2 -2
  188. package/dist/{chunk-YRSNOCFL.js → chunk-LKBJE5J7.js} +2 -2
  189. package/dist/{chunk-6D7GTMNO.js → chunk-LNE5AMFQ.js} +1 -1
  190. package/dist/{chunk-QAQKJ4PO.js → chunk-LNSAYEOA.js} +1 -1
  191. package/dist/{chunk-2QLZCD5Q.js → chunk-LSVX4DTF.js} +2 -2
  192. package/dist/{chunk-OJ3BGBU5.js → chunk-LTNWLZLG.js} +2 -2
  193. package/dist/{chunk-EJEBRXOF.js → chunk-MV56SO2V.js} +5 -5
  194. package/dist/{chunk-NVQUEZU5.js → chunk-MWKJEZBY.js} +3 -3
  195. package/dist/{chunk-RTHWXAXT.js → chunk-NPPPQSRU.js} +1 -1
  196. package/dist/{chunk-G2B4Y67G.js → chunk-NQKHOLC7.js} +3 -3
  197. package/dist/{chunk-IOLOWL33.js → chunk-O3DHDBTW.js} +1 -1
  198. package/dist/{chunk-LYHAR4DX.js → chunk-OIFITGYL.js} +5 -5
  199. package/dist/{chunk-CUE3WM7L.js → chunk-OKOHQ3E7.js} +1 -1
  200. package/dist/{chunk-I2FNTMX2.js → chunk-OKPGW76D.js} +1 -1
  201. package/dist/{chunk-P3BEB4E6.js → chunk-OTGWNFBE.js} +2 -2
  202. package/dist/{chunk-3IYS6YNX.js → chunk-OYV7BFRC.js} +1 -1
  203. package/dist/{chunk-I476JLNZ.js → chunk-P5AOTCGQ.js} +1 -1
  204. package/dist/{chunk-LSOPZVR7.js → chunk-PGMKJ4OD.js} +1 -1
  205. package/dist/{chunk-THVGTKST.js → chunk-PZ4RVNSC.js} +1 -1
  206. package/dist/{chunk-KRO66LZZ.js → chunk-QEGOVWYP.js} +1 -1
  207. package/dist/{chunk-BRJ6LZM2.js → chunk-QFSPIYCM.js} +1 -1
  208. package/dist/{chunk-OSKXOCH3.js → chunk-RG6X2EQP.js} +3 -3
  209. package/dist/{chunk-4QI7VFLV.js → chunk-S4AQ7HAA.js} +5 -5
  210. package/dist/{chunk-G6HS6QA4.js → chunk-SJV7VVSS.js} +3 -3
  211. package/dist/{chunk-QHXO5H2S.js → chunk-SQSFVBDF.js} +3 -3
  212. package/dist/{chunk-W4YNOUHF.js → chunk-SRID7K37.js} +4 -4
  213. package/dist/{chunk-QNSL4JCU.js → chunk-T2RRTICC.js} +4 -4
  214. package/dist/{chunk-L3G2YQE3.js → chunk-T63HK6T5.js} +1 -1
  215. package/dist/{chunk-MEAFEAFF.js → chunk-T75L3PFN.js} +1 -1
  216. package/dist/{chunk-FNKOULI4.js → chunk-TCNTMTPI.js} +2 -2
  217. package/dist/{chunk-ALGG2HRE.js → chunk-TDE6MUAQ.js} +1 -1
  218. package/dist/{chunk-43UOZIYG.js → chunk-TTQOKYTO.js} +1 -1
  219. package/dist/{chunk-N7CYJVV4.js → chunk-TWNOYES7.js} +1 -1
  220. package/dist/{chunk-5DYV5Q67.js → chunk-TYQJRTTK.js} +1 -1
  221. package/dist/{chunk-RBNYJP77.js → chunk-TZNNLLXI.js} +2 -2
  222. package/dist/{chunk-O4J3FUIX.js → chunk-UJ7SHDE7.js} +4 -4
  223. package/dist/{chunk-OPX4OGN3.js → chunk-WIMKLLMH.js} +2 -2
  224. package/dist/{chunk-IVZLFSQS.js → chunk-WMLXOW7D.js} +3 -3
  225. package/dist/{chunk-ZBV6BNG7.js → chunk-WN3YE3ND.js} +1 -1
  226. package/dist/{chunk-QHE4CNBM.js → chunk-WNVUN3LJ.js} +1 -1
  227. package/dist/{chunk-WOD6L2DC.js → chunk-XKU733RV.js} +1 -1
  228. package/dist/{chunk-FANYWNER.js → chunk-XL6DTL36.js} +1 -1
  229. package/dist/{chunk-DEMG2UTW.js → chunk-XR6IZOLT.js} +1 -1
  230. package/dist/{chunk-4WOLHRHH.js → chunk-Y4L7WNWU.js} +1 -1
  231. package/dist/{chunk-AZKGH2UI.js → chunk-YBPBSLGY.js} +55 -15
  232. package/dist/{chunk-43YZWF2B.js → chunk-YECS3C4D.js} +5 -5
  233. package/dist/generated/index.js +116 -116
  234. package/dist/index.js +116 -116
  235. package/dist/styles.css +228 -51
  236. package/package.json +3 -3
  237. package/dist/Tooltip-LKQF7CE4.css +0 -71
  238. package/dist/chunk-XETR2N6C.js +0 -2
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-RTHWXAXT.js';
1
+ import { Button } from './chunk-NPPPQSRU.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import { forwardRef, useState, useCallback } from 'react';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { InlineCode } from './chunk-OBFEL5KH.js';
2
- import { FormField, Input } from './chunk-FWDU7E34.js';
2
+ import { FormField, Input } from './chunk-HKCOGDXN.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
5
5
  function confirmMatches(typed, phrase) {
@@ -1,4 +1,4 @@
1
- import { Checkbox } from './chunk-PJMDXZHP.js';
1
+ import { Checkbox } from './chunk-E7NTBXXE.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './CheckGrid-B3SRTHOJ.css';
4
4
  import { useId } from 'react';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.js';
2
2
  import { announce } from './chunk-WGMKERCR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-QCQZ5RF6.css';
@@ -1,10 +1,10 @@
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-W4YNOUHF.js';
2
+ import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-SRID7K37.js';
3
3
  import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
4
- import { Checkbox } from './chunk-PJMDXZHP.js';
4
+ import { Checkbox } from './chunk-E7NTBXXE.js';
5
5
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
- import { IconButton } from './chunk-WF4Q5LD6.js';
7
+ import { IconButton } from './chunk-BF2BXM6V.js';
8
8
  import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
9
9
  import { focusables } from './chunk-EDPMHSLZ.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,17 +1,17 @@
1
1
  import { TagGroup } from './chunk-FOUIZS7Q.js';
2
2
  import { CursorFlag } from './chunk-MMCYH5LB.js';
3
3
  import { presenceHueClass } from './chunk-EFX2YC5T.js';
4
- import { ChangeMark } from './chunk-5DYV5Q67.js';
4
+ import { ChangeMark } from './chunk-TYQJRTTK.js';
5
5
  import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTone, editText, textMax, sheetLabels, normalizeValue, sameValue, spokenText, drawnColumns, fitSamples, fittedWidth, columnWidth, SHEET_COLUMN_BOUNDS, sortRows, SHEET_ROW_HEIGHT, cellKey, columnOffsets, SHEET_ROW_NUMBER_WIDTH, rangeOf, presenceByCell, presenceByRow, presenceByColumn, scrollToRow, planClear, visibleRows, cellDescription, nextSort, rowName, inRange, hasPrevious, flagText, toTSV, planPaste, parseTSV, isMod, moveFrom, isTypingKey, editorSide, optionHue, parseText, liveOptions, checkValue } from './chunk-LFSIKGRQ.js';
6
6
  import { presenceLabels } from './chunk-Z7JYG5TF.js';
7
7
  import { Tag } from './chunk-SJ3EUCFD.js';
8
8
  import { Popover } from './chunk-VYUEAMA4.js';
9
9
  import { Avatar } from './chunk-XZY6S3UC.js';
10
10
  import { StatusDot } from './chunk-QRE6JCHS.js';
11
- import { Menu } from './chunk-AZKGH2UI.js';
12
- import { Button } from './chunk-RTHWXAXT.js';
13
- import { IconButton } from './chunk-WF4Q5LD6.js';
14
- import { Tooltip } from './chunk-4SKN3BLH.js';
11
+ import { Menu } from './chunk-YBPBSLGY.js';
12
+ import { Button } from './chunk-NPPPQSRU.js';
13
+ import { IconButton } from './chunk-BF2BXM6V.js';
14
+ import { Tooltip } from './chunk-HXVMXH6U.js';
15
15
  import { viewportBounds, LAYER_GAP } from './chunk-FIX72ZEC.js';
16
16
  import { isComposing } from './chunk-EDPMHSLZ.js';
17
17
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,7 +1,7 @@
1
1
  import { Note } from './chunk-5SZGKSGL.js';
2
- import { CanvasToolbar, toolForKey } from './chunk-MNKXYGZ2.js';
3
- import { IDENTITY_VIEW, Canvas } from './chunk-HUSMU5EL.js';
4
- import { IconButton } from './chunk-WF4Q5LD6.js';
2
+ import { CanvasToolbar, toolForKey } from './chunk-5SV47YN7.js';
3
+ import { IDENTITY_VIEW, Canvas } from './chunk-DKDSBI75.js';
4
+ import { IconButton } from './chunk-BF2BXM6V.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './CanvasBoard-U6LR5F6H.css';
7
7
  import { useState, useRef, useImperativeHandle, useCallback, useMemo, useEffect } from 'react';
@@ -1,9 +1,9 @@
1
1
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
2
2
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
3
3
  import { Document } from './chunk-I4PBFJGX.js';
4
- import { Composer } from './chunk-XLJELX5W.js';
5
- import { Button } from './chunk-RTHWXAXT.js';
6
- import { IconButton } from './chunk-WF4Q5LD6.js';
4
+ import { Composer } from './chunk-GYLXJ6VC.js';
5
+ import { Button } from './chunk-NPPPQSRU.js';
6
+ import { IconButton } from './chunk-BF2BXM6V.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
8
8
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,11 +1,11 @@
1
- import { Skeleton } from './chunk-DEIHV2H3.js';
1
+ import { Skeleton } from './chunk-BMTNY3FK.js';
2
2
  import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
3
3
  import { useReorder } from './chunk-JMBPMSNI.js';
4
- import { Checkbox } from './chunk-PJMDXZHP.js';
4
+ import { Checkbox } from './chunk-E7NTBXXE.js';
5
5
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
- import { Button } from './chunk-RTHWXAXT.js';
8
- import { IconButton } from './chunk-WF4Q5LD6.js';
7
+ import { Button } from './chunk-NPPPQSRU.js';
8
+ import { IconButton } from './chunk-BF2BXM6V.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './DataGrid-YNLCEH3E.css';
@@ -1,12 +1,12 @@
1
1
  import { useClipboard } from './chunk-STJ7QBC3.js';
2
- import { Button } from './chunk-RTHWXAXT.js';
3
- import { IconButton } from './chunk-WF4Q5LD6.js';
2
+ import { Button } from './chunk-NPPPQSRU.js';
3
+ import { IconButton } from './chunk-BF2BXM6V.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './Copyable-P5AMRHFX.css';
7
7
  import { useCallback } from 'react';
8
8
  import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
9
- import { jsxs, jsx } from 'react/jsx-runtime';
9
+ import { jsx, jsxs } from 'react/jsx-runtime';
10
10
 
11
11
  function copyGlyph(state) {
12
12
  if (state === "copied") return /* @__PURE__ */ jsx(CheckGlyph, { size: "sm" });
@@ -113,4 +113,4 @@ var Copyable = ({
113
113
  );
114
114
  };
115
115
 
116
- export { CopyButton, Copyable };
116
+ export { CopyButton, CopyStatus, Copyable, copyGlyph };
@@ -1,4 +1,4 @@
1
- import { Button } from './chunk-RTHWXAXT.js';
1
+ import { Button } from './chunk-NPPPQSRU.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 { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { IconButton } from './chunk-BF2BXM6V.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './SendButton-L4UX54XS.css';
4
4
  import { forwardRef } from 'react';
@@ -1,7 +1,7 @@
1
- import { FileDrop, FilePickButton } from './chunk-OAP576OR.js';
1
+ import { FileDrop, FilePickButton } from './chunk-BLFHFMXQ.js';
2
2
  import { contrastRatio } from './chunk-3YOLD7WG.js';
3
3
  import { normalizeHex } from './chunk-7W3LYIOC.js';
4
- import { Button } from './chunk-RTHWXAXT.js';
4
+ import { Button } from './chunk-NPPPQSRU.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './LogoSlot-LRHO4R54.css';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-NIDLT7UM.js';
1
+ import { Combobox } from './chunk-3ZIGF6LK.js';
2
2
  import { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-HF5L56YQ.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './PrincipalPicker-P6UYHDJR.css';
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-RM4PUCDQ.js';
2
+ import { SegmentedControl } from './chunk-BHR72Z7M.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useDensityPreference } from './chunk-Z24ZUSTX.js';
2
- import { SegmentedControl } from './chunk-RM4PUCDQ.js';
2
+ import { SegmentedControl } from './chunk-BHR72Z7M.js';
3
3
  import { SunGlyph, MonitorGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { changeText, sheetLabels } from './chunk-LFSIKGRQ.js';
2
- import { Tooltip } from './chunk-4SKN3BLH.js';
2
+ import { Tooltip } from './chunk-HXVMXH6U.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChangeMark-KFDGBF6G.css';
5
5
  import { jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
- import { Checkbox } from './chunk-PJMDXZHP.js';
2
- import { IconButton } from './chunk-WF4Q5LD6.js';
1
+ import { Checkbox } from './chunk-E7NTBXXE.js';
2
+ import { IconButton } from './chunk-BF2BXM6V.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './MemberPicker-ZD35VEK6.css';
5
5
  import { useId, useState } from 'react';
@@ -1,11 +1,11 @@
1
1
  import { Select } from './chunk-JUZOMYOZ.js';
2
- import { Modal } from './chunk-3R76X3MI.js';
3
- import { CopyButton } from './chunk-QNSL4JCU.js';
2
+ import { Modal } from './chunk-A2TYEOB4.js';
3
+ import { CopyButton } from './chunk-T2RRTICC.js';
4
4
  import { Callout } from './chunk-BPCY7ZID.js';
5
5
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
6
6
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
- import { Button } from './chunk-RTHWXAXT.js';
8
- import { IconButton } from './chunk-WF4Q5LD6.js';
7
+ import { Button } from './chunk-NPPPQSRU.js';
8
+ import { IconButton } from './chunk-BF2BXM6V.js';
9
9
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './ShareDialog-72VTMM4K.css';
@@ -1,7 +1,7 @@
1
1
  import { Switch } from './chunk-6YYRFGXO.js';
2
2
  import { useReorder } from './chunk-JMBPMSNI.js';
3
- import { Checkbox } from './chunk-PJMDXZHP.js';
4
- import { IconButton } from './chunk-WF4Q5LD6.js';
3
+ import { Checkbox } from './chunk-E7NTBXXE.js';
4
+ import { IconButton } from './chunk-BF2BXM6V.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './ArrangeList-F6Y43I24.css';
@@ -1,8 +1,8 @@
1
- import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-GA7HSINF.js';
1
+ import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-L544S4UU.js';
2
2
  import { heldHint } from './chunk-TDFLCUBE.js';
3
- import { Tooltip } from './chunk-4SKN3BLH.js';
3
+ import { Tooltip } from './chunk-HXVMXH6U.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './ChatScale-ST24RFPO.css';
5
+ import './ChatScale-6NM4TP7R.css';
6
6
  import './ReactionBar-JMX75TMV.css';
7
7
  import { FaceSlightlySmilingPlusGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,3 +1,3 @@
1
1
  import './HitArea-QUOS6ZDJ.css';
2
2
  import './ResizeHandle-W6GA5OO6.css';
3
- import './SidePanel-FVZVNSHI.css';
3
+ import './SidePanel-DZ4E5SNP.css';
@@ -1,5 +1,5 @@
1
1
  import { Callout } from './chunk-BPCY7ZID.js';
2
- import { Button } from './chunk-RTHWXAXT.js';
2
+ import { Button } from './chunk-NPPPQSRU.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import { useEffect } from 'react';
@@ -1,5 +1,5 @@
1
1
  import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-U3LHWQQK.js';
2
- import { SegmentedControl } from './chunk-RM4PUCDQ.js';
2
+ import { SegmentedControl } from './chunk-BHR72Z7M.js';
3
3
  import { EmptyState } from './chunk-PPUR46MK.js';
4
4
  import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { normalizeHex, parseColourInput } from './chunk-7W3LYIOC.js';
2
- import { FormField, Input, InputAffix } from './chunk-FWDU7E34.js';
2
+ import { FormField, Input, InputAffix } from './chunk-HKCOGDXN.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ColorField-2OIOWT3Z.css';
5
5
  import { useId, useState } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { SlideStage } from './chunk-7O53SWKI.js';
2
2
  import { useReorder } from './chunk-JMBPMSNI.js';
3
- import { Menu } from './chunk-AZKGH2UI.js';
3
+ import { Menu } from './chunk-YBPBSLGY.js';
4
4
  import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { ConfirmModal } from './chunk-3R76X3MI.js';
1
+ import { ConfirmModal } from './chunk-A2TYEOB4.js';
2
2
  import { InlineCode } from './chunk-OBFEL5KH.js';
3
3
  import { Callout } from './chunk-BPCY7ZID.js';
4
4
  import './LinkInterstitial-ET4MSVSV.css';
@@ -1,12 +1,12 @@
1
- import { Button } from './chunk-RTHWXAXT.js';
2
- import { IconButton } from './chunk-WF4Q5LD6.js';
3
- import { Tooltip } from './chunk-4SKN3BLH.js';
1
+ import { Button } from './chunk-NPPPQSRU.js';
2
+ import { IconButton } from './chunk-BF2BXM6V.js';
3
+ import { Tooltip } from './chunk-HXVMXH6U.js';
4
4
  import { useComposedRef } from './chunk-L72URIHR.js';
5
5
  import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
6
6
  import { usePopupLayer } from './chunk-EDPMHSLZ.js';
7
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
- import './Menu-7AARCFX5.css';
9
+ import './Menu-UY2O4OCZ.css';
10
10
  import { useId, useState, useRef, useCallback, useLayoutEffect, useEffect } from 'react';
11
11
  import { createPortal } from 'react-dom';
12
12
  import { EllipsisVerticalGlyph, CheckGlyph } from '@crewlethq/icons/glyphs';
@@ -43,11 +43,14 @@ function Menu({
43
43
  renderTrigger,
44
44
  header,
45
45
  tooltip,
46
+ activeDescendant = false,
46
47
  className
47
48
  }) {
48
49
  const id = useId();
49
50
  const menuId = `${id}-menu`;
50
51
  const headerId = `${id}-header`;
52
+ const itemId = (index) => `${id}-item-${index}`;
53
+ const [active, setActive] = useState(-1);
51
54
  const [uncontrolled, setUncontrolled] = useState(false);
52
55
  const open = controlled ?? uncontrolled;
53
56
  const triggerRef = useRef(null);
@@ -58,8 +61,10 @@ function Menu({
58
61
  const container = useLayerContainer();
59
62
  const isControlled = useRef(controlled !== void 0);
60
63
  const report = useRef(onOpenChange);
64
+ const descendant = useRef(activeDescendant);
61
65
  isControlled.current = controlled !== void 0;
62
66
  report.current = onOpenChange;
67
+ descendant.current = activeDescendant;
63
68
  const setOpen = useCallback((next) => {
64
69
  if (!isControlled.current) setUncontrolled(next);
65
70
  report.current?.(next);
@@ -84,9 +89,9 @@ function Menu({
84
89
  const entries = () => menu.current ? [...menu.current.querySelectorAll(ITEM_SELECTOR)] : [];
85
90
  useLayoutEffect(() => {
86
91
  if (!open) return;
87
- const active = document.activeElement;
88
- if (!(active instanceof Node && menu.current?.contains(active))) {
89
- opener.current = active instanceof HTMLElement ? active : null;
92
+ const active2 = document.activeElement;
93
+ if (!(active2 instanceof Node && menu.current?.contains(active2))) {
94
+ opener.current = active2 instanceof HTMLElement ? active2 : null;
90
95
  }
91
96
  }, [open]);
92
97
  const position = useCallback(() => {
@@ -145,9 +150,21 @@ function Menu({
145
150
  useLayoutEffect(() => {
146
151
  if (!placed) return;
147
152
  const all = entries();
148
- (startAt.current === "last" ? all[all.length - 1] : all[0])?.focus();
153
+ if (descendant.current) {
154
+ menu.current?.focus();
155
+ setActive(startAt.current === "none" || all.length === 0 ? -1 : startAt.current === "last" ? all.length - 1 : 0);
156
+ } else {
157
+ (startAt.current === "last" ? all[all.length - 1] : all[0])?.focus();
158
+ }
149
159
  startAt.current = "first";
150
160
  }, [placed]);
161
+ useEffect(() => {
162
+ if (!open) setActive(-1);
163
+ }, [open]);
164
+ useEffect(() => {
165
+ if (!activeDescendant || active < 0) return;
166
+ entries()[active]?.scrollIntoView?.({ block: "nearest" });
167
+ }, [active, activeDescendant]);
151
168
  function onTriggerKeyDown(event) {
152
169
  if (event.key === "ArrowDown" || event.key === "ArrowUp") {
153
170
  event.preventDefault();
@@ -160,16 +177,26 @@ function Menu({
160
177
  event.stopPropagation();
161
178
  }
162
179
  const all = entries();
163
- const at = all.indexOf(document.activeElement);
164
- const go = (index) => all[(index + all.length) % all.length]?.focus();
180
+ const at = activeDescendant ? active : all.indexOf(document.activeElement);
181
+ const go = (index) => {
182
+ const next = (index + all.length) % all.length;
183
+ if (activeDescendant) setActive(next);
184
+ else all[next]?.focus();
185
+ };
165
186
  switch (event.key) {
166
187
  case "ArrowDown":
167
188
  event.preventDefault();
168
- go(at + 1);
189
+ go(at < 0 ? 0 : at + 1);
169
190
  return;
170
191
  case "ArrowUp":
171
192
  event.preventDefault();
172
- go(at - 1);
193
+ go(at < 0 ? all.length - 1 : at - 1);
194
+ return;
195
+ case "Enter":
196
+ case " ":
197
+ if (!activeDescendant) return;
198
+ event.preventDefault();
199
+ if (at >= 0) all[at]?.click();
173
200
  return;
174
201
  case "Home":
175
202
  event.preventDefault();
@@ -189,7 +216,7 @@ function Menu({
189
216
  const candidate = all[(at + step) % all.length];
190
217
  if ((candidate.textContent ?? "").trim().toLocaleLowerCase().startsWith(letter)) {
191
218
  event.preventDefault();
192
- candidate.focus();
219
+ go(all.indexOf(candidate));
193
220
  return;
194
221
  }
195
222
  }
@@ -202,6 +229,9 @@ function Menu({
202
229
  item2.onSelect();
203
230
  }
204
231
  const described = (entry) => entry.description !== void 0 && entry.description !== null && entry.description !== false && entry.description !== "";
232
+ const order = new Map(
233
+ items.filter((entry) => entry.kind !== "separator").map((entry, index) => [entry.key, index])
234
+ );
205
235
  const item = (entry) => /* @__PURE__ */ jsxs(
206
236
  "button",
207
237
  {
@@ -209,7 +239,11 @@ function Menu({
209
239
  role: entry.checked === void 0 ? "menuitem" : "menuitemradio",
210
240
  "aria-checked": entry.checked,
211
241
  tabIndex: -1,
242
+ id: activeDescendant ? itemId(order.get(entry.key)) : void 0,
243
+ onPointerMove: activeDescendant ? () => setActive(order.get(entry.key)) : void 0,
244
+ onMouseDown: activeDescendant ? (event) => event.preventDefault() : void 0,
212
245
  className: cx(
246
+ activeDescendant && order.get(entry.key) === active && "is-active",
213
247
  "crewlet-menu__item",
214
248
  // A row with a second line is taller than a row of verbs, and says
215
249
  // so: the row height alone would hold both lines in the space meant
@@ -236,11 +270,17 @@ function Menu({
236
270
  const list = open ? /* @__PURE__ */ jsxs(
237
271
  "div",
238
272
  {
239
- className: cx("crewlet-menu", container !== null && container !== document.body ? "crewlet-menu--in-host" : null, className),
273
+ className: cx(
274
+ "crewlet-menu",
275
+ container !== null && container !== document.body ? "crewlet-menu--in-host" : null,
276
+ activeDescendant && "crewlet-menu--descendant",
277
+ className
278
+ ),
240
279
  id: menuId,
241
280
  role: "menu",
242
281
  "aria-label": label,
243
282
  "aria-describedby": header ? headerId : void 0,
283
+ "aria-activedescendant": activeDescendant && active >= 0 ? itemId(active) : void 0,
244
284
  tabIndex: -1,
245
285
  ref: (el) => {
246
286
  menu.current = el;
@@ -278,7 +318,7 @@ function Menu({
278
318
  if (open) {
279
319
  close(true);
280
320
  } else {
281
- startAt.current = "first";
321
+ startAt.current = activeDescendant ? "none" : "first";
282
322
  setOpen(true);
283
323
  }
284
324
  },
@@ -1,11 +1,11 @@
1
- import { Modal } from './chunk-3R76X3MI.js';
1
+ import { Modal } from './chunk-A2TYEOB4.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
3
  import { EmptyValue } from './chunk-WGLOH33S.js';
4
4
  import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
5
- import { Checkbox } from './chunk-PJMDXZHP.js';
6
- import { Menu } from './chunk-AZKGH2UI.js';
7
- import { Button } from './chunk-RTHWXAXT.js';
8
- import { IconButton } from './chunk-WF4Q5LD6.js';
5
+ import { Checkbox } from './chunk-E7NTBXXE.js';
6
+ import { Menu } from './chunk-YBPBSLGY.js';
7
+ import { Button } from './chunk-NPPPQSRU.js';
8
+ import { IconButton } from './chunk-BF2BXM6V.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
10
10
  import { cx } from './chunk-ODEQTPFM.js';
11
11
  import './DataTable-GSLDFY5U.css';