@crewlethq/ui 0.97.1 → 0.98.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 (270) hide show
  1. package/dist/AddPill/AddPill.d.ts +3 -1
  2. package/dist/AddPill/index.js +1 -1
  3. package/dist/{AddPill-FPM5RUKI.css → AddPill-OP3MMVZG.css} +13 -0
  4. package/dist/AgentHandoffPanel/index.js +12 -8
  5. package/dist/AppShell/index.js +9 -8
  6. package/dist/ArrangeFrame/index.js +9 -2
  7. package/dist/ArrangeList/index.js +10 -5
  8. package/dist/ArtifactBar/index.js +12 -11
  9. package/dist/ArtifactCard/index.js +9 -4
  10. package/dist/ArtifactPanel/index.js +8 -4
  11. package/dist/AttentionList/index.js +9 -2
  12. package/dist/AvatarPicker/index.js +13 -10
  13. package/dist/BriefCard/index.js +9 -2
  14. package/dist/Button/Button.d.ts +6 -0
  15. package/dist/Button/index.js +8 -1
  16. package/dist/Canvas/Canvas.d.ts +18 -1
  17. package/dist/Canvas/index.js +9 -8
  18. package/dist/{Canvas-4QJHVLJ4.css → Canvas-UQVR7IUL.css} +43 -0
  19. package/dist/CanvasBoard/index.js +11 -10
  20. package/dist/CanvasToolbar/index.js +10 -9
  21. package/dist/ChangeMark/index.js +4 -4
  22. package/dist/ChatMessage/index.js +9 -2
  23. package/dist/ChatThread/index.js +9 -2
  24. package/dist/CheckGrid/index.js +9 -4
  25. package/dist/Checkbox/index.js +8 -3
  26. package/dist/ChipField/index.js +1 -1
  27. package/dist/CodeBlock/index.js +11 -4
  28. package/dist/ColorField/index.js +8 -3
  29. package/dist/ColorSwatch/index.js +11 -4
  30. package/dist/Combobox/index.js +8 -3
  31. package/dist/CommandPalette/index.js +10 -7
  32. package/dist/CommentThread/index.js +10 -6
  33. package/dist/CompactNav/index.js +3 -3
  34. package/dist/Composer/index.js +8 -4
  35. package/dist/ConfirmField/index.js +8 -3
  36. package/dist/ConflictNote/index.js +9 -2
  37. package/dist/ContrastHelp/index.js +7 -4
  38. package/dist/Copyable/index.js +10 -3
  39. package/dist/DataGrid/index.js +10 -5
  40. package/dist/DataTable/index.js +12 -9
  41. package/dist/DataView/index.js +16 -13
  42. package/dist/DateTimePicker/index.js +9 -6
  43. package/dist/DeepWorkCard/index.js +10 -3
  44. package/dist/DocTabsEditor/index.js +10 -7
  45. package/dist/DownloadButton/index.js +9 -2
  46. package/dist/{Editor-63L5QQDN.js → Editor-QWGTLJHM.js} +9 -6
  47. package/dist/EmojiPicker/index.js +9 -8
  48. package/dist/EntityChip/EntityChip.d.ts +9 -1
  49. package/dist/EntityChip/index.js +1 -1
  50. package/dist/ErrorBoundary/index.js +9 -2
  51. package/dist/FactList/index.js +4 -4
  52. package/dist/FileDrop/index.js +9 -2
  53. package/dist/FilterPill/index.js +9 -2
  54. package/dist/FollowBanner/index.js +7 -3
  55. package/dist/HuePicker/index.js +11 -8
  56. package/dist/IconButton/IconButton.d.ts +6 -0
  57. package/dist/IconButton/index.js +8 -1
  58. package/dist/InlineEditor/index.js +7 -3
  59. package/dist/Input/index.js +7 -2
  60. package/dist/KeyValueRows/index.js +9 -4
  61. package/dist/Layer/index.d.ts +1 -1
  62. package/dist/Layer/index.js +1 -1
  63. package/dist/Layer/place.d.ts +6 -0
  64. package/dist/Link/Link.d.ts +6 -1
  65. package/dist/Link/index.js +1 -1
  66. package/dist/{Link-CLURSR2O.css → Link-Z23PLCVS.css} +9 -0
  67. package/dist/LinkInterstitial/index.js +9 -6
  68. package/dist/ListInput/index.js +9 -5
  69. package/dist/LogoSlot/index.js +10 -3
  70. package/dist/MarkdownEditor/index.js +12 -9
  71. package/dist/MemberPicker/index.js +9 -4
  72. package/dist/Menu/Menu.d.ts +7 -1
  73. package/dist/Menu/index.js +8 -5
  74. package/dist/MergeConflicts/index.js +12 -9
  75. package/dist/MessageActions/index.js +10 -10
  76. package/dist/Modal/index.js +8 -5
  77. package/dist/ObjectHeader/index.js +2 -2
  78. package/dist/OpenInAppCard/index.js +10 -3
  79. package/dist/OrgLabel/OrgLabel.d.ts +14 -0
  80. package/dist/OrgLabel/index.js +1 -1
  81. package/dist/{OrgLabel-R5KY7C3W.css → OrgLabel-6UGWHDQQ.css} +38 -0
  82. package/dist/OrgNode/index.js +2 -2
  83. package/dist/OrgTable/OrgTable.d.ts +28 -3
  84. package/dist/OrgTable/index.d.ts +1 -1
  85. package/dist/OrgTable/index.js +17 -7
  86. package/dist/{OrgTable-JZSYTUIK.css → OrgTable-GBRYKTDH.css} +68 -2
  87. package/dist/PeekRail/index.js +10 -3
  88. package/dist/PeopleRail/index.js +10 -3
  89. package/dist/PinTile/index.js +9 -2
  90. package/dist/Popover/index.js +2 -2
  91. package/dist/PresenterView/index.js +9 -5
  92. package/dist/PrincipalPicker/index.js +9 -4
  93. package/dist/PropertyList/index.js +3 -3
  94. package/dist/ProposalCard/index.js +11 -6
  95. package/dist/RailList/index.js +3 -3
  96. package/dist/ReactionBar/index.js +10 -10
  97. package/dist/ReceiptStrip/index.js +9 -2
  98. package/dist/RecordChip/index.js +3 -3
  99. package/dist/ResultTableCard/index.js +10 -3
  100. package/dist/RichEditor/index.js +9 -2
  101. package/dist/SandboxedFrame/index.js +9 -2
  102. package/dist/SegmentedControl/index.js +11 -8
  103. package/dist/{SegmentedControl-7GY2KM44.css → SegmentedControl-PWTB7KEE.css} +4 -1
  104. package/dist/Select/index.js +2 -2
  105. package/dist/SelectionBar/index.js +7 -3
  106. package/dist/SendButton/index.js +9 -2
  107. package/dist/ShareDialog/index.js +11 -8
  108. package/dist/SheetColumnEditor/index.js +15 -12
  109. package/dist/SheetGrid/index.js +11 -10
  110. package/dist/Shortcut/index.js +1 -1
  111. package/dist/SidePanel/index.js +7 -3
  112. package/dist/SlideCompare/index.js +7 -3
  113. package/dist/SlideFilmstrip/index.js +9 -6
  114. package/dist/SlideGrid/index.js +1 -1
  115. package/dist/SlideNav/index.js +9 -2
  116. package/dist/SlideStage/index.js +1 -1
  117. package/dist/StatusLegend/StatusLegend.d.ts +31 -0
  118. package/dist/StatusLegend/index.d.ts +3 -0
  119. package/dist/StatusLegend/index.js +4 -0
  120. package/dist/StatusLegend-7MS2SBVC.css +77 -0
  121. package/dist/StatusLine/StatusLine.d.ts +32 -0
  122. package/dist/StatusLine/index.d.ts +3 -0
  123. package/dist/StatusLine/index.js +10 -0
  124. package/dist/StatusLine-C6IY3U2F.css +55 -0
  125. package/dist/Switch/Switch.d.ts +2 -0
  126. package/dist/Switch/index.js +1 -1
  127. package/dist/{Switch-XJE34BZH.css → Switch-M3VVQMCY.css} +21 -0
  128. package/dist/Switcher/index.js +11 -8
  129. package/dist/TableCells/index.js +2 -2
  130. package/dist/Tabs/index.js +9 -6
  131. package/dist/TagsInput/index.js +7 -3
  132. package/dist/ThemeSwitcher/index.js +12 -9
  133. package/dist/ThemeToggle/index.js +9 -2
  134. package/dist/TimeRangePicker/index.js +14 -11
  135. package/dist/TimeWindowPicker/index.js +11 -8
  136. package/dist/Toaster/index.js +2 -2
  137. package/dist/Toolbar/index.js +1 -1
  138. package/dist/Tooltip/index.js +3 -3
  139. package/dist/TreeCanvas/TreeCanvas.d.ts +38 -2
  140. package/dist/TreeCanvas/index.d.ts +1 -1
  141. package/dist/TreeCanvas/index.js +10 -9
  142. package/dist/{TreeCanvas-5FPK4CII.css → TreeCanvas-X5RCUSTP.css} +24 -0
  143. package/dist/TreeGrid/TreeGrid.d.ts +26 -3
  144. package/dist/TreeGrid/index.js +8 -4
  145. package/dist/{TreeGrid-522U6WBG.css → TreeGrid-PZ3DFVRO.css} +24 -0
  146. package/dist/ValueField/index.js +10 -6
  147. package/dist/VersionCompare/index.js +12 -9
  148. package/dist/VersionTimeline/index.js +9 -2
  149. package/dist/{chunk-QF5UNP4T.js → chunk-2PB5D4TI.js} +1 -1
  150. package/dist/{chunk-7ZJ662U4.js → chunk-2W4US3JO.js} +3 -3
  151. package/dist/{chunk-NCUSI4ZU.js → chunk-33632WEN.js} +54 -14
  152. package/dist/{chunk-VB3FVKNI.js → chunk-3JAGO633.js} +1 -1
  153. package/dist/{chunk-XA2QKGBJ.js → chunk-3QBQY2XK.js} +1 -1
  154. package/dist/{chunk-2BZ2W2YU.js → chunk-3Z2BSKS5.js} +5 -5
  155. package/dist/{chunk-5U6XAUYM.js → chunk-4FNAPCCK.js} +1 -1
  156. package/dist/{chunk-IJ7KLXUZ.js → chunk-4OHBHPIB.js} +1 -1
  157. package/dist/{chunk-3LKOXQWZ.js → chunk-4QTOAMQN.js} +1 -1
  158. package/dist/{chunk-5YXMKZUA.js → chunk-4XYKBZJE.js} +8 -3
  159. package/dist/{chunk-EHFQMY3B.js → chunk-52UBOSNQ.js} +1 -1
  160. package/dist/{chunk-KCLHYBIZ.js → chunk-56ES76ST.js} +1 -1
  161. package/dist/{chunk-B3BJ66GQ.js → chunk-5JGEEUWQ.js} +2 -2
  162. package/dist/{chunk-WJZTI2WC.js → chunk-5KJOG5YP.js} +7 -7
  163. package/dist/{chunk-IUBOLGHG.js → chunk-5KKZCSER.js} +1 -1
  164. package/dist/{chunk-7K6LVM5I.js → chunk-63NRTOGO.js} +3 -3
  165. package/dist/chunk-6FS6W3P5.js +37 -0
  166. package/dist/chunk-6FVTKYH6.js +37 -0
  167. package/dist/{chunk-DGXZ635L.js → chunk-6KUOHUY5.js} +29 -24
  168. package/dist/{chunk-5AJR6X75.js → chunk-6V465OCU.js} +1 -1
  169. package/dist/{chunk-FRERGOW3.js → chunk-7IW4BVZF.js} +1 -1
  170. package/dist/{chunk-G3JY2DLC.js → chunk-7L6JJ7VJ.js} +1 -1
  171. package/dist/{chunk-CWJLDCB7.js → chunk-A5ISYHW7.js} +3 -3
  172. package/dist/{chunk-SDHLAW3G.js → chunk-AAP7A6WV.js} +2 -2
  173. package/dist/{chunk-AQCWYVE3.js → chunk-AC255TMQ.js} +1 -1
  174. package/dist/{chunk-K4LZXSKZ.js → chunk-AEFR4M2W.js} +1 -1
  175. package/dist/{chunk-GC3UQZPL.js → chunk-AEUZU5SA.js} +1 -1
  176. package/dist/{chunk-5MOBCUNA.js → chunk-AHPMAPVN.js} +2 -2
  177. package/dist/{chunk-2HBY3FOZ.js → chunk-AP6SM6BL.js} +3 -3
  178. package/dist/{chunk-NTGAPLMJ.js → chunk-BC4H2EMM.js} +1 -1
  179. package/dist/{chunk-OGOLTPFQ.js → chunk-BCZQDB3U.js} +1 -1
  180. package/dist/{chunk-QW4LAFTX.js → chunk-BK4KUIAZ.js} +1 -1
  181. package/dist/{chunk-T2GC7UAP.js → chunk-C34CKBKF.js} +1 -1
  182. package/dist/{chunk-LAZ72JOP.js → chunk-CQIODINH.js} +2 -2
  183. package/dist/{chunk-HZBXC3YD.js → chunk-CTNQOSQF.js} +2 -2
  184. package/dist/{chunk-3N3XK2G5.js → chunk-CZKEABMI.js} +3 -1
  185. package/dist/{chunk-HZPUMGQV.js → chunk-D4MMW2NF.js} +3 -3
  186. package/dist/{chunk-K66TAOJA.js → chunk-DBH7ORCH.js} +2 -2
  187. package/dist/{chunk-FXGQWLZ6.js → chunk-DK7CXQFY.js} +1 -1
  188. package/dist/{chunk-RO5JU6SN.js → chunk-E23AXDKL.js} +1 -1
  189. package/dist/{chunk-SKGOKLJD.js → chunk-E2XDYCFO.js} +1 -1
  190. package/dist/{chunk-XSJSDNRR.js → chunk-EF3CJDZO.js} +3 -3
  191. package/dist/{chunk-ZXXZESCD.js → chunk-EMDRNB23.js} +3 -3
  192. package/dist/{chunk-BHVEHAAX.js → chunk-EMXUREKE.js} +3 -3
  193. package/dist/{chunk-3P7XS5VT.js → chunk-FBNGCPKZ.js} +2 -2
  194. package/dist/{chunk-OMV5W53A.js → chunk-FIX72ZEC.js} +15 -1
  195. package/dist/{chunk-QWRAWKB2.js → chunk-FMOYO5OO.js} +2 -2
  196. package/dist/{chunk-GYVEKHVI.js → chunk-FP6OFRAU.js} +1 -1
  197. package/dist/{chunk-AVWEXCJ4.js → chunk-GA773IOZ.js} +2 -2
  198. package/dist/{chunk-XJMES7AE.js → chunk-GBBRSZ2J.js} +1 -1
  199. package/dist/{chunk-SNQ7PH3D.js → chunk-GDYZPBLI.js} +1 -1
  200. package/dist/{chunk-DRFOTWJE.js → chunk-GWRU4JHQ.js} +2 -2
  201. package/dist/{chunk-3NO5GRZY.js → chunk-HMXTZKAI.js} +4 -4
  202. package/dist/{chunk-QDGHOGSW.js → chunk-HTCNTCBE.js} +2 -2
  203. package/dist/{chunk-SRHLFQ4J.js → chunk-HU5PAZMU.js} +3 -3
  204. package/dist/{chunk-T5HZ5AYW.js → chunk-IA3NL54W.js} +4 -4
  205. package/dist/{chunk-3IWZVEXA.js → chunk-IAR2ULSK.js} +1 -1
  206. package/dist/{chunk-4ME4J3YY.js → chunk-IDBGDMQS.js} +1 -1
  207. package/dist/{chunk-WSHKY7SH.js → chunk-IGECN5B6.js} +1 -1
  208. package/dist/{chunk-OMMHKM6I.js → chunk-IYJCJOHW.js} +1 -1
  209. package/dist/{chunk-YTIXNVS7.js → chunk-J3QFTG4B.js} +3 -3
  210. package/dist/{chunk-TGGYSQRD.js → chunk-JK6WLRYP.js} +34 -22
  211. package/dist/{chunk-NKBKHOMU.js → chunk-JQCKRABK.js} +1 -1
  212. package/dist/{chunk-PICHV3PC.js → chunk-JZADK2FT.js} +3 -3
  213. package/dist/{chunk-4RLUVHYP.js → chunk-L72GPZ56.js} +1 -1
  214. package/dist/{chunk-EC6EUIAD.js → chunk-LCAKSEMB.js} +1 -1
  215. package/dist/{chunk-IPMJGK2Q.js → chunk-LYVWOAUN.js} +1 -1
  216. package/dist/{chunk-CFJ7FQZI.js → chunk-M6EVTMTK.js} +1 -1
  217. package/dist/{chunk-TGSOHXXH.js → chunk-M6G7XLLP.js} +1 -1
  218. package/dist/{chunk-JIBWNHTC.js → chunk-MIQNKO2R.js} +1 -1
  219. package/dist/{chunk-QGEDXYLB.js → chunk-MJ73YBP2.js} +2 -2
  220. package/dist/{chunk-BBKYJQZ6.js → chunk-MOP4D5HF.js} +5 -5
  221. package/dist/{chunk-Y7PPKQFQ.js → chunk-MTKHMGJH.js} +5 -5
  222. package/dist/{chunk-KQWJWTED.js → chunk-N7H5TFQK.js} +1 -1
  223. package/dist/{chunk-LJ3KWQLP.js → chunk-NBOHNPZB.js} +1 -1
  224. package/dist/{chunk-M576OESX.js → chunk-NKNG6YER.js} +1 -1
  225. package/dist/{chunk-ZDMZP5H4.js → chunk-OAKECTYH.js} +6 -6
  226. package/dist/{chunk-LMEMH6DO.js → chunk-OSU4ELU3.js} +2 -2
  227. package/dist/{chunk-5ILRWUE7.js → chunk-P667Y6NQ.js} +1 -1
  228. package/dist/{chunk-LGPTZGHJ.js → chunk-PF6X74C5.js} +8 -8
  229. package/dist/{chunk-6FAI4VLM.js → chunk-PJMDZEWY.js} +1 -1
  230. package/dist/{chunk-OSH55AKI.js → chunk-PMO6W5NE.js} +3 -3
  231. package/dist/{chunk-ZPTKAYJK.js → chunk-QH2YJDRI.js} +1 -1
  232. package/dist/{chunk-VTQSSU2E.js → chunk-QND44ROZ.js} +1 -1
  233. package/dist/{chunk-AELKT34H.js → chunk-QPRTTTUN.js} +1 -1
  234. package/dist/{chunk-7ZSEUO5Q.js → chunk-QZKGFBAR.js} +2 -2
  235. package/dist/{chunk-OC6BMY3C.js → chunk-RBR4AHBT.js} +1 -1
  236. package/dist/chunk-ROFAWLFS.js +352 -0
  237. package/dist/{chunk-VONEKR3J.js → chunk-RPCIU4S5.js} +1 -1
  238. package/dist/{chunk-2NNMBEJV.js → chunk-RSI6EJSH.js} +5 -5
  239. package/dist/{chunk-GNJXUNEU.js → chunk-RVJJZVVS.js} +1 -1
  240. package/dist/{chunk-V6WDJUYK.js → chunk-SF6FUU42.js} +1 -1
  241. package/dist/{chunk-CVKANYHD.js → chunk-SSN7Y3UY.js} +1 -1
  242. package/dist/{chunk-BMBQ6UMD.js → chunk-TAWPKNNZ.js} +1 -1
  243. package/dist/{chunk-I4IO56EY.js → chunk-TKAERQQF.js} +1 -1
  244. package/dist/{chunk-AXEXOAZQ.js → chunk-TVGTMKYO.js} +1 -1
  245. package/dist/{chunk-FPU7AA3X.js → chunk-UUDQEDHQ.js} +72 -26
  246. package/dist/{chunk-2SVQBQAD.js → chunk-V7WDP3HR.js} +3 -3
  247. package/dist/{chunk-65RFU7LF.js → chunk-VDQGWPGQ.js} +4 -1
  248. package/dist/{chunk-H4WQWCHP.js → chunk-VULZ4FAA.js} +2 -2
  249. package/dist/{chunk-UAUP6XGK.js → chunk-WDLAAZFZ.js} +30 -24
  250. package/dist/{chunk-6EZX26BD.js → chunk-WF2UJYCT.js} +1 -1
  251. package/dist/{chunk-EVM6GYZ2.js → chunk-WSR4OB4T.js} +1 -1
  252. package/dist/{chunk-LM3ISVJA.js → chunk-X4HBZSXA.js} +1 -1
  253. package/dist/{chunk-CDNZTCP2.js → chunk-XHQ2JJCB.js} +2 -2
  254. package/dist/{chunk-O3II3KJY.js → chunk-XLVWSNW3.js} +3 -3
  255. package/dist/{chunk-TXOTL7AA.js → chunk-YEQTGPCE.js} +3 -3
  256. package/dist/{chunk-ZWCK4N4L.js → chunk-YS4PWTNL.js} +1 -1
  257. package/dist/{chunk-B3PK2LND.js → chunk-YYKLPEOS.js} +1 -1
  258. package/dist/chunk-Z6E3WOWS.js +189 -0
  259. package/dist/{chunk-ETNQYT5O.js → chunk-ZGKGSW42.js} +2 -2
  260. package/dist/{chunk-OPVTNHPH.js → chunk-ZKC3QFDX.js} +2 -2
  261. package/dist/{chunk-NTRKC2JV.js → chunk-ZUWEVSDP.js} +1 -1
  262. package/dist/generated/index.d.ts +2 -0
  263. package/dist/generated/index.js +132 -130
  264. package/dist/index.js +132 -130
  265. package/dist/styles.css +391 -12
  266. package/dist/utils/index.js +2 -2
  267. package/package.json +3 -3
  268. package/dist/chunk-DWQYV5AV.js +0 -141
  269. package/dist/chunk-ZDWAIVWL.js +0 -310
  270. /package/dist/{chunk-VNACAMDK.js → chunk-2DYEPDT7.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys, useHighlightRest } from './chunk-YGRTX67J.js';
2
- import { useLayerContainer, viewportBounds, anchorGone, placePopup, LAYER_GAP, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
3
2
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
+ import { useLayerContainer, viewportBounds, anchorGone, placePopup, LAYER_GAP, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
4
4
  import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './HitArea-QUOS6ZDJ.css';
@@ -1,4 +1,4 @@
1
- import { CopyButton } from './chunk-ETNQYT5O.js';
1
+ import { CopyButton } from './chunk-ZGKGSW42.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,4 @@
1
- import { Checkbox } from './chunk-TGSOHXXH.js';
1
+ import { Checkbox } from './chunk-M6G7XLLP.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './CheckGrid-B3SRTHOJ.css';
4
4
  import { useId } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { useRoving, tabStop } from './chunk-EGMQURBR.js';
2
2
  import { StatusDot } from './chunk-QRE6JCHS.js';
3
- import { Menu } from './chunk-TGGYSQRD.js';
3
+ import { Menu } from './chunk-JK6WLRYP.js';
4
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
5
  import { Count } from './chunk-D2GT3CR4.js';
6
6
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
@@ -1,6 +1,6 @@
1
- import { Select } from './chunk-3IWZVEXA.js';
2
- import { Combobox } from './chunk-AQCWYVE3.js';
3
- import { FormField, Textarea, InputAffix } from './chunk-KCLHYBIZ.js';
1
+ import { Select } from './chunk-IAR2ULSK.js';
2
+ import { Combobox } from './chunk-AC255TMQ.js';
3
+ import { FormField, Textarea, InputAffix } from './chunk-56ES76ST.js';
4
4
  import './Input-WSMB7JG2.css';
5
5
  import './VisuallyHidden-AOEXU5EB.css';
6
6
  import './HitArea-QUOS6ZDJ.css';
@@ -1,9 +1,10 @@
1
+ import { Button } from './chunk-6KUOHUY5.js';
2
+ import { IconButton } from './chunk-WDLAAZFZ.js';
3
+ import { Tooltip } from './chunk-QZKGFBAR.js';
1
4
  import { useComposedRef } from './chunk-L72URIHR.js';
2
- import { Button } from './chunk-DGXZ635L.js';
3
- import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
5
+ import { useLayerContainer, viewportBounds, visibleBounds, anchorGone, placePopup, LAYER_GAP, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
4
6
  import { usePopupLayer } from './chunk-TUEM2XIW.js';
5
7
  import { returnFocus } from './chunk-4ITETIGZ.js';
6
- import { IconButton } from './chunk-UAUP6XGK.js';
7
8
  import { cx } from './chunk-ODEQTPFM.js';
8
9
  import './Menu-I4SNXHOT.css';
9
10
  import { useId, useState, useRef, useCallback, useLayoutEffect, useEffect } from 'react';
@@ -41,6 +42,7 @@ function Menu({
41
42
  width = "content",
42
43
  renderTrigger,
43
44
  header,
45
+ tooltip,
44
46
  className
45
47
  }) {
46
48
  const id = useId();
@@ -103,12 +105,7 @@ function Menu({
103
105
  width: rect.width,
104
106
  height: rect.height
105
107
  };
106
- const bounds = {
107
- x: LAYER_GAP,
108
- y: LAYER_GAP,
109
- width: host.width - 2 * LAYER_GAP,
110
- height: host.height - 2 * LAYER_GAP
111
- };
108
+ const bounds = visibleBounds(host, inHost);
112
109
  if (anchorGone(rect, host, inHost)) {
113
110
  close(true);
114
111
  return;
@@ -279,20 +276,35 @@ function Menu({
279
276
  },
280
277
  onKeyDown: onTriggerKeyDown
281
278
  };
279
+ const tipped = tooltip !== void 0 && tooltip !== null;
280
+ const withTip = (element) => tipped ? /* @__PURE__ */ jsx(Tooltip, { content: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: tooltip }), disabled: open, children: element }) : element;
282
281
  return /* @__PURE__ */ jsxs("span", { className: "crewlet-menu-anchor", children: [
283
- renderTrigger ? renderTrigger(shared) : trigger === void 0 ? /* @__PURE__ */ jsx(IconButton, { ...shared, label, icon: icon ?? /* @__PURE__ */ jsx(EllipsisVerticalGlyph, {}), size: "sm" }) : /* @__PURE__ */ jsx(
284
- Button,
285
- {
286
- ...shared,
287
- "aria-label": label,
288
- variant: triggerVariant,
289
- size: "small",
290
- flush: valueTrigger,
291
- className: valueTrigger ? "crewlet-menu__value-trigger" : void 0,
292
- leadingIcon: icon,
293
- trailingIcon,
294
- children: trigger
295
- }
282
+ renderTrigger ? renderTrigger(shared) : trigger === void 0 ? withTip(
283
+ /* @__PURE__ */ jsx(
284
+ IconButton,
285
+ {
286
+ ...shared,
287
+ label,
288
+ icon: icon ?? /* @__PURE__ */ jsx(EllipsisVerticalGlyph, {}),
289
+ size: "sm",
290
+ ...tipped ? { title: "" } : {}
291
+ }
292
+ )
293
+ ) : withTip(
294
+ /* @__PURE__ */ jsx(
295
+ Button,
296
+ {
297
+ ...shared,
298
+ "aria-label": label,
299
+ variant: triggerVariant,
300
+ size: "small",
301
+ flush: valueTrigger,
302
+ className: valueTrigger ? "crewlet-menu__value-trigger" : void 0,
303
+ leadingIcon: icon,
304
+ trailingIcon,
305
+ children: trigger
306
+ }
307
+ )
296
308
  ),
297
309
  list && container ? createPortal(list, container) : null
298
310
  ] });
@@ -1,4 +1,4 @@
1
- import { OrgLabel } from './chunk-5YXMKZUA.js';
1
+ import { OrgLabel } from './chunk-4XYKBZJE.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './OrgNode-6OCBAIBK.css';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,10 +1,10 @@
1
1
  import { useReorder } from './chunk-BVML4UVB.js';
2
- import { FormField, Textarea } from './chunk-KCLHYBIZ.js';
2
+ import { FormField, Textarea } from './chunk-56ES76ST.js';
3
3
  import { characterCountState, CharacterCount, countCharacters } from './chunk-PGCLHYVP.js';
4
4
  import { Kbd } from './chunk-CMAZZY2I.js';
5
- import { Button } from './chunk-DGXZ635L.js';
5
+ import { Button } from './chunk-6KUOHUY5.js';
6
+ import { IconButton } from './chunk-WDLAAZFZ.js';
6
7
  import { isComposing } from './chunk-TUEM2XIW.js';
7
- import { IconButton } from './chunk-UAUP6XGK.js';
8
8
  import { announce } from './chunk-2G355KDJ.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './ListInput-4ISMGZDQ.css';
@@ -1,4 +1,4 @@
1
- import { Combobox } from './chunk-AQCWYVE3.js';
1
+ import { Combobox } from './chunk-AC255TMQ.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 { useComposedRef } from './chunk-L72URIHR.js';
2
- import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
2
+ import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
3
3
  import { usePopupLayer, focusables } from './chunk-TUEM2XIW.js';
4
4
  import { returnFocus } from './chunk-4ITETIGZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { useThemePreference, useSystemTheme, resolveTheme } from './chunk-Z24ZUSTX.js';
2
- import { IconButton } from './chunk-UAUP6XGK.js';
2
+ import { IconButton } from './chunk-WDLAAZFZ.js';
3
3
  import { SunGlyph, MoonGlyph } from '@crewlethq/icons/glyphs';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { EditingStatus } from './chunk-OU6ZSWEJ.js';
2
2
  import { Kbd } from './chunk-CMAZZY2I.js';
3
- import { Button } from './chunk-DGXZ635L.js';
3
+ import { Button } from './chunk-6KUOHUY5.js';
4
4
  import { isComposing } from './chunk-TUEM2XIW.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './InlineEditor-W55DDKML.css';
@@ -1,4 +1,4 @@
1
- import { FormField } from './chunk-KCLHYBIZ.js';
1
+ import { FormField } from './chunk-56ES76ST.js';
2
2
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Checkbox-GAMV2XD7.css';
@@ -1,4 +1,4 @@
1
- import { useLayerContainer } from './chunk-OMV5W53A.js';
1
+ import { useLayerContainer } from './chunk-FIX72ZEC.js';
2
2
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './Toaster-OCW7W3FJ.css';
@@ -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-DGXZ635L.js';
4
- import { IconButton } from './chunk-UAUP6XGK.js';
3
+ import { Button } from './chunk-6KUOHUY5.js';
4
+ import { IconButton } from './chunk-WDLAAZFZ.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,11 +1,11 @@
1
- import { SegmentedControl } from './chunk-GYVEKHVI.js';
1
+ import { SegmentedControl } from './chunk-FP6OFRAU.js';
2
2
  import { ArtifactIcon } from './chunk-AVL52EME.js';
3
- import { Tooltip } from './chunk-7ZSEUO5Q.js';
4
- import { Menu } from './chunk-TGGYSQRD.js';
3
+ import { Menu } from './chunk-JK6WLRYP.js';
5
4
  import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-CMAZZY2I.js';
6
- import { Button } from './chunk-DGXZ635L.js';
5
+ import { Button } from './chunk-6KUOHUY5.js';
6
+ import { IconButton } from './chunk-WDLAAZFZ.js';
7
+ import { Tooltip } from './chunk-QZKGFBAR.js';
7
8
  import { returnFocus } from './chunk-4ITETIGZ.js';
8
- import { IconButton } from './chunk-UAUP6XGK.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './ArtifactKinds-27TE3KJL.css';
11
11
  import './ArtifactBar-X46WJNW7.css';
@@ -1,11 +1,11 @@
1
- import { Select } from './chunk-3IWZVEXA.js';
2
- import { Modal } from './chunk-ZXXZESCD.js';
3
- import { CopyButton } from './chunk-ETNQYT5O.js';
1
+ import { Select } from './chunk-IAR2ULSK.js';
2
+ import { Modal } from './chunk-EMDRNB23.js';
3
+ import { CopyButton } from './chunk-ZGKGSW42.js';
4
4
  import { Callout } from './chunk-BPCY7ZID.js';
5
5
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
6
6
  import { useMediaMatch } from './chunk-YJQXESOJ.js';
7
- import { Button } from './chunk-DGXZ635L.js';
8
- import { IconButton } from './chunk-UAUP6XGK.js';
7
+ import { Button } from './chunk-6KUOHUY5.js';
8
+ import { IconButton } from './chunk-WDLAAZFZ.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,4 +1,4 @@
1
- import { Button } from './chunk-DGXZ635L.js';
1
+ import { Button } from './chunk-6KUOHUY5.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './FileDrop-WE7BNZGV.css';
4
4
  import { forwardRef, useRef, useState } from 'react';
@@ -1,4 +1,4 @@
1
- import { IconButton } from './chunk-UAUP6XGK.js';
1
+ import { IconButton } from './chunk-WDLAAZFZ.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './PinTile-OWS7JTHD.css';
4
4
  import { forwardRef } from 'react';
@@ -1,5 +1,5 @@
1
- import { Select } from './chunk-3IWZVEXA.js';
2
1
  import { SidebarNav, NavItem } from './chunk-BRK3HXGZ.js';
2
+ import { Select } from './chunk-IAR2ULSK.js';
3
3
  import { Text } from './chunk-O5CEG7TQ.js';
4
4
  import { Card } from './chunk-U2IQNDDR.js';
5
5
  import './RailList-N2ZBPRM2.css';
@@ -1,18 +1,18 @@
1
1
  import { TagGroup } from './chunk-UEOEBOBR.js';
2
2
  import { CursorFlag } from './chunk-MMCYH5LB.js';
3
3
  import { presenceHueClass } from './chunk-EFX2YC5T.js';
4
- import { ChangeMark } from './chunk-VB3FVKNI.js';
4
+ import { ChangeMark } from './chunk-3JAGO633.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
- import { Popover } from './chunk-EC6EUIAD.js';
8
+ import { Popover } from './chunk-LCAKSEMB.js';
9
9
  import { Avatar } from './chunk-XZY6S3UC.js';
10
10
  import { StatusDot } from './chunk-QRE6JCHS.js';
11
- import { Tooltip } from './chunk-7ZSEUO5Q.js';
12
- import { Menu } from './chunk-TGGYSQRD.js';
13
- import { Button } from './chunk-DGXZ635L.js';
11
+ import { Menu } from './chunk-JK6WLRYP.js';
12
+ import { Button } from './chunk-6KUOHUY5.js';
13
+ import { IconButton } from './chunk-WDLAAZFZ.js';
14
+ import { Tooltip } from './chunk-QZKGFBAR.js';
14
15
  import { isComposing } from './chunk-TUEM2XIW.js';
15
- import { IconButton } from './chunk-UAUP6XGK.js';
16
16
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
17
17
  import { cx } from './chunk-ODEQTPFM.js';
18
18
  import './SheetGrid-QGQAYDEY.css';
@@ -1,7 +1,7 @@
1
- import { SlideNav } from './chunk-5AJR6X75.js';
1
+ import { SlideNav } from './chunk-6V465OCU.js';
2
2
  import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-O6EV6GKI.js';
3
3
  import { Eyebrow } from './chunk-RK4XPHVG.js';
4
- import { Button } from './chunk-DGXZ635L.js';
4
+ import { Button } from './chunk-6KUOHUY5.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './PresenterView-RKYEK27N.css';
7
7
  import { useRef, useState, useEffect } from 'react';
@@ -1,4 +1,4 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-SKGOKLJD.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-E2XDYCFO.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-2UNSZ4ZQ.css';
@@ -1,16 +1,16 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
- import { FilterPill } from './chunk-K4LZXSKZ.js';
3
- import { DateTimePicker } from './chunk-7K6LVM5I.js';
4
- import { DataTable } from './chunk-2NNMBEJV.js';
2
+ import { FilterPill } from './chunk-AEFR4M2W.js';
3
+ import { DateTimePicker } from './chunk-63NRTOGO.js';
4
+ import { DataTable } from './chunk-RSI6EJSH.js';
5
5
  import { useListbox, useOptionKeys } from './chunk-YGRTX67J.js';
6
6
  import { Toolbar } from './chunk-NXFTCPF6.js';
7
- import { Popover } from './chunk-EC6EUIAD.js';
7
+ import { Popover } from './chunk-LCAKSEMB.js';
8
8
  import { RelativeTime } from './chunk-EJNJMHQG.js';
9
- import { Menu } from './chunk-TGGYSQRD.js';
10
- import { Input } from './chunk-KCLHYBIZ.js';
9
+ import { Menu } from './chunk-JK6WLRYP.js';
10
+ import { Input } from './chunk-56ES76ST.js';
11
11
  import { Kbd } from './chunk-CMAZZY2I.js';
12
- import { Button } from './chunk-DGXZ635L.js';
13
- import { IconButton } from './chunk-UAUP6XGK.js';
12
+ import { Button } from './chunk-6KUOHUY5.js';
13
+ import { IconButton } from './chunk-WDLAAZFZ.js';
14
14
  import { Count } from './chunk-D2GT3CR4.js';
15
15
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
16
16
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
1
  import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
2
- import { SegmentedControl } from './chunk-GYVEKHVI.js';
2
+ import { SegmentedControl } from './chunk-FP6OFRAU.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,9 +1,9 @@
1
1
  import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
2
2
  import { toInstant, RelativeTime, formatExact, toISO } from './chunk-EJNJMHQG.js';
3
3
  import { Document } from './chunk-I4PBFJGX.js';
4
- import { Composer } from './chunk-FXGQWLZ6.js';
5
- import { Button } from './chunk-DGXZ635L.js';
6
- import { IconButton } from './chunk-UAUP6XGK.js';
4
+ import { Composer } from './chunk-DK7CXQFY.js';
5
+ import { Button } from './chunk-6KUOHUY5.js';
6
+ import { IconButton } from './chunk-WDLAAZFZ.js';
7
7
  import { Count } from './chunk-D2GT3CR4.js';
8
8
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { Popover } from './chunk-EC6EUIAD.js';
1
+ import { Popover } from './chunk-LCAKSEMB.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './RecordChip-53J66RA6.css';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-AOFVXE6V.js';
2
- import { SegmentedControl } from './chunk-GYVEKHVI.js';
2
+ import { SegmentedControl } from './chunk-FP6OFRAU.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 { Card } from './chunk-U2IQNDDR.js';
2
- import { Button } from './chunk-DGXZ635L.js';
2
+ import { Button } from './chunk-6KUOHUY5.js';
3
3
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
4
4
  import { VisuallyHidden } from './chunk-UT6CW3C7.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,6 +1,6 @@
1
- import { tokenMs } from './chunk-HTS5RJ7S.js';
2
1
  import { useComposedRef } from './chunk-L72URIHR.js';
3
- import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-OMV5W53A.js';
2
+ import { tokenMs } from './chunk-HTS5RJ7S.js';
3
+ import { useLayerContainer, viewportBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
4
4
  import { usePopupLayer } from './chunk-TUEM2XIW.js';
5
5
  import { isVisibleFocus } from './chunk-4ITETIGZ.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,4 +1,4 @@
1
- import { ConfirmModal } from './chunk-ZXXZESCD.js';
1
+ import { ConfirmModal } from './chunk-EMDRNB23.js';
2
2
  import { InlineCode } from './chunk-OBFEL5KH.js';
3
3
  import { Callout } from './chunk-BPCY7ZID.js';
4
4
  import './LinkInterstitial-ET4MSVSV.css';