@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
package/dist/styles.css CHANGED
@@ -11039,7 +11039,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11039
11039
  }
11040
11040
 
11041
11041
 
11042
- /* ChatMessage-OJO6ASZP.css */
11042
+ /* ChatMessage-5AMJCGZY.css */
11043
11043
  /*
11044
11044
  * One message in a transcript: a face in a gutter, the head line, the words
11045
11045
  * and a footer stack. Every size reads the conversation scale
@@ -11277,6 +11277,26 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11277
11277
  max-width: 100%;
11278
11278
  }
11279
11279
 
11280
+ /* A CODE BLOCK IN THE WORDS: a hairline at the small corner and an 8px inset,
11281
+ 12px on an 18px line. Its corner copy control shows with the row's other
11282
+ tools, while the row is pointed at or focused. */
11283
+ .crewlet-chat-message__body .crewlet-codeblock {
11284
+ border-color: var(--color-edge-hairline);
11285
+ border-radius: var(--radius-xs);
11286
+ }
11287
+
11288
+ .crewlet-chat-message__body .crewlet-codeblock__pre {
11289
+ padding-block: var(--spacing-2);
11290
+ padding-inline-start: var(--spacing-2);
11291
+ }
11292
+
11293
+ .crewlet-chat-message:hover .crewlet-codeblock__corner,
11294
+ .crewlet-chat-message:focus-visible .crewlet-codeblock__corner,
11295
+ .crewlet-chat-message:has(:focus-visible) .crewlet-codeblock__corner,
11296
+ .crewlet-chat-message.is-active .crewlet-codeblock__corner {
11297
+ opacity: 1;
11298
+ }
11299
+
11280
11300
  /* THE TOOLBAR STRADDLES THE ROW'S TOP EDGE, 16px over the row above and the
11281
11301
  rest over the row's own first line, near its end where the words rarely
11282
11302
  reach, and over the day's pinned pill as well as the rows: a toolbar that
@@ -11359,7 +11379,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11359
11379
  }
11360
11380
 
11361
11381
 
11362
- /* ChatScale-ST24RFPO.css */
11382
+ /* ChatScale-6NM4TP7R.css */
11363
11383
  /*
11364
11384
  * ONE SCALE FOR A CONVERSATION. Every part of a transcript reads from these:
11365
11385
  * the message rows, their toolbar, reactions and thread line, the day's rule
@@ -11394,10 +11414,13 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
11394
11414
  --crewlet-chat-day-pill: 24px;
11395
11415
  --crewlet-chat-day-gap: var(--spacing-5);
11396
11416
  --crewlet-chat-day-pin: var(--spacing-3);
11397
- /* The hover toolbar: a medium control, big enough to aim at while the
11398
- pointer is passing, inside its inset and its hairline, twice. */
11417
+ /* The hover toolbar: 32px tools with 18px glyphs, touching, big enough to
11418
+ aim at while the pointer is passing, inside its inset and its hairline,
11419
+ twice. */
11420
+ --crewlet-chat-tool: 32px;
11421
+ --crewlet-chat-tool-glyph: var(--font-size-lg);
11399
11422
  --crewlet-chat-toolbar-inset: var(--spacing-1);
11400
- --crewlet-chat-toolbar: calc(var(--size-control-md) + (var(--crewlet-chat-toolbar-inset) + 1px) * 2);
11423
+ --crewlet-chat-toolbar: calc(var(--crewlet-chat-tool) + (var(--crewlet-chat-toolbar-inset) + 1px) * 2);
11401
11424
  /* The ground the transcript is set on. A host that sets it on another fill
11402
11425
  names that fill here, and everything lifted off the rows (the toolbar,
11403
11426
  the day's pill, the open thread line) is filled with it. */
@@ -13038,7 +13061,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13038
13061
  }
13039
13062
 
13040
13063
 
13041
- /* CodeBlock-T47UA5GM.css */
13064
+ /* CodeBlock-LS7H6KUQ.css */
13042
13065
  /*
13043
13066
  * CodeBlock, a monospace command, config or record surface. One step off the
13044
13067
  * page, with an optional header carrying a filename and the copy control.
@@ -13256,6 +13279,51 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13256
13279
  font-family: var(--font-family-sans);
13257
13280
  }
13258
13281
 
13282
+ /*
13283
+ * THE COPY CONTROL IN THE CORNER (`copyPlacement="corner"`): no header, and an
13284
+ * icon button in the top corner that fades in while the block is pointed at
13285
+ * or holds focus. The code keeps clear of it, so it never covers a line's end.
13286
+ * A touch screen has no hover, so it is always shown there.
13287
+ */
13288
+ .crewlet-codeblock--corner {
13289
+ position: relative;
13290
+ }
13291
+
13292
+ .crewlet-codeblock--corner .crewlet-codeblock__pre {
13293
+ padding-inline-end: calc(var(--size-control-sm) + var(--spacing-1) * 2);
13294
+ }
13295
+
13296
+ .crewlet-codeblock__corner {
13297
+ position: absolute;
13298
+ top: var(--spacing-1);
13299
+ inset-inline-end: var(--spacing-1);
13300
+ font-family: var(--font-family-sans);
13301
+ opacity: 0;
13302
+ transition: opacity var(--motion-duration-fast) var(--motion-easing-out);
13303
+ }
13304
+
13305
+ .crewlet-codeblock--corner:hover .crewlet-codeblock__corner,
13306
+ .crewlet-codeblock--corner:focus-within .crewlet-codeblock__corner {
13307
+ opacity: 1;
13308
+ }
13309
+
13310
+ /* Its ring is drawn inside it: the block clips what stands past its edge. */
13311
+ .crewlet-codeblock__corner .crewlet-icon-btn:focus-visible {
13312
+ outline-offset: var(--size-focus-ring-inset-offset);
13313
+ }
13314
+
13315
+ @media (hover: none) {
13316
+ .crewlet-codeblock__corner {
13317
+ opacity: 1;
13318
+ }
13319
+ }
13320
+
13321
+ @media (prefers-reduced-motion: reduce) {
13322
+ .crewlet-codeblock__corner {
13323
+ transition: none;
13324
+ }
13325
+ }
13326
+
13259
13327
 
13260
13328
  /* ColorChip-GD3PKUJU.css */
13261
13329
  /*
@@ -27849,7 +27917,7 @@ button.crewlet-mention-chip:focus-visible {
27849
27917
  }
27850
27918
 
27851
27919
 
27852
- /* Menu-7AARCFX5.css */
27920
+ /* Menu-UY2O4OCZ.css */
27853
27921
  /*
27854
27922
  * The menu button's panel.
27855
27923
  *
@@ -28015,6 +28083,49 @@ button.crewlet-mention-chip:focus-visible {
28015
28083
  outline-offset: var(--size-focus-ring-inset-offset);
28016
28084
  }
28017
28085
 
28086
+ /*
28087
+ * THE ACTIVE-DESCENDANT MODE (`activeDescendant`). Focus stays on the panel,
28088
+ * which draws no ring outside forced colours, and the highlighted row is the one cue: the accent fill
28089
+ * under the on-accent ink (3:1 or more on the panel, its words 4.5:1). The
28090
+ * pointer moves that highlight, so there is no separate hover fill.
28091
+ */
28092
+ .crewlet-menu--descendant:focus-visible {
28093
+ outline: 2px solid transparent;
28094
+ }
28095
+
28096
+ .crewlet-menu--descendant .crewlet-menu__item:hover:not(.is-disabled) {
28097
+ background: transparent;
28098
+ }
28099
+
28100
+ .crewlet-menu--descendant .crewlet-menu__item.is-active {
28101
+ background: var(--color-brand-accent);
28102
+ color: var(--color-text-on-accent);
28103
+ }
28104
+
28105
+ .crewlet-menu--descendant .crewlet-menu__item.is-active :is(.crewlet-menu__icon, .crewlet-menu__check, .crewlet-menu__hint, .crewlet-menu__description) {
28106
+ color: inherit;
28107
+ }
28108
+
28109
+ .crewlet-menu--descendant .crewlet-menu__item.is-active.is-danger {
28110
+ background: var(--color-feedback-danger);
28111
+ color: var(--color-text-on-danger);
28112
+ }
28113
+
28114
+ /* An unavailable row is highlighted without the fill that invites a press. */
28115
+ .crewlet-menu--descendant .crewlet-menu__item.is-active.is-disabled {
28116
+ background: var(--color-surface-pressed);
28117
+ box-shadow: inset 2px 0 0 var(--color-brand-accent);
28118
+ color: var(--color-text-tertiary);
28119
+ }
28120
+
28121
+ /* Forced colours drop the fill, and keep this outline in its place. */
28122
+ @media (forced-colors: active) {
28123
+ .crewlet-menu--descendant .crewlet-menu__item.is-active {
28124
+ outline: 2px solid transparent;
28125
+ outline-offset: -2px;
28126
+ }
28127
+ }
28128
+
28018
28129
  /* The whole row, its glyph included: a destructive action is one thing. */
28019
28130
  .crewlet-menu__item.is-danger,
28020
28131
  .crewlet-menu__item.is-danger .crewlet-menu__icon {
@@ -28245,11 +28356,12 @@ button.crewlet-mention-chip:focus-visible {
28245
28356
  }
28246
28357
 
28247
28358
 
28248
- /* MessageActions-UGMXBGKY.css */
28359
+ /* MessageActions-Y2IXY24H.css */
28249
28360
  /*
28250
28361
  * The tray a message shows on hover: the transcript's own ground ringed with
28251
- * the hairline and a small shadow, the large corner, and 30px tools inside
28252
- * the inset, so it reads as a soft tray of tools rather than a framed bar.
28362
+ * the hairline and a small shadow, the large corner, and 32px tools with
28363
+ * 18px glyphs inside the inset (ChatScale.css), so it reads as a soft tray of
28364
+ * tools rather than a framed bar.
28253
28365
  * Two classes, so the tray's own rules hold over Toolbar's in any bundle
28254
28366
  * order.
28255
28367
  */
@@ -28265,6 +28377,18 @@ button.crewlet-mention-chip:focus-visible {
28265
28377
  box-shadow: var(--shadow-xs);
28266
28378
  }
28267
28379
 
28380
+ /* Every tool on the chat scale's tool step, its glyph a step up from a
28381
+ medium button's, so the marks read at a glance while the pointer passes. */
28382
+ .crewlet-message-actions .crewlet-icon-btn {
28383
+ width: var(--crewlet-chat-tool);
28384
+ height: var(--crewlet-chat-tool);
28385
+ }
28386
+
28387
+ .crewlet-message-actions .crewlet-icon-btn .crewlet-glyph {
28388
+ width: var(--crewlet-chat-tool-glyph);
28389
+ height: var(--crewlet-chat-tool-glyph);
28390
+ }
28391
+
28268
28392
  /* A tool whose menu or picker is open reads as held down, which is not the
28269
28393
  accent fill a toggle that is on (Saved) draws. */
28270
28394
  .crewlet-message-actions .crewlet-icon-btn[aria-expanded='true'] {
@@ -28277,13 +28401,13 @@ button.crewlet-mention-chip:focus-visible {
28277
28401
  flex: none;
28278
28402
  align-items: center;
28279
28403
  justify-content: center;
28280
- width: var(--size-control-md);
28281
- height: var(--size-control-md);
28404
+ width: var(--crewlet-chat-tool);
28405
+ height: var(--crewlet-chat-tool);
28282
28406
  padding: 0;
28283
28407
  border: 0;
28284
28408
  border-radius: var(--radius-md);
28285
28409
  background: transparent;
28286
- font-size: var(--font-size-md);
28410
+ font-size: var(--crewlet-chat-tool-glyph);
28287
28411
  line-height: 1;
28288
28412
  cursor: pointer;
28289
28413
  }
@@ -37930,7 +38054,7 @@ svg.crewlet-select__chevron {
37930
38054
  }
37931
38055
 
37932
38056
 
37933
- /* SidePanel-FVZVNSHI.css */
38057
+ /* SidePanel-DZ4E5SNP.css */
37934
38058
  /*
37935
38059
  * A side panel and the frame that lays it beside the content or over it
37936
38060
  * (`SidePanel`, `SidePanelFrame`, and their artifact presets).
@@ -38021,6 +38145,27 @@ svg.crewlet-select__chevron {
38021
38145
  border-bottom: 1px solid var(--color-border-default);
38022
38146
  }
38023
38147
 
38148
+ /*
38149
+ * THE CHAT DENSITY (`density="chat"`): a chat pane's head, 49px with the title at the 18px
38150
+ * step in the bold weight, and its rule transparent until the panel's own body is scrolled.
38151
+ */
38152
+ .crewlet-side-panel--chat {
38153
+ --crewlet-side-panel-head-height: 49px;
38154
+ }
38155
+
38156
+ .crewlet-side-panel--chat > .crewlet-side-panel__head {
38157
+ border-bottom-color: transparent;
38158
+ }
38159
+
38160
+ .crewlet-side-panel--chat > .crewlet-side-panel__head--scrolled {
38161
+ border-bottom-color: var(--color-border-default);
38162
+ }
38163
+
38164
+ .crewlet-side-panel--chat .crewlet-side-panel__title {
38165
+ font-size: var(--font-size-lg);
38166
+ font-weight: var(--font-weight-bold);
38167
+ }
38168
+
38024
38169
  /* With a subtitle the head holds one or two lines, so its height is a floor
38025
38170
  rather than a height, and its controls stay on the first line. */
38026
38171
  .crewlet-side-panel__head--subtitled {
@@ -38031,6 +38176,11 @@ svg.crewlet-select__chevron {
38031
38176
  box-sizing: border-box;
38032
38177
  }
38033
38178
 
38179
+ /* The chat head keeps its height with a subtitle: the padding leaves room for the rule. */
38180
+ .crewlet-side-panel--chat > .crewlet-side-panel__head--subtitled {
38181
+ padding-block: calc((var(--crewlet-side-panel-head-height) - var(--size-control-sm) - 1px) / 2);
38182
+ }
38183
+
38034
38184
  /* The title and the subtitle on one baseline, the subtitle dropping under
38035
38185
  the title when the two do not fit; the title shrinks to its own line and
38036
38186
  is ellipsised there. Centred on the controls' line while it is one line. */
@@ -38219,7 +38369,7 @@ svg.crewlet-select__chevron {
38219
38369
  }
38220
38370
 
38221
38371
 
38222
- /* SidebarNav-3SU7UDXK.css */
38372
+ /* SidebarNav-JCHQXFIM.css */
38223
38373
  /*
38224
38374
  * The rail's navigation.
38225
38375
  *
@@ -38889,16 +39039,53 @@ svg.crewlet-select__chevron {
38889
39039
  }
38890
39040
 
38891
39041
  /*
38892
- * A ROW WITH NEWS (`unread`): its name two steps heavier than a dense row's
38893
- * regular (semibold) and in the primary ink, which is the whole of the signal:
38894
- * one step read as a different face rather than as news. A muted row is never drawn unread (the component drops
38895
- * the class), so the two rules never meet.
39042
+ * A ROW WITH NEWS (`unread`): its name heavier and in the primary ink, which is the whole
39043
+ * signal; in a dense list it takes the unread weight, the heaviest Geist ships, beside
39044
+ * regular names. A muted row is never drawn unread (the component drops the class).
38896
39045
  */
38897
39046
  .crewlet-nav-item--unread > .crewlet-nav-item__head > .crewlet-nav-item__row {
38898
39047
  color: var(--color-text-primary);
38899
39048
  font-weight: var(--font-weight-semibold);
38900
39049
  }
38901
39050
 
39051
+ .crewlet-sidebar-nav--dense .crewlet-nav-item--unread > .crewlet-nav-item__head > .crewlet-nav-item__row {
39052
+ font-weight: var(--font-weight-unread);
39053
+ }
39054
+
39055
+ /*
39056
+ * A DENSE LIST'S BADGE is its own pill, sized for 14px names (18px, a 12px figure), on the
39057
+ * accent's next step, which the on-accent ink clears with margin in every palette.
39058
+ */
39059
+ .crewlet-sidebar-nav--dense .crewlet-nav-item__badge {
39060
+ min-width: var(--size-badge-list);
39061
+ height: var(--size-badge-list);
39062
+ padding: 0 calc(var(--spacing-1) + var(--spacing-1) / 2);
39063
+ font-size: var(--font-size-xs);
39064
+ }
39065
+
39066
+ .crewlet-sidebar-nav--dense .crewlet-nav-item__badge:not(.crewlet-nav-item__badge--quiet) {
39067
+ background: var(--color-brand-accent-hover);
39068
+ color: var(--color-text-on-accent);
39069
+ }
39070
+
39071
+ /*
39072
+ * THE DIVIDER (`NavDivider`): the kit's rule centred in a band between runs, the plain
39073
+ * views and the first section, 24px with the list's gaps; the heading after it drops its margin.
39074
+ */
39075
+ .crewlet-sidebar-nav .crewlet-nav-divider {
39076
+ flex: none;
39077
+ min-height: var(--spacing-4);
39078
+ padding: 0 var(--spacing-1);
39079
+ }
39080
+
39081
+ .crewlet-sidebar-nav--dense .crewlet-nav-divider {
39082
+ min-height: var(--spacing-6);
39083
+ }
39084
+
39085
+ .crewlet-nav-divider + .crewlet-nav-group > .crewlet-nav-group__head {
39086
+ margin-top: 0;
39087
+ }
39088
+
38902
39089
  /*
38903
39090
  * A MUTED ROW rests in the quiet ink, glyph and name together, and lifts as
38904
39091
  * every row does: under the pointer, and while it is the row the reader is on.
@@ -46737,47 +46924,44 @@ svg.crewlet-time-window__tick {
46737
46924
  }
46738
46925
 
46739
46926
 
46740
- /* Tooltip-LKQF7CE4.css */
46927
+ /* Tooltip-PRPBX6OG.css */
46741
46928
  /*
46742
46929
  * The tooltip panel.
46743
46930
  *
46744
46931
  * It is placed by arithmetic (see Tooltip.tsx), so this owns what the panel
46745
46932
  * looks like and how it arrives.
46746
46933
  *
46747
- * TWO THINGS ARE DELIBERATE AND LOOK LIKE OVERSIGHTS.
46934
+ * It TAKES THE POINTER (`pointer-events: auto`), so a reader can travel onto
46935
+ * it and read at their own pace, as WCAG 2.2's 1.4.13 asks.
46748
46936
  *
46749
- * It TAKES THE POINTER (`pointer-events: auto`, which the layer host's own
46750
- * children already have). A panel a pointer cannot land on cannot be hovered,
46751
- * and WCAG 2.2's 1.4.13 asks that it can be, so the reader can travel onto it
46752
- * and read the line at their own pace.
46753
- *
46754
- * It is OPAQUE and it is SMALL, but it is not quiet: the ink is the primary
46755
- * step on the panel surface, not a muted one. A hint drawn in a decoration
46756
- * ink is a hint nobody with low vision can read, and the whole point of it is
46757
- * to be read.
46758
- *
46759
- * IT IS DRAWN AS THE SMALLEST MEMBER OF THE OVERLAY FAMILY, on the same panel
46760
- * step as a menu, a popover and a dialog, with the same corner the other small
46761
- * floating objects take. A tooltip is the one surface a reader meets by
46762
- * accident, and a surface that arrives looking like nothing else in the
46763
- * product is one they have to work out before they can read it.
46937
+ * A DARK BUBBLE IN BOTH MODES (`--color-tooltip-*`), its words a step heavier
46938
+ * than the page's small text: a hint set apart from every panel it can sit
46939
+ * over, light on dark at 4.5:1 or more in every theme.
46764
46940
  */
46765
46941
 
46766
46942
  .crewlet-tooltip {
46767
46943
  position: fixed;
46768
46944
  max-width: 260px;
46769
- padding: var(--spacing-1) var(--spacing-2);
46770
- background: var(--color-surface-subtle);
46771
- color: var(--color-text-primary);
46772
- border: 1px solid var(--color-border-default);
46945
+ padding: var(--spacing-2) var(--spacing-3);
46946
+ background: var(--color-tooltip-surface);
46947
+ color: var(--color-tooltip-text);
46948
+ border: 1px solid var(--color-tooltip-edge);
46773
46949
  border-radius: var(--radius-md);
46774
46950
  box-shadow: var(--shadow-md);
46775
- font-size: var(--font-size-xs);
46951
+ font-size: var(--font-size-compact);
46952
+ font-weight: var(--font-weight-semibold);
46776
46953
  line-height: var(--font-line-height-snug);
46777
46954
  /* One short line, wrapped rather than cut: a hint that ends in an ellipsis
46778
46955
  is a hint that failed. */
46779
46956
  overflow-wrap: break-word;
46780
- animation: crewlet-tooltip-in var(--motion-duration-base) var(--motion-easing-emphasized);
46957
+ animation: crewlet-tooltip-in var(--motion-duration-instant) var(--motion-easing-out);
46958
+ }
46959
+
46960
+ /* A keycap in the bubble takes the bubble's second ink and its hairline. */
46961
+ .crewlet-tooltip .crewlet-kbd {
46962
+ border-color: var(--color-tooltip-edge);
46963
+ background: none;
46964
+ color: var(--color-tooltip-meta);
46781
46965
  }
46782
46966
 
46783
46967
  /* Inside a LayerHost the panel is absolute in that host's own box. */
@@ -46787,20 +46971,13 @@ svg.crewlet-time-window__tick {
46787
46971
 
46788
46972
  /*
46789
46973
  * The side the tip was placed on is left on the element for anything that has
46790
- * to know which way it went, and it draws nothing: the entrance is a rise
46791
- * rather than a scale now, and a transform-origin under a translate is a
46792
- * declaration that reads as a decision and is not one.
46974
+ * to know which way it went, and it draws nothing.
46793
46975
  */
46794
46976
 
46795
- /*
46796
- * The same entrance every floating surface here has, at the smallest step: a
46797
- * short rise. A scale was its own gesture for no reason, and next to a menu
46798
- * opening beside it the two read as two different products.
46799
- */
46977
+ /* A short fade in at the instant step, and no fade out: it goes when it closes. */
46800
46978
  @keyframes crewlet-tooltip-in {
46801
46979
  from {
46802
46980
  opacity: 0;
46803
- transform: translateY(var(--spacing-1));
46804
46981
  }
46805
46982
  }
46806
46983
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.110.0",
3
+ "version": "0.111.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.110.0",
46
- "@crewlethq/tokens": "0.110.0",
45
+ "@crewlethq/icons": "0.111.0",
46
+ "@crewlethq/tokens": "0.111.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,71 +0,0 @@
1
- /*
2
- * The tooltip panel.
3
- *
4
- * It is placed by arithmetic (see Tooltip.tsx), so this owns what the panel
5
- * looks like and how it arrives.
6
- *
7
- * TWO THINGS ARE DELIBERATE AND LOOK LIKE OVERSIGHTS.
8
- *
9
- * It TAKES THE POINTER (`pointer-events: auto`, which the layer host's own
10
- * children already have). A panel a pointer cannot land on cannot be hovered,
11
- * and WCAG 2.2's 1.4.13 asks that it can be, so the reader can travel onto it
12
- * and read the line at their own pace.
13
- *
14
- * It is OPAQUE and it is SMALL, but it is not quiet: the ink is the primary
15
- * step on the panel surface, not a muted one. A hint drawn in a decoration
16
- * ink is a hint nobody with low vision can read, and the whole point of it is
17
- * to be read.
18
- *
19
- * IT IS DRAWN AS THE SMALLEST MEMBER OF THE OVERLAY FAMILY, on the same panel
20
- * step as a menu, a popover and a dialog, with the same corner the other small
21
- * floating objects take. A tooltip is the one surface a reader meets by
22
- * accident, and a surface that arrives looking like nothing else in the
23
- * product is one they have to work out before they can read it.
24
- */
25
-
26
- .crewlet-tooltip {
27
- position: fixed;
28
- max-width: 260px;
29
- padding: var(--spacing-1) var(--spacing-2);
30
- background: var(--color-surface-subtle);
31
- color: var(--color-text-primary);
32
- border: 1px solid var(--color-border-default);
33
- border-radius: var(--radius-md);
34
- box-shadow: var(--shadow-md);
35
- font-size: var(--font-size-xs);
36
- line-height: var(--font-line-height-snug);
37
- /* One short line, wrapped rather than cut: a hint that ends in an ellipsis
38
- is a hint that failed. */
39
- overflow-wrap: break-word;
40
- animation: crewlet-tooltip-in var(--motion-duration-base) var(--motion-easing-emphasized);
41
- }
42
-
43
- /* Inside a LayerHost the panel is absolute in that host's own box. */
44
- .crewlet-tooltip--in-host {
45
- position: absolute;
46
- }
47
-
48
- /*
49
- * The side the tip was placed on is left on the element for anything that has
50
- * to know which way it went, and it draws nothing: the entrance is a rise
51
- * rather than a scale now, and a transform-origin under a translate is a
52
- * declaration that reads as a decision and is not one.
53
- */
54
-
55
- /*
56
- * The same entrance every floating surface here has, at the smallest step: a
57
- * short rise. A scale was its own gesture for no reason, and next to a menu
58
- * opening beside it the two read as two different products.
59
- */
60
- @keyframes crewlet-tooltip-in {
61
- from {
62
- opacity: 0;
63
- transform: translateY(var(--spacing-1));
64
- }
65
- }
66
-
67
- @media (prefers-reduced-motion: reduce) {
68
- .crewlet-tooltip {
69
- animation: none;
70
- }
71
- }
@@ -1,2 +0,0 @@
1
- import './ChatScale-ST24RFPO.css';
2
- import './ChatMessage-OJO6ASZP.css';