@crewlethq/ui 0.148.0 → 0.150.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 (273) hide show
  1. package/dist/ActivityLine/index.js +3 -3
  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/ArtifactRef/index.js +2 -2
  10. package/dist/AttentionList/index.js +4 -4
  11. package/dist/Avatar/index.js +1 -1
  12. package/dist/{Avatar-HD7YSWDV.css → Avatar-OUKBB6UF.css} +19 -5
  13. package/dist/AvatarPicker/index.js +8 -8
  14. package/dist/BriefCard/index.js +3 -3
  15. package/dist/Button/index.js +2 -2
  16. package/dist/Callout/index.js +3 -3
  17. package/dist/Canvas/index.js +4 -4
  18. package/dist/CanvasBoard/index.js +6 -6
  19. package/dist/CanvasToolbar/index.js +5 -5
  20. package/dist/ChangeMark/index.js +2 -2
  21. package/dist/ChatMessage/index.js +3 -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/Clamp/index.js +3 -3
  26. package/dist/CodeBlock/CodeBlock.d.ts +11 -1
  27. package/dist/CodeBlock/index.js +6 -6
  28. package/dist/CodeBlock/syntax.d.ts +23 -0
  29. package/dist/{CodeBlock-LS7H6KUQ.css → CodeBlock-GPNAG43I.css} +34 -0
  30. package/dist/ColorField/index.js +4 -4
  31. package/dist/ColorSwatch/index.js +6 -6
  32. package/dist/Combobox/index.js +4 -4
  33. package/dist/CommandPalette/index.js +6 -6
  34. package/dist/CommentThread/index.js +7 -7
  35. package/dist/Composer/index.js +4 -4
  36. package/dist/ConfirmField/index.js +4 -4
  37. package/dist/ConflictNote/index.js +3 -3
  38. package/dist/ContrastHelp/index.js +3 -3
  39. package/dist/Copyable/index.js +5 -5
  40. package/dist/DataGrid/index.js +7 -6
  41. package/dist/DataTable/index.js +8 -8
  42. package/dist/DataView/index.js +11 -11
  43. package/dist/DateTimePicker/index.js +4 -4
  44. package/dist/DeepWorkCard/index.js +4 -4
  45. package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +69 -53
  46. package/dist/DeliveryReceipt/index.js +8 -1
  47. package/dist/DeliveryReceipt-GTES3RSG.css +90 -0
  48. package/dist/DocTabsEditor/index.js +6 -6
  49. package/dist/DownloadButton/index.js +3 -3
  50. package/dist/DurationField/DurationField.d.ts +59 -0
  51. package/dist/DurationField/index.d.ts +3 -0
  52. package/dist/DurationField/index.js +32 -0
  53. package/dist/DurationField-TJFIAUMW.css +23 -0
  54. package/dist/{Editor-PGDR7XMZ.js → Editor-FXREHINI.js} +5 -5
  55. package/dist/EmojiPicker/index.js +4 -4
  56. package/dist/EntityChip/index.js +1 -1
  57. package/dist/ErrorBoundary/index.js +3 -3
  58. package/dist/FactList/index.js +2 -2
  59. package/dist/FileDrop/index.js +3 -3
  60. package/dist/FilterPill/index.js +3 -3
  61. package/dist/FollowBanner/index.js +5 -5
  62. package/dist/Fullscreen/index.js +3 -3
  63. package/dist/GraphCanvas/index.js +6 -6
  64. package/dist/HuePicker/index.js +7 -7
  65. package/dist/IconButton/index.js +2 -2
  66. package/dist/ImageUpload/index.js +1 -1
  67. package/dist/InlineEditor/index.js +3 -3
  68. package/dist/InlineRef/index.js +1 -1
  69. package/dist/{InlineRef-LHU6MH4I.css → InlineRef-CUBTBIYD.css} +2 -1
  70. package/dist/Input/index.js +3 -3
  71. package/dist/KeyValueRows/index.js +5 -5
  72. package/dist/LinkInterstitial/index.js +6 -6
  73. package/dist/ListDetail/index.js +3 -3
  74. package/dist/ListInput/index.js +5 -5
  75. package/dist/LogoSlot/index.js +4 -4
  76. package/dist/MarkdownEditor/index.js +7 -7
  77. package/dist/MemberPicker/index.js +5 -5
  78. package/dist/Menu/index.js +4 -4
  79. package/dist/MergeConflicts/index.js +7 -7
  80. package/dist/MessageActions/index.js +5 -5
  81. package/dist/Modal/index.js +4 -4
  82. package/dist/NoticeList/index.js +3 -3
  83. package/dist/NumberField/NumberField.d.ts +56 -0
  84. package/dist/NumberField/index.d.ts +3 -0
  85. package/dist/NumberField/index.js +29 -0
  86. package/dist/NumberField-G7H4VNZP.css +30 -0
  87. package/dist/OpenInAppCard/index.js +4 -4
  88. package/dist/OrgLabel/index.js +1 -1
  89. package/dist/OrgNode/index.js +1 -1
  90. package/dist/OrgTable/index.js +10 -9
  91. package/dist/PeekRail/index.js +4 -4
  92. package/dist/PeopleRail/index.js +5 -5
  93. package/dist/PinTile/index.js +3 -3
  94. package/dist/PresenceStack/index.js +1 -1
  95. package/dist/PresenterView/index.js +5 -5
  96. package/dist/PresetChips/PresetChips.d.ts +27 -0
  97. package/dist/PresetChips/index.d.ts +2 -0
  98. package/dist/PresetChips/index.js +21 -0
  99. package/dist/Principal/index.js +1 -1
  100. package/dist/PrincipalPicker/index.js +6 -6
  101. package/dist/ProposalCard/index.js +8 -8
  102. package/dist/RailList/index.js +5 -5
  103. package/dist/ReactionBar/index.js +5 -5
  104. package/dist/ReceiptStrip/index.js +3 -3
  105. package/dist/ResultTableCard/index.js +4 -4
  106. package/dist/RichEditor/index.js +5 -5
  107. package/dist/SandboxedFrame/index.js +5 -5
  108. package/dist/SectionFrame/index.js +4 -4
  109. package/dist/SegmentedControl/index.js +6 -6
  110. package/dist/SelectionBar/index.js +3 -3
  111. package/dist/SendButton/index.js +3 -3
  112. package/dist/SettingForm/SettingForm.d.ts +50 -0
  113. package/dist/SettingForm/index.d.ts +3 -0
  114. package/dist/SettingForm/index.js +20 -0
  115. package/dist/SettingForm-ODVZZ7JZ.css +30 -0
  116. package/dist/SettingsTable/SettingsTable.d.ts +47 -34
  117. package/dist/SettingsTable/index.d.ts +3 -2
  118. package/dist/SettingsTable/index.js +7 -5
  119. package/dist/SettingsTable-KAMWVCQB.css +169 -0
  120. package/dist/ShareDialog/index.js +9 -9
  121. package/dist/SheetColumnEditor/index.js +11 -11
  122. package/dist/SheetGrid/index.js +7 -7
  123. package/dist/SidePanel/index.js +3 -3
  124. package/dist/SidebarNav/index.js +3 -3
  125. package/dist/SlideCompare/index.js +3 -3
  126. package/dist/SlideFilmstrip/index.js +5 -5
  127. package/dist/SlideNav/index.js +3 -3
  128. package/dist/StatusLine/index.js +2 -2
  129. package/dist/Switcher/index.js +6 -6
  130. package/dist/TableCells/index.js +1 -1
  131. package/dist/Tabs/index.js +5 -5
  132. package/dist/TagsInput/index.js +3 -3
  133. package/dist/ThemeSwitcher/index.js +7 -7
  134. package/dist/ThemeToggle/index.js +3 -3
  135. package/dist/ThreadSummary/index.js +2 -2
  136. package/dist/TimeRangePicker/index.js +10 -10
  137. package/dist/TimeWindowPicker/index.js +5 -5
  138. package/dist/Tooltip/Tooltip.d.ts +8 -1
  139. package/dist/Tooltip/index.js +1 -1
  140. package/dist/TreeCanvas/index.js +5 -5
  141. package/dist/TreeGrid/index.js +8 -7
  142. package/dist/ValueField/index.js +5 -5
  143. package/dist/VersionCompare/index.js +7 -7
  144. package/dist/VersionTimeline/index.js +4 -4
  145. package/dist/WorkingLine/index.js +2 -2
  146. package/dist/{chunk-CYRGASHY.js → chunk-27NS67UI.js} +2 -2
  147. package/dist/{chunk-2RJFKMTX.js → chunk-27ZF7D3C.js} +2 -2
  148. package/dist/chunk-2EPEVS2M.js +158 -0
  149. package/dist/{chunk-SPCNQUEU.js → chunk-2PSOUDCS.js} +1 -1
  150. package/dist/{chunk-IEM64WYC.js → chunk-2QPELDAA.js} +2 -2
  151. package/dist/{chunk-RG6XQJ74.js → chunk-2W2KAF7D.js} +1 -1
  152. package/dist/{chunk-CLEQII3E.js → chunk-3EL3IF3W.js} +1 -1
  153. package/dist/{chunk-2Z5SMA7Q.js → chunk-3OZPHFDT.js} +1 -1
  154. package/dist/{chunk-BXP6WDKR.js → chunk-3Q5USPLM.js} +2 -2
  155. package/dist/{chunk-YLOADTDS.js → chunk-3RLOH5AR.js} +1 -1
  156. package/dist/{chunk-IAER2ZMS.js → chunk-4DUK2TC4.js} +1 -1
  157. package/dist/{chunk-T7J2U3IN.js → chunk-4LNSURYZ.js} +1 -1
  158. package/dist/{chunk-WTRAMP4V.js → chunk-5ORAUELE.js} +3 -3
  159. package/dist/chunk-6QWSGM4W.js +21 -0
  160. package/dist/{chunk-VXSCGB2L.js → chunk-6RBE5RVG.js} +2 -2
  161. package/dist/{chunk-7UN7ICUE.js → chunk-733FZXNS.js} +2 -2
  162. package/dist/{chunk-UOVEN5RY.js → chunk-7C6NHVMX.js} +5 -5
  163. package/dist/{chunk-RIAEOKY7.js → chunk-7CVV3DQC.js} +1 -1
  164. package/dist/{chunk-RJZO5NQW.js → chunk-7FY7L6WD.js} +2 -2
  165. package/dist/{chunk-OU4P4E3U.js → chunk-7J2RIAZ4.js} +1 -1
  166. package/dist/{chunk-BPCXMQMB.js → chunk-7MAU74EI.js} +1 -1
  167. package/dist/{chunk-UJETUDIL.js → chunk-7PK2Z5JY.js} +2 -2
  168. package/dist/{chunk-SSRQLPGT.js → chunk-7SXCCVUR.js} +2 -2
  169. package/dist/{chunk-RMGAZEEX.js → chunk-7WXLPNZF.js} +1 -1
  170. package/dist/{chunk-MMJYDMGL.js → chunk-AH7R777J.js} +2 -2
  171. package/dist/{chunk-5L4ZSNGP.js → chunk-AU4EKD2G.js} +1 -1
  172. package/dist/{chunk-PDGXQBFS.js → chunk-BFZAGIXR.js} +3 -1
  173. package/dist/{chunk-QNN4OYLU.js → chunk-BJE7TPO6.js} +2 -2
  174. package/dist/chunk-BQMDD2FD.js +224 -0
  175. package/dist/{chunk-TYCICVST.js → chunk-BRMJPZC4.js} +1 -1
  176. package/dist/{chunk-EZG3SRSM.js → chunk-CA62YCFK.js} +1 -1
  177. package/dist/{chunk-JXLFC5BX.js → chunk-CC5NUAOF.js} +1 -1
  178. package/dist/{chunk-74B3HREV.js → chunk-CJGLMT44.js} +1 -1
  179. package/dist/{chunk-TCQIJ2VO.js → chunk-CRGYWLP6.js} +1 -1
  180. package/dist/{chunk-2UEMCSVB.js → chunk-CXJMWEZC.js} +1 -1
  181. package/dist/{chunk-HHCD55D3.js → chunk-D33K2BCZ.js} +1 -1
  182. package/dist/chunk-DDGHRDGV.js +134 -0
  183. package/dist/{chunk-SNKLBPXQ.js → chunk-DGB7R42F.js} +1 -1
  184. package/dist/{chunk-GYVL23ZK.js → chunk-DLYYW77C.js} +1 -1
  185. package/dist/{chunk-7VE7SOH6.js → chunk-E3JUS3CR.js} +1 -1
  186. package/dist/{chunk-X2R3GWCB.js → chunk-ECHQLOWI.js} +2 -2
  187. package/dist/{chunk-QA774VCH.js → chunk-ECYA6XZL.js} +1 -1
  188. package/dist/{chunk-QDVXEQJC.js → chunk-EDQHZOU3.js} +3 -3
  189. package/dist/{chunk-HLCQHRHJ.js → chunk-EO64FXVL.js} +1 -1
  190. package/dist/{chunk-BXGFDSC7.js → chunk-F6OYNO7O.js} +3 -3
  191. package/dist/{chunk-U62CXJPE.js → chunk-FCRJAFTU.js} +7 -7
  192. package/dist/{chunk-LO3CTXQI.js → chunk-FMKQSDBQ.js} +3 -3
  193. package/dist/{chunk-4DJONKYN.js → chunk-FYVV6GJN.js} +1 -1
  194. package/dist/{chunk-D7XI5DN5.js → chunk-GMXOZEF5.js} +1 -1
  195. package/dist/{chunk-3HY3KHMR.js → chunk-GR6XGA5V.js} +2 -2
  196. package/dist/{chunk-R4H352IB.js → chunk-HHTAGV5R.js} +1 -1
  197. package/dist/{chunk-EVOLZQTB.js → chunk-HIDOUXLD.js} +1 -1
  198. package/dist/{chunk-CMLRFHBD.js → chunk-HJ6ZY4UX.js} +2 -2
  199. package/dist/chunk-HU56GCZ7.js +198 -0
  200. package/dist/{chunk-F37ZBF4D.js → chunk-HYUO2RHC.js} +1 -1
  201. package/dist/{chunk-QGDQ5YDC.js → chunk-IMF3CPTY.js} +2 -2
  202. package/dist/{chunk-TRV7VZW6.js → chunk-IRGS5FEC.js} +1 -1
  203. package/dist/{chunk-P67SLIPX.js → chunk-IRLHICS4.js} +2 -2
  204. package/dist/{chunk-HDJMTHAP.js → chunk-IZH5DCOQ.js} +1 -1
  205. package/dist/{chunk-3ZJ6X3ZJ.js → chunk-JD5K6Y7Q.js} +3 -3
  206. package/dist/{chunk-7R77GFUO.js → chunk-JNDZGQGS.js} +2 -2
  207. package/dist/{chunk-DJAYXYDZ.js → chunk-KM5OKCW6.js} +2 -2
  208. package/dist/{chunk-NDZEN2ON.js → chunk-KQUENZR3.js} +1 -1
  209. package/dist/{chunk-PD3RJT3F.js → chunk-LDSLEEWR.js} +3 -3
  210. package/dist/{chunk-MCZJ2SD7.js → chunk-LZ3TKYAY.js} +2 -2
  211. package/dist/{chunk-LDVZYLA6.js → chunk-M2USLODI.js} +2 -2
  212. package/dist/{chunk-VGAZHT6S.js → chunk-M4VA76JF.js} +6 -6
  213. package/dist/{chunk-5Y3BFCGM.js → chunk-MUBJN75T.js} +5 -5
  214. package/dist/{chunk-5B5N4X5H.js → chunk-N3LAAA4R.js} +3 -3
  215. package/dist/{chunk-RVFSUF7V.js → chunk-N3R2POGO.js} +3 -3
  216. package/dist/chunk-NG6GEBSJ.js +53 -0
  217. package/dist/chunk-NZHWGKPW.js +334 -0
  218. package/dist/{chunk-XIJU47UT.js → chunk-O2J5PSWI.js} +2 -2
  219. package/dist/{chunk-R75TTEHL.js → chunk-OAD4AXYJ.js} +1 -1
  220. package/dist/{chunk-ZCA3JNQS.js → chunk-ODN3LSYW.js} +1 -1
  221. package/dist/{chunk-BKHS6YPM.js → chunk-OMVGWZ3V.js} +1 -1
  222. package/dist/chunk-OX332RI7.js +127 -0
  223. package/dist/{chunk-ETVXKUW7.js → chunk-PW6QXVIX.js} +3 -3
  224. package/dist/{chunk-N37AX25G.js → chunk-Q3SHCEXN.js} +7 -196
  225. package/dist/{chunk-PGLRFPYY.js → chunk-Q7RI66TT.js} +4 -4
  226. package/dist/{chunk-FYN2HXEB.js → chunk-QRUQOITJ.js} +1 -1
  227. package/dist/{chunk-XNTYJAHL.js → chunk-QULAFXL3.js} +1 -1
  228. package/dist/{chunk-QO76JNSB.js → chunk-R2RHSKAT.js} +3 -3
  229. package/dist/{chunk-V2K6EHJA.js → chunk-RNVPYDRQ.js} +1 -1
  230. package/dist/{chunk-QPAUKLNC.js → chunk-RUKSDKG5.js} +4 -3
  231. package/dist/{chunk-WGSIKYDE.js → chunk-RUNZWWN6.js} +5 -5
  232. package/dist/{chunk-QNG5MH7P.js → chunk-RXHY5T2Z.js} +2 -2
  233. package/dist/{chunk-Z3GOZ42N.js → chunk-S4ADDFRT.js} +3 -3
  234. package/dist/{chunk-EFTWYGN5.js → chunk-TBOVJ7RL.js} +1 -1
  235. package/dist/{chunk-ZPJX57QO.js → chunk-TPABM6DW.js} +2 -2
  236. package/dist/{chunk-ACXYNJZR.js → chunk-TSLXQVBC.js} +1 -1
  237. package/dist/{chunk-WK3OWTOD.js → chunk-TTUFOH2Y.js} +1 -1
  238. package/dist/{chunk-LHGDKWHV.js → chunk-U3ZUZ7VU.js} +3 -3
  239. package/dist/{chunk-X4QL7STV.js → chunk-UEO3A76N.js} +1 -1
  240. package/dist/{chunk-LILN66O3.js → chunk-V4CGY2CI.js} +1 -1
  241. package/dist/{chunk-PY3PKWAN.js → chunk-V67VL3WD.js} +1 -1
  242. package/dist/{chunk-JLWCONCZ.js → chunk-VARFEAUH.js} +5 -5
  243. package/dist/{chunk-OL42IZ6I.js → chunk-VFC7KVCW.js} +1 -1
  244. package/dist/{chunk-HTWN4IJJ.js → chunk-W2T7RGH7.js} +2 -2
  245. package/dist/{chunk-3FBJACLW.js → chunk-WAF36OFS.js} +5 -5
  246. package/dist/{chunk-EILMLMSG.js → chunk-WOHPQEBZ.js} +1 -1
  247. package/dist/{chunk-QWDTC2UI.js → chunk-WSKVFRKK.js} +1 -1
  248. package/dist/{chunk-TAOVSH32.js → chunk-X5ZUDJNK.js} +1 -1
  249. package/dist/{chunk-CNEHTSA5.js → chunk-XJU53WMW.js} +1 -1
  250. package/dist/{chunk-VGYVCLN4.js → chunk-XQMRSL7Z.js} +1 -1
  251. package/dist/{chunk-UC4YASMJ.js → chunk-YMBXTGFC.js} +2 -2
  252. package/dist/{chunk-VWEF6LTZ.js → chunk-YOCTDR2P.js} +1 -1
  253. package/dist/{chunk-H4OV6SYF.js → chunk-YRNIPS4M.js} +2 -2
  254. package/dist/{chunk-2BIGA4VD.js → chunk-YWPUT6JQ.js} +2 -2
  255. package/dist/{chunk-5DYNF5U2.js → chunk-Z6HWOPI7.js} +1 -1
  256. package/dist/{chunk-DQ3MKG7I.js → chunk-Z6OZNSHF.js} +1 -1
  257. package/dist/{chunk-PRNJO37A.js → chunk-Z7BA2EVV.js} +2 -2
  258. package/dist/{chunk-YKM3HCDL.js → chunk-ZAQ7CEYN.js} +2 -2
  259. package/dist/{chunk-WYO5KDET.js → chunk-ZC73GPA3.js} +1 -1
  260. package/dist/{chunk-SQHDMVU7.js → chunk-ZFSKRN6D.js} +1 -1
  261. package/dist/{chunk-4DKECHWE.js → chunk-ZMZNKDPO.js} +4 -4
  262. package/dist/{chunk-2FAEKL36.js → chunk-ZNEMXLTY.js} +1 -1
  263. package/dist/generated/index.d.ts +4 -0
  264. package/dist/generated/index.js +153 -148
  265. package/dist/index.js +153 -148
  266. package/dist/styles.css +286 -132
  267. package/package.json +3 -3
  268. package/dist/DeliveryReceipt-BILVVNTO.css +0 -64
  269. package/dist/SettingsTable-MTZJTKA6.css +0 -182
  270. package/dist/chunk-GTNXDLYH.js +0 -146
  271. package/dist/chunk-L6E4DVIF.js +0 -131
  272. package/dist/chunk-TNYRJVKE.js +0 -94
  273. /package/dist/{chunk-II7TPQ64.js → chunk-2DASEYUG.js} +0 -0
package/dist/styles.css CHANGED
@@ -5084,7 +5084,7 @@ a.crewlet-make-row__item:active {
5084
5084
  }
5085
5085
 
5086
5086
 
5087
- /* Avatar-HD7YSWDV.css */
5087
+ /* Avatar-OUKBB6UF.css */
5088
5088
  /*
5089
5089
  * The identity badge.
5090
5090
  *
@@ -5194,12 +5194,25 @@ a.crewlet-make-row__item:active {
5194
5194
  /*
5195
5195
  * AN INLINE BLOCK, not a flex box, because it sits inside words a reader
5196
5196
  * copies: a browser copies a line break before an inline flex container,
5197
- * so "ask @miles" came out over two lines. Its face is centred by its line
5198
- * instead (`line-height` is its own height).
5197
+ * so "ask @miles" came out over two lines. Its initials are centred on the
5198
+ * strut below, so the face's own line takes no height.
5199
5199
  */
5200
5200
  display: inline-block;
5201
5201
  text-align: center;
5202
- line-height: var(--crewlet-avatar-size);
5202
+ line-height: 0;
5203
+ /* Its foot is its baseline (it clips), set 0.22em under the words' as
5204
+ InlineRef sets its square, so a face alone in a sentence centres on the
5205
+ capitals too. */
5206
+ vertical-align: -0.22em;
5207
+ }
5208
+
5209
+ /* A full-height strut its initials or glyph are middle-aligned with, which
5210
+ puts their middle on the box's centre rather than on the sentence's x-height. */
5211
+ .crewlet-avatar--text.crewlet-avatar--fallback::before {
5212
+ content: '';
5213
+ display: inline-block;
5214
+ height: 100%;
5215
+ vertical-align: middle;
5203
5216
  }
5204
5217
 
5205
5218
  /* An image face is a block at every other size. */
@@ -5207,7 +5220,7 @@ a.crewlet-make-row__item:active {
5207
5220
  display: inline-block;
5208
5221
  }
5209
5222
 
5210
- /* A glyph face (a token's key) centred by the line too, never a flex box. */
5223
+ /* A glyph face (a token's key) centred on the strut too, never a flex box. */
5211
5224
  .crewlet-avatar--text .crewlet-avatar__icon {
5212
5225
  display: inline-block;
5213
5226
  vertical-align: middle;
@@ -5226,7 +5239,8 @@ a.crewlet-make-row__item:active {
5226
5239
  */
5227
5240
  --crewlet-avatar-initials-size: 0.5em;
5228
5241
  font-size: var(--crewlet-avatar-initials-size);
5229
- line-height: 1;
5242
+ /* The font's own line, as the steps set it: Geist's caps centre on it. */
5243
+ line-height: normal;
5230
5244
  vertical-align: middle;
5231
5245
  }
5232
5246
 
@@ -13104,7 +13118,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13104
13118
  }
13105
13119
 
13106
13120
 
13107
- /* CodeBlock-LS7H6KUQ.css */
13121
+ /* CodeBlock-GPNAG43I.css */
13108
13122
  /*
13109
13123
  * CodeBlock, a monospace command, config or record surface. One step off the
13110
13124
  * page, with an optional header carrying a filename and the copy control.
@@ -13306,6 +13320,40 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
13306
13320
  overflow-wrap: normal;
13307
13321
  }
13308
13322
 
13323
+ /*
13324
+ * CODE COLOURED BY KIND (a `json` or `yaml` block): each token in the kit's
13325
+ * syntax ink for its kind, which the palette measures on the block's grounds.
13326
+ * A hue here is a kind, never a state.
13327
+ */
13328
+ .crewlet-codeblock__tok--key {
13329
+ color: var(--color-syntax-function);
13330
+ }
13331
+
13332
+ .crewlet-codeblock__tok--string {
13333
+ color: var(--color-syntax-string);
13334
+ }
13335
+
13336
+ .crewlet-codeblock__tok--number {
13337
+ color: var(--color-syntax-number);
13338
+ }
13339
+
13340
+ .crewlet-codeblock__tok--boolean {
13341
+ color: var(--color-syntax-keyword);
13342
+ }
13343
+
13344
+ .crewlet-codeblock__tok--null {
13345
+ color: var(--color-syntax-type);
13346
+ }
13347
+
13348
+ .crewlet-codeblock__tok--punctuation {
13349
+ color: var(--color-syntax-punctuation);
13350
+ }
13351
+
13352
+ .crewlet-codeblock__tok--comment {
13353
+ color: var(--color-syntax-comment);
13354
+ font-style: italic;
13355
+ }
13356
+
13309
13357
  /*
13310
13358
  * The copy control sits in the header in the sans face, not the block's. It
13311
13359
  * is a small ghost at the header's end, and it stands as far from that end as
@@ -19876,70 +19924,96 @@ svg.crewlet-datetime__chevron {
19876
19924
  }
19877
19925
 
19878
19926
 
19879
- /* DeliveryReceipt-BILVVNTO.css */
19927
+ /* DeliveryReceipt-GTES3RSG.css */
19880
19928
  /*
19881
- * Who a person's message reached and who answered, under its words; and the
19882
- * same line over a composer, before the message is sent.
19883
- *
19884
- * ONE LINE OF TEXT: a sentence that wraps like any other, with its mark
19885
- * standing at its start. It was a row of flex parts with a dot between them,
19886
- * which made two facts out of one and named the seats that answered twice.
19929
+ * Who a person's message reached and who answered, as a mark under its words
19930
+ * or beside a composer, whose facts open in the kit tooltip.
19887
19931
  */
19888
19932
  .crewlet-delivery-receipt {
19933
+ display: inline-flex;
19934
+ align-items: center;
19889
19935
  max-width: 100%;
19890
- margin: 0;
19891
19936
  color: var(--color-text-tertiary);
19892
19937
  font-size: var(--crewlet-chat-meta);
19893
19938
  line-height: var(--font-line-height-snug);
19894
- overflow-wrap: anywhere;
19895
19939
  }
19896
19940
 
19897
- /* The mark stands on the sentence's first line, centred on it, a step
19898
- before the words. */
19899
- .crewlet-delivery-receipt__mark {
19941
+ /* The mark is the control: a quiet text-ink button whose hit area reaches past
19942
+ the glyph without moving the line around it. */
19943
+ .crewlet-delivery-receipt__trigger {
19900
19944
  display: inline-flex;
19901
- vertical-align: middle;
19902
- margin-inline-end: var(--spacing-1);
19945
+ align-items: center;
19946
+ gap: var(--spacing-1);
19947
+ min-width: var(--size-target-min);
19948
+ min-height: var(--size-target-min);
19949
+ margin: calc(var(--spacing-1) * -1);
19950
+ padding: var(--spacing-1);
19951
+ border: 0;
19952
+ border-radius: var(--radius-xs);
19953
+ background: none;
19954
+ color: inherit;
19955
+ font: inherit;
19956
+ cursor: default;
19903
19957
  }
19904
19958
 
19905
- /* An answer lifts the line to the secondary ink, check and all. */
19906
- .crewlet-delivery-receipt--answered {
19959
+ .crewlet-delivery-receipt__trigger:hover {
19907
19960
  color: var(--color-text-secondary);
19908
19961
  }
19909
19962
 
19910
- /* The one raised tone: a message nobody was asked to answer. Its mark takes
19911
- the warning ink, its words the secondary ink; the hint stays quiet. */
19912
- .crewlet-delivery-receipt--none {
19963
+ .crewlet-delivery-receipt__trigger:focus-visible {
19964
+ outline: 2px solid var(--color-focus);
19965
+ outline-offset: var(--size-focus-ring-inset-offset);
19966
+ }
19967
+
19968
+ .crewlet-delivery-receipt__mark,
19969
+ .crewlet-delivery-receipt__faces {
19970
+ display: inline-flex;
19971
+ flex: none;
19972
+ }
19973
+
19974
+ .crewlet-delivery-receipt__count {
19975
+ font-variant-numeric: tabular-nums;
19976
+ }
19977
+
19978
+ /* An answer lifts the receipt to the secondary ink, check and all. */
19979
+ .crewlet-delivery-receipt--answered,
19980
+ .crewlet-delivery-receipt--partly {
19913
19981
  color: var(--color-text-secondary);
19914
19982
  }
19915
19983
 
19984
+ /* The one raised tone: a message nobody was asked to answer. */
19916
19985
  .crewlet-delivery-receipt--none .crewlet-delivery-receipt__mark {
19917
19986
  color: var(--color-feedback-warning-ink);
19918
19987
  }
19919
19988
 
19920
- .crewlet-delivery-receipt__hint {
19921
- color: var(--color-text-tertiary);
19989
+ /* ── the tip ──────────────────────────────────────────────────────────── */
19990
+
19991
+ /* A head saying where it stands, then a key and its values a row. */
19992
+ .crewlet-delivery-receipt__tip {
19993
+ display: grid;
19994
+ gap: var(--spacing-1);
19922
19995
  }
19923
19996
 
19924
- /* The names past the cap: a quiet text button in the line's own type, so the
19925
- receipt keeps its register; it underlines under the pointer as a link does. */
19926
- .crewlet-delivery-receipt__more {
19927
- padding: 0;
19928
- border: 0;
19929
- border-radius: var(--radius-xs);
19930
- background: none;
19931
- color: var(--color-text-secondary);
19932
- font: inherit;
19933
- cursor: pointer;
19997
+ .crewlet-delivery-receipt__tip-facts {
19998
+ display: grid;
19999
+ grid-template-columns: auto minmax(0, 1fr);
20000
+ gap: var(--spacing-1) var(--spacing-2);
20001
+ font-weight: var(--font-weight-regular);
19934
20002
  }
19935
20003
 
19936
- .crewlet-delivery-receipt__more:hover {
19937
- text-decoration: underline;
20004
+ .crewlet-delivery-receipt__tip-row {
20005
+ display: contents;
19938
20006
  }
19939
20007
 
19940
- .crewlet-delivery-receipt__more:focus-visible {
19941
- outline: 2px solid var(--color-focus);
19942
- outline-offset: 2px;
20008
+ .crewlet-delivery-receipt__tip-key,
20009
+ .crewlet-delivery-receipt__tip-note {
20010
+ color: var(--color-tooltip-meta);
20011
+ font-weight: var(--font-weight-regular);
20012
+ }
20013
+
20014
+ .crewlet-delivery-receipt__tip-values {
20015
+ display: grid;
20016
+ min-width: 0;
19943
20017
  }
19944
20018
 
19945
20019
 
@@ -21673,6 +21747,32 @@ svg.crewlet-datetime__chevron {
21673
21747
  }
21674
21748
 
21675
21749
 
21750
+ /* DurationField-TJFIAUMW.css */
21751
+ /* DurationField: the amount with its steppers, the unit beside it, then its preset chips. */
21752
+
21753
+ .crewlet-duration-field {
21754
+ display: flex;
21755
+ flex-direction: column;
21756
+ gap: var(--spacing-2);
21757
+ min-width: 0;
21758
+ }
21759
+
21760
+ .crewlet-duration-field__row {
21761
+ display: flex;
21762
+ align-items: flex-start;
21763
+ gap: var(--spacing-2);
21764
+ min-width: 0;
21765
+ }
21766
+
21767
+ .crewlet-duration-field__amount {
21768
+ flex: 1 1 auto;
21769
+ }
21770
+
21771
+ .crewlet-duration-field__unit {
21772
+ flex: none;
21773
+ }
21774
+
21775
+
21676
21776
  /* EditingStatus-TMGT265J.css */
21677
21777
  /*
21678
21778
  * The editing status (EditingStatus.tsx): a word and a dot, in the bar's own
@@ -25728,7 +25828,7 @@ a.crewlet-icon-btn {
25728
25828
  }
25729
25829
 
25730
25830
 
25731
- /* InlineRef-LHU6MH4I.css */
25831
+ /* InlineRef-CUBTBIYD.css */
25732
25832
  /*
25733
25833
  * A reference inside a sentence (InlineRef.tsx): a mark a little below the
25734
25834
  * text's size, then its words, in the sentence's own ink unless it is a link.
@@ -25871,7 +25971,8 @@ a.crewlet-icon-btn {
25871
25971
  overflow: hidden;
25872
25972
  }
25873
25973
 
25874
- .crewlet-inline-ref__mark--face > * {
25974
+ /* Two classes, over the face's own sentence placement (Avatar.css). */
25975
+ .crewlet-inline-ref .crewlet-inline-ref__mark--face > * {
25875
25976
  vertical-align: top;
25876
25977
  }
25877
25978
 
@@ -31413,6 +31514,39 @@ button.crewlet-mention-chip:focus-visible {
31413
31514
  }
31414
31515
 
31415
31516
 
31517
+ /* NumberField-G7H4VNZP.css */
31518
+ /* NumberField: a field between its two steppers, then its preset chips. */
31519
+
31520
+ .crewlet-number-field {
31521
+ display: flex;
31522
+ flex-direction: column;
31523
+ gap: var(--spacing-2);
31524
+ min-width: 0;
31525
+ }
31526
+
31527
+ .crewlet-number-field__row {
31528
+ display: flex;
31529
+ align-items: center;
31530
+ gap: var(--spacing-1);
31531
+ min-width: 0;
31532
+ }
31533
+
31534
+ .crewlet-number-field__input {
31535
+ flex: 1 1 auto;
31536
+ min-width: 0;
31537
+ }
31538
+
31539
+ /* Figures line up under each other as they are stepped. */
31540
+ .crewlet-number-field__input input {
31541
+ font-variant-numeric: tabular-nums;
31542
+ }
31543
+
31544
+ .crewlet-number-field__unit {
31545
+ color: var(--color-text-tertiary);
31546
+ white-space: nowrap;
31547
+ }
31548
+
31549
+
31416
31550
  /* ObjectHeader-3YYG2BAF.css */
31417
31551
  /*
31418
31552
  * The header of an object: its eyebrow, its head row and its fact line.
@@ -38268,82 +38402,66 @@ svg.crewlet-select__chevron {
38268
38402
  }
38269
38403
 
38270
38404
 
38271
- /* SettingsTable-MTZJTKA6.css */
38272
- /*
38273
- * SettingsTable: a read-only table of settings, one row each, on one grid.
38274
- *
38275
- * THE TRACKS ARE FRACTIONS OF THE TABLE, so every table of one width shares
38276
- * them: a page that stacks a table per group puts each column on one line
38277
- * down the page with nothing to coordinate. `--crewlet-settings-table-columns`
38278
- * is inherited, so a page that wants other proportions sets it once.
38279
- *
38280
- * Each row is its own grid on those tracks rather than a subgrid of the
38281
- * table's, because the tracks are fractions: one row's long label can never
38282
- * move another row's value, which is what a content-sized track would do.
38283
- */
38405
+ /* SettingForm-ODVZZ7JZ.css */
38406
+ /* SettingForm: one setting's panel, sized for a popover a phone can hold. */
38284
38407
 
38285
- .crewlet-settings-table {
38286
- container: crewlet-settings-table / inline-size;
38408
+ .crewlet-setting-form {
38287
38409
  display: flex;
38288
38410
  flex-direction: column;
38289
- min-width: 0;
38290
- font-size: var(--font-size-compact);
38291
- /* The flush-panel recipe, standing on its own: the card's surface, its
38292
- hairline and its corner. Inside a card it gives them up (below). */
38293
- background: var(--color-surface-subtle);
38294
- border: 1px solid var(--color-border-default);
38295
- border-radius: var(--radius-lg);
38296
- overflow: hidden;
38411
+ gap: var(--spacing-3);
38412
+ width: min(22rem, calc(100vw - 2 * var(--spacing-4)));
38413
+ max-width: 100%;
38414
+ padding: var(--spacing-3);
38297
38415
  }
38298
38416
 
38299
- /*
38300
- * A TABLE THAT IS A CARD'S CONTENT IS THAT CARD'S TABLE. It draws no edge or
38301
- * corner of its own inside one, so a card never holds a box inside a box; its
38302
- * rows' hairlines run to the card's edges under the card's own head rule.
38303
- */
38304
- .crewlet-card > .crewlet-settings-table,
38305
- .crewlet-card__body > .crewlet-settings-table {
38306
- background: transparent;
38307
- border: 0;
38308
- border-radius: var(--radius-none);
38417
+ .crewlet-setting-form__subject {
38418
+ margin: 0;
38419
+ font-size: var(--font-size-compact);
38420
+ font-weight: var(--font-weight-medium);
38421
+ color: var(--color-text-primary);
38422
+ overflow-wrap: anywhere;
38309
38423
  }
38310
38424
 
38311
- .crewlet-settings-table__row {
38312
- display: grid;
38313
- grid-template-columns: var(
38314
- --crewlet-settings-table-columns,
38315
- minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr)
38316
- );
38317
- column-gap: var(--spacing-6);
38318
- /* ONE BASELINE PER ROW: the name, the value and the source sit on the
38319
- first line's baseline, whatever the name's key adds under it. */
38320
- align-items: baseline;
38321
- min-height: var(--size-row-md);
38322
- padding: var(--spacing-3) var(--spacing-4);
38425
+ /* No gap for an outcome not yet said: the slot holds the caller's own status element, empty while idle. */
38426
+ .crewlet-setting-form__status:empty,
38427
+ .crewlet-setting-form__status:not(:has(> :not(:empty))) {
38428
+ display: none;
38323
38429
  }
38324
38430
 
38325
- .crewlet-settings-table__body > .crewlet-settings-table__row + .crewlet-settings-table__row {
38326
- border-top: 1px solid var(--color-border-default);
38431
+ .crewlet-setting-form__actions {
38432
+ display: flex;
38433
+ justify-content: flex-end;
38434
+ gap: var(--spacing-2);
38327
38435
  }
38328
38436
 
38437
+
38438
+ /* SettingsTable-KAMWVCQB.css */
38329
38439
  /*
38330
- * The column names, in the micro-label register a table's header takes
38331
- * across the system, on the panel's own ground. Hidden by default (see the
38332
- * component): still the table's column headers for assistive technology.
38440
+ * SettingsTable: DataGrid's head, rows, cells, hairlines and hover (its
38441
+ * classes), on tracks of its own. Only what is a setting's lives here.
38442
+ *
38443
+ * THE TRACKS ARE FRACTIONS OF THE TABLE and the controls' track a fixed width,
38444
+ * so tables of one width stacked down a page share every column line. Each
38445
+ * row is its own grid on them, so one long label never moves another row.
38333
38446
  */
38334
- .crewlet-settings-table__head .crewlet-settings-table__row {
38335
- min-height: 0;
38336
- padding-block: var(--spacing-2);
38337
- border-bottom: 1px solid var(--color-border-default);
38447
+
38448
+ .crewlet-settings-table {
38449
+ /* Two small controls at the row's end: a reset, then the pencil. */
38450
+ --crewlet-settings-table-actions: calc(var(--size-control-sm) * 2 + var(--spacing-1));
38451
+
38452
+ container: crewlet-settings-table / inline-size;
38338
38453
  }
38339
38454
 
38340
- .crewlet-settings-table__name {
38341
- font-size: var(--font-size-2xs);
38342
- font-weight: var(--font-weight-medium);
38343
- letter-spacing: var(--font-letter-spacing-wide);
38344
- text-transform: uppercase;
38345
- color: var(--color-text-tertiary);
38346
- white-space: nowrap;
38455
+ .crewlet-settings-table > .crewlet-data-grid__head,
38456
+ .crewlet-settings-table .crewlet-settings-table__row {
38457
+ grid-template-columns:
38458
+ var(--crewlet-settings-table-columns, minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr))
38459
+ calc(var(--crewlet-settings-table-actions) + var(--spacing-3) + var(--crewlet-data-grid-edge));
38460
+ }
38461
+
38462
+ /* A setting's row is read, not opened: no pointer that promises a page. */
38463
+ .crewlet-settings-table .crewlet-settings-table__row {
38464
+ cursor: auto;
38347
38465
  }
38348
38466
 
38349
38467
  .crewlet-settings-table__head--hidden {
@@ -38359,26 +38477,16 @@ svg.crewlet-select__chevron {
38359
38477
  }
38360
38478
 
38361
38479
  .crewlet-settings-table__setting {
38362
- display: flex;
38363
- /* The name first and on top, so the cell's baseline is the name's first
38364
- line, the one the row's value and source sit on. */
38365
- align-items: flex-start;
38366
38480
  gap: var(--spacing-1);
38367
- min-width: 0;
38368
38481
  }
38369
38482
 
38370
38483
  .crewlet-settings-table__label {
38484
+ min-width: 0;
38371
38485
  color: var(--color-text-primary);
38372
38486
  line-height: var(--font-line-height-snug);
38373
38487
  }
38374
38488
 
38375
- /*
38376
- * THE KEY IS FOR THE READER WHO WILL GO AND CHANGE IT, so it is a control
38377
- * after the name rather than a line under it: one quiet square that copies
38378
- * the key and shows it on hover and focus. Its box is the name's first line,
38379
- * so the square centres on that line, and the control's height never sets the
38380
- * row's: a row with a key is as tall as one without.
38381
- */
38489
+ /* The key's copy control, after the name; its box never sets the row's height. */
38382
38490
  .crewlet-settings-table__key {
38383
38491
  display: inline-flex;
38384
38492
  align-items: center;
@@ -38387,7 +38495,7 @@ svg.crewlet-select__chevron {
38387
38495
  color: var(--color-text-tertiary);
38388
38496
  }
38389
38497
 
38390
- /* Where a pointer can hover, the key shows with its row, its focus or a copy's outcome, and keeps its place unseen otherwise. */
38498
+ /* Where a pointer can hover, the key shows with its row, its focus or a copy's outcome. */
38391
38499
  @media (hover: hover) {
38392
38500
  .crewlet-settings-table__key {
38393
38501
  opacity: 0;
@@ -38407,7 +38515,7 @@ svg.crewlet-select__chevron {
38407
38515
 
38408
38516
  /* Tabular figures, so a column of numbers reads down its digits. */
38409
38517
  .crewlet-settings-table__value {
38410
- min-width: 0;
38518
+ flex-wrap: wrap;
38411
38519
  color: var(--color-text-primary);
38412
38520
  font-weight: var(--font-weight-medium);
38413
38521
  font-variant-numeric: tabular-nums;
@@ -38415,10 +38523,6 @@ svg.crewlet-select__chevron {
38415
38523
  }
38416
38524
 
38417
38525
  .crewlet-settings-table__source {
38418
- display: inline-flex;
38419
- align-items: baseline;
38420
- gap: var(--spacing-2);
38421
- min-width: 0;
38422
38526
  font-size: var(--font-size-xs);
38423
38527
  color: var(--color-text-tertiary);
38424
38528
  }
@@ -38428,27 +38532,77 @@ svg.crewlet-select__chevron {
38428
38532
  color: var(--color-text-secondary);
38429
38533
  }
38430
38534
 
38431
- .crewlet-settings-table__source--changed .crewlet-status-dot {
38432
- align-self: center;
38535
+ /* The controls at the row's end: the pencil last, on one line down the page. */
38536
+ .crewlet-settings-table__actions {
38537
+ justify-content: flex-end;
38538
+ gap: var(--spacing-1);
38539
+ }
38540
+
38541
+ /* THE RESET'S QUESTION takes the source's and the controls' tracks while it is asked. */
38542
+ .crewlet-settings-table__confirm {
38543
+ grid-column: 3 / -1;
38544
+ justify-content: flex-end;
38545
+ gap: var(--spacing-1);
38546
+ padding-inline-end: var(--crewlet-data-grid-edge);
38547
+ }
38548
+
38549
+ .crewlet-settings-table__question {
38550
+ margin-inline-end: var(--spacing-1);
38551
+ min-width: 0;
38552
+ font-size: var(--font-size-xs);
38553
+ color: var(--color-text-secondary);
38554
+ overflow-wrap: anywhere;
38433
38555
  }
38434
38556
 
38435
38557
  /*
38436
- * NARROW: the name takes the row's first line, and the value and its source
38437
- * share the second. Three columns at this width leave a name column a word
38438
- * wide, which wraps every name into a stack of single words.
38558
+ * NARROW: the name and its controls take the first line, the value and its
38559
+ * source the second. Three columns here wrap every name a word to a line.
38439
38560
  */
38440
38561
  @container crewlet-settings-table (width < 32rem) {
38441
- .crewlet-settings-table__row {
38562
+ .crewlet-settings-table > .crewlet-data-grid__head {
38563
+ position: absolute;
38564
+ width: 1px;
38565
+ height: 1px;
38566
+ overflow: hidden;
38567
+ clip-path: inset(50%);
38568
+ }
38569
+
38570
+ .crewlet-settings-table .crewlet-settings-table__row {
38442
38571
  grid-template-columns: minmax(0, 1fr) auto;
38572
+ column-gap: var(--spacing-3);
38443
38573
  row-gap: var(--spacing-1);
38574
+ padding: var(--spacing-2) var(--crewlet-data-grid-edge);
38575
+ }
38576
+
38577
+ .crewlet-settings-table__row > .crewlet-data-grid__cell {
38578
+ padding: 0;
38444
38579
  }
38445
38580
 
38446
38581
  .crewlet-settings-table__setting {
38447
- grid-column: 1 / -1;
38582
+ grid-column: 1;
38583
+ grid-row: 1;
38584
+ }
38585
+
38586
+ .crewlet-settings-table__actions {
38587
+ grid-column: 2;
38588
+ grid-row: 1;
38589
+ }
38590
+
38591
+ .crewlet-settings-table__value {
38592
+ grid-column: 1;
38593
+ grid-row: 2;
38448
38594
  }
38449
38595
 
38450
38596
  .crewlet-settings-table__source {
38451
- justify-self: end;
38597
+ grid-column: 2;
38598
+ grid-row: 2;
38599
+ justify-content: flex-end;
38600
+ }
38601
+
38602
+ .crewlet-settings-table__confirm {
38603
+ grid-column: 1 / -1;
38604
+ grid-row: 3;
38605
+ padding: 0;
38452
38606
  }
38453
38607
  }
38454
38608
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.148.0",
3
+ "version": "0.150.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.148.0",
46
- "@crewlethq/tokens": "0.148.0",
45
+ "@crewlethq/icons": "0.150.0",
46
+ "@crewlethq/tokens": "0.150.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,64 +0,0 @@
1
- /*
2
- * Who a person's message reached and who answered, under its words; and the
3
- * same line over a composer, before the message is sent.
4
- *
5
- * ONE LINE OF TEXT: a sentence that wraps like any other, with its mark
6
- * standing at its start. It was a row of flex parts with a dot between them,
7
- * which made two facts out of one and named the seats that answered twice.
8
- */
9
- .crewlet-delivery-receipt {
10
- max-width: 100%;
11
- margin: 0;
12
- color: var(--color-text-tertiary);
13
- font-size: var(--crewlet-chat-meta);
14
- line-height: var(--font-line-height-snug);
15
- overflow-wrap: anywhere;
16
- }
17
-
18
- /* The mark stands on the sentence's first line, centred on it, a step
19
- before the words. */
20
- .crewlet-delivery-receipt__mark {
21
- display: inline-flex;
22
- vertical-align: middle;
23
- margin-inline-end: var(--spacing-1);
24
- }
25
-
26
- /* An answer lifts the line to the secondary ink, check and all. */
27
- .crewlet-delivery-receipt--answered {
28
- color: var(--color-text-secondary);
29
- }
30
-
31
- /* The one raised tone: a message nobody was asked to answer. Its mark takes
32
- the warning ink, its words the secondary ink; the hint stays quiet. */
33
- .crewlet-delivery-receipt--none {
34
- color: var(--color-text-secondary);
35
- }
36
-
37
- .crewlet-delivery-receipt--none .crewlet-delivery-receipt__mark {
38
- color: var(--color-feedback-warning-ink);
39
- }
40
-
41
- .crewlet-delivery-receipt__hint {
42
- color: var(--color-text-tertiary);
43
- }
44
-
45
- /* The names past the cap: a quiet text button in the line's own type, so the
46
- receipt keeps its register; it underlines under the pointer as a link does. */
47
- .crewlet-delivery-receipt__more {
48
- padding: 0;
49
- border: 0;
50
- border-radius: var(--radius-xs);
51
- background: none;
52
- color: var(--color-text-secondary);
53
- font: inherit;
54
- cursor: pointer;
55
- }
56
-
57
- .crewlet-delivery-receipt__more:hover {
58
- text-decoration: underline;
59
- }
60
-
61
- .crewlet-delivery-receipt__more:focus-visible {
62
- outline: 2px solid var(--color-focus);
63
- outline-offset: 2px;
64
- }