@crewlethq/ui 0.172.0 → 0.172.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +10 -0
  2. package/dist/Accordion/index.js +3 -3
  3. package/dist/AgentHandoffPanel/index.js +13 -13
  4. package/dist/ArrangeFrame/index.js +2 -2
  5. package/dist/ArrangeGroup/index.js +2 -2
  6. package/dist/ArrangeList/index.js +7 -7
  7. package/dist/ArtifactBar/index.js +5 -5
  8. package/dist/ArtifactCard/index.js +8 -8
  9. package/dist/ArtifactPanel/index.js +3 -3
  10. package/dist/AttentionList/index.js +6 -6
  11. package/dist/AuthLayout/index.js +4 -4
  12. package/dist/AvatarPicker/index.js +6 -6
  13. package/dist/BriefCard/index.js +5 -5
  14. package/dist/Card/index.js +2 -2
  15. package/dist/ChangeList/index.js +4 -4
  16. package/dist/CheckGrid/index.js +6 -6
  17. package/dist/Checkbox/index.js +5 -5
  18. package/dist/ChipField/index.js +2 -2
  19. package/dist/ColorField/index.js +5 -5
  20. package/dist/Combobox/index.js +5 -5
  21. package/dist/CommandPalette/index.js +7 -7
  22. package/dist/CommentThread/index.js +7 -7
  23. package/dist/Composer/index.js +5 -5
  24. package/dist/{Composer-ZCCW2U6T.css → Composer-YO275MFX.css} +24 -14
  25. package/dist/ConfirmField/index.js +5 -5
  26. package/dist/Count/Count.d.ts +1 -1
  27. package/dist/Count/index.js +1 -1
  28. package/dist/{Count-2HXBBYPO.css → Count-Y6AVFRKT.css} +8 -3
  29. package/dist/DataGrid/index.js +7 -7
  30. package/dist/{DataGrid-HWN76M5F.css → DataGrid-K2L4ZOUH.css} +3 -2
  31. package/dist/DataTable/index.js +8 -8
  32. package/dist/DataView/index.js +10 -10
  33. package/dist/DeepWorkCard/index.js +7 -7
  34. package/dist/Disclosure/index.js +3 -3
  35. package/dist/DocTabsEditor/index.js +7 -7
  36. package/dist/DurationField/index.js +12 -12
  37. package/dist/{Editor-ZNPZHMVD.js → Editor-B7KMHVA5.js} +5 -5
  38. package/dist/EmojiPicker/index.js +5 -5
  39. package/dist/EntityList/index.js +4 -4
  40. package/dist/FolderTile/index.js +3 -3
  41. package/dist/HuePicker/index.js +4 -4
  42. package/dist/InboxList/InboxList.d.ts +3 -2
  43. package/dist/InboxList/index.js +2 -2
  44. package/dist/{InboxList-FLKL5DII.css → InboxList-TVXAGDKX.css} +66 -10
  45. package/dist/Input/index.js +4 -4
  46. package/dist/KeyValueRows/index.js +5 -5
  47. package/dist/LinkInterstitial/index.js +3 -3
  48. package/dist/ListInput/index.js +6 -6
  49. package/dist/MarkdownEditor/index.js +5 -5
  50. package/dist/MemberPicker/index.js +6 -6
  51. package/dist/MentionMenu/index.js +1 -1
  52. package/dist/MergeConflicts/index.js +5 -5
  53. package/dist/MessageActions/index.js +6 -6
  54. package/dist/Modal/index.js +2 -2
  55. package/dist/MoneyField/index.js +5 -5
  56. package/dist/NoticeList/index.js +4 -4
  57. package/dist/NumberField/index.js +11 -11
  58. package/dist/OpenInAppCard/index.js +5 -5
  59. package/dist/OrgTable/index.js +9 -9
  60. package/dist/PeopleRail/index.js +2 -2
  61. package/dist/PresetChips/index.js +5 -5
  62. package/dist/PrincipalPicker/index.js +6 -6
  63. package/dist/ProposalCard/index.js +14 -14
  64. package/dist/RailList/index.js +4 -4
  65. package/dist/ReactionBar/index.js +6 -6
  66. package/dist/ReadingPane/index.js +2 -2
  67. package/dist/RefusalCard/index.js +4 -4
  68. package/dist/RelatedRow/index.js +3 -3
  69. package/dist/Reorder/index.js +2 -2
  70. package/dist/ResultTableCard/index.js +5 -5
  71. package/dist/RichEditor/index.js +1 -1
  72. package/dist/RunChip/index.js +5 -5
  73. package/dist/SegmentedControl/index.js +4 -4
  74. package/dist/SelectionBar/index.js +2 -2
  75. package/dist/SettingForm/index.js +5 -5
  76. package/dist/SettingsTable/index.js +1 -1
  77. package/dist/{SettingsTable-KAMWVCQB.css → SettingsTable-IMFNMIJI.css} +0 -5
  78. package/dist/SetupWizard/index.js +5 -5
  79. package/dist/ShareDialog/index.js +3 -3
  80. package/dist/SheetColumnEditor/index.js +11 -11
  81. package/dist/SheetGrid/index.js +3 -3
  82. package/dist/SidePanel/index.js +2 -2
  83. package/dist/SlideFilmstrip/index.js +3 -3
  84. package/dist/StatusCard/index.js +3 -3
  85. package/dist/Switcher/index.js +6 -6
  86. package/dist/Tabs/index.js +2 -2
  87. package/dist/{Tabs-CLNPYFMW.css → Tabs-4LONUJFE.css} +3 -1
  88. package/dist/TagsInput/index.js +2 -2
  89. package/dist/ThemeSwitcher/index.js +5 -5
  90. package/dist/TimeRangePicker/index.js +11 -11
  91. package/dist/TimeWindowPicker/index.js +5 -5
  92. package/dist/TreeGrid/index.js +8 -8
  93. package/dist/ValueField/index.js +6 -6
  94. package/dist/VersionCompare/index.js +7 -7
  95. package/dist/{chunk-J4GZJP5X.js → chunk-2YJYUAKA.js} +3 -3
  96. package/dist/{chunk-SQAVCPA3.js → chunk-35ZF72VO.js} +1 -1
  97. package/dist/{chunk-GLGR2HWO.js → chunk-3WRXDEO6.js} +2 -2
  98. package/dist/{chunk-7RUZDVGX.js → chunk-4NIIN32I.js} +2 -2
  99. package/dist/{chunk-VLDDTLZ3.js → chunk-52DWLGLR.js} +1 -1
  100. package/dist/{chunk-3EIOYIW4.js → chunk-55HBOEXP.js} +2 -2
  101. package/dist/{chunk-HUKWTGG4.js → chunk-5CHGZYR4.js} +3 -3
  102. package/dist/{chunk-C4MNOKNV.js → chunk-5QFS54ET.js} +2 -2
  103. package/dist/{chunk-354NVZ6M.js → chunk-5Y76EWDZ.js} +1 -1
  104. package/dist/{chunk-GW5HVNBL.js → chunk-634JKVMX.js} +1 -1
  105. package/dist/{chunk-ESZXGC4P.js → chunk-64CMQ2QA.js} +1 -1
  106. package/dist/{chunk-M3ABCF75.js → chunk-6D2GT6FR.js} +1 -1
  107. package/dist/{chunk-Y5CMDLQM.js → chunk-6YKTRAWI.js} +1 -1
  108. package/dist/{chunk-ESQ2QZSR.js → chunk-7HZIH6Q2.js} +1 -1
  109. package/dist/{chunk-DKILYPTG.js → chunk-7ZCIV3FC.js} +1 -1
  110. package/dist/{chunk-XBPYFIAW.js → chunk-A3C7WRXS.js} +3 -3
  111. package/dist/{chunk-756NUWHY.js → chunk-AJFSN642.js} +2 -2
  112. package/dist/{chunk-PJV5HVZY.js → chunk-AKLZJTOJ.js} +3 -1
  113. package/dist/{chunk-S2YWBTWN.js → chunk-AYVISS4N.js} +1 -1
  114. package/dist/{chunk-BCHJGR5I.js → chunk-BO44T7YG.js} +1 -1
  115. package/dist/{chunk-KZN36L7O.js → chunk-CQZVQXLD.js} +1 -1
  116. package/dist/{chunk-TW2TFHMJ.js → chunk-CZILK3UO.js} +1 -1
  117. package/dist/{chunk-5BP77RH5.js → chunk-D547BNT6.js} +1 -1
  118. package/dist/{chunk-B3UJKLVI.js → chunk-DG6H4EO2.js} +1 -1
  119. package/dist/{chunk-CMEHNIXO.js → chunk-DWDL5ZAJ.js} +3 -3
  120. package/dist/{chunk-WVKIDK5D.js → chunk-E7L4N2PY.js} +1 -1
  121. package/dist/{chunk-OQIBX5MB.js → chunk-EAOB4QGU.js} +1 -1
  122. package/dist/{chunk-KL3BX2KM.js → chunk-ERZ6RXM5.js} +2 -2
  123. package/dist/{chunk-SJIAS4TC.js → chunk-FIMLIPFC.js} +1 -1
  124. package/dist/{chunk-YIC6NIRG.js → chunk-FUQT447B.js} +5 -5
  125. package/dist/{chunk-HSX4RPVT.js → chunk-FXWRSFCQ.js} +1 -1
  126. package/dist/{chunk-3QEAANRP.js → chunk-GSJORFIF.js} +1 -1
  127. package/dist/{chunk-YAU3E55F.js → chunk-I76M3NYU.js} +1 -1
  128. package/dist/{chunk-EH2DDHHP.js → chunk-ITRT36AQ.js} +1 -1
  129. package/dist/{chunk-QX7GYJIV.js → chunk-IZ3RMACF.js} +3 -3
  130. package/dist/{chunk-IUPZN5UO.js → chunk-JBJPBJQC.js} +1 -1
  131. package/dist/{chunk-THCLP7TT.js → chunk-JNU5N67E.js} +1 -1
  132. package/dist/{chunk-FDWT7ZO7.js → chunk-JO3IBN3U.js} +2 -2
  133. package/dist/{chunk-6PZJWEFR.js → chunk-KAU5SCUQ.js} +2 -2
  134. package/dist/{chunk-PGLERBQT.js → chunk-KZ67NXBY.js} +1 -1
  135. package/dist/{chunk-7A7YM2ZM.js → chunk-KZS4BOXC.js} +1 -1
  136. package/dist/{chunk-QKWVRNWT.js → chunk-L4O3X33G.js} +3 -3
  137. package/dist/{chunk-W3BVLXE6.js → chunk-L5NEDJC2.js} +1 -1
  138. package/dist/{chunk-2WR3OLVS.js → chunk-LC3G35W4.js} +1 -1
  139. package/dist/{chunk-HCNGCKUU.js → chunk-LETBMYJG.js} +1 -1
  140. package/dist/{chunk-PTZN46NG.js → chunk-LM5JYFDV.js} +3 -3
  141. package/dist/{chunk-ROMQFKKG.js → chunk-LWU2F6RZ.js} +1 -1
  142. package/dist/{chunk-JP655AGP.js → chunk-MGNH3R7L.js} +3 -3
  143. package/dist/{chunk-CRO6UPX6.js → chunk-MYA4J3CW.js} +2 -2
  144. package/dist/{chunk-Y2WNFKMF.js → chunk-N46I6MJG.js} +1 -1
  145. package/dist/{chunk-X3O5TYYZ.js → chunk-N6DX2HMU.js} +2 -2
  146. package/dist/{chunk-5NSCYYAP.js → chunk-NDRLHXSQ.js} +2 -2
  147. package/dist/{chunk-FJTRZ2I2.js → chunk-NRDXN56K.js} +2 -2
  148. package/dist/{chunk-BOGUWUHY.js → chunk-OGLVYWQ7.js} +2 -2
  149. package/dist/{chunk-DIFP5YTW.js → chunk-OJD7XWB6.js} +1 -1
  150. package/dist/{chunk-DOS3WO7S.js → chunk-Q3VLXNY4.js} +3 -3
  151. package/dist/{chunk-D5O64CVE.js → chunk-RUROK3EU.js} +1 -1
  152. package/dist/{chunk-F655IS7B.js → chunk-S4FECSRN.js} +9 -3
  153. package/dist/{chunk-6IB65GMR.js → chunk-S7PWRGW3.js} +1 -1
  154. package/dist/{chunk-5D7RMXM2.js → chunk-SN2FN2XW.js} +1 -1
  155. package/dist/{chunk-VYYBR3X2.js → chunk-SQX5NRIC.js} +1 -1
  156. package/dist/{chunk-O3I3BWJX.js → chunk-TIOFWBL5.js} +1 -1
  157. package/dist/{chunk-ODN2TPIG.js → chunk-UJRRF6RY.js} +1 -1
  158. package/dist/{chunk-NMFWNTB4.js → chunk-ULH34BBV.js} +2 -2
  159. package/dist/{chunk-LJ7UHVRK.js → chunk-UTWH3INB.js} +1 -1
  160. package/dist/{chunk-65VLAPFB.js → chunk-V4FYSUBJ.js} +1 -1
  161. package/dist/{chunk-TDP3MSCC.js → chunk-VQ6BPJIE.js} +1 -1
  162. package/dist/{chunk-G4732SWH.js → chunk-W4EWRZU4.js} +1 -1
  163. package/dist/{chunk-ER5RE7OT.js → chunk-WPFK5F4Q.js} +2 -2
  164. package/dist/{chunk-L4UE6ZUZ.js → chunk-XGEA4WD6.js} +1 -1
  165. package/dist/{chunk-NEL3JDJA.js → chunk-XSGRDDIX.js} +2 -2
  166. package/dist/{chunk-LJUOY3MU.js → chunk-Y74VJ4MO.js} +3 -3
  167. package/dist/{chunk-YBIHFFGX.js → chunk-YDCH6B75.js} +3 -3
  168. package/dist/{chunk-ARIYL6YO.js → chunk-YNW3MRJB.js} +1 -1
  169. package/dist/{chunk-WS46ZVLJ.js → chunk-Z534PYDT.js} +2 -2
  170. package/dist/{chunk-NZA4YZBW.js → chunk-ZBA26C6D.js} +1 -1
  171. package/dist/generated/index.js +101 -101
  172. package/dist/index.js +101 -101
  173. package/dist/styles.css +110 -41
  174. package/dist/utils/fieldMirror.d.ts +1 -1
  175. package/dist/utils/index.js +1 -1
  176. package/package.json +3 -3
  177. package/dist/{chunk-ETXKGXGT.js → chunk-32DEM46L.js} +1 -1
  178. package/dist/{chunk-UCXB5K7S.js → chunk-GXX6B5XM.js} +1 -1
  179. package/dist/{chunk-HPB5ZHK7.js → chunk-HHV5WHTT.js} +1 -1
  180. package/dist/{chunk-U7PELDBC.js → chunk-HM3HM3OF.js} +1 -1
  181. package/dist/{chunk-L4BKQVXX.js → chunk-ITFAH735.js} +1 -1
  182. package/dist/{chunk-NIOE6ZAL.js → chunk-JMBPMSNI.js} +1 -1
  183. package/dist/{chunk-5XW77HAT.js → chunk-OYTJ4AWU.js} +1 -1
  184. package/dist/{chunk-U7KMZXW5.js → chunk-PPFTKZWF.js} +1 -1
  185. package/dist/{chunk-UMZIPJ54.js → chunk-XJEAJ6KD.js} +1 -1
  186. package/dist/{chunk-LXPA2SRT.js → chunk-XZ47PWVD.js} +1 -1
package/dist/styles.css CHANGED
@@ -14875,7 +14875,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
14875
14875
  }
14876
14876
 
14877
14877
 
14878
- /* Composer-ZCCW2U6T.css */
14878
+ /* Composer-YO275MFX.css */
14879
14879
  /*
14880
14880
  * A message written in place: the field and its footer strip in one box. The
14881
14881
  * BOX takes the focus ring every field in the package draws (see Input.css):
@@ -14930,23 +14930,24 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
14930
14930
  outline-color: var(--color-border-selected);
14931
14931
  }
14932
14932
 
14933
- .crewlet-composer .crewlet-composer__field {
14933
+ /* On the textarea's own class, so the auto-resize inset (Input.css) cannot
14934
+ outrank the box's in either stylesheet order. */
14935
+ .crewlet-composer .crewlet-composer__field.crewlet-textarea {
14936
+ /* The words' inset from the box's top and bottom, which the bar's track keeps too. */
14937
+ --crewlet-composer-field-block: var(--spacing-2);
14938
+
14934
14939
  flex: 1;
14935
14940
  min-width: 0;
14936
14941
  min-height: 68px;
14937
14942
  max-height: 220px;
14938
- padding: var(--spacing-2) var(--spacing-3);
14943
+ padding: var(--crewlet-composer-field-block) var(--spacing-3);
14939
14944
  border: 0;
14940
14945
  border-radius: 0;
14941
14946
  background: transparent;
14942
14947
  resize: none;
14943
- }
14944
-
14945
- /* The ring is the box's, above, so the field inside never draws one: left to
14946
- the textarea's own rule it would be a second ring inside the box's, and in
14947
- forced colours the box's outline is the one the system repaints. Stated on
14948
- the field at rest, at a weight the textarea's focus rule cannot outrank. */
14949
- .crewlet-composer .crewlet-composer__field.crewlet-textarea {
14948
+ /* The ring is the box's, above, so the field never draws one: left to the
14949
+ textarea's own rule it would be a second ring inside the box's, and in
14950
+ forced colours the box's outline is the one the system repaints. */
14950
14951
  outline: none;
14951
14952
  }
14952
14953
 
@@ -14956,13 +14957,14 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
14956
14957
  * line sits centred beside it), grows to six lines and then scrolls, and the
14957
14958
  * button stays on the last line.
14958
14959
  */
14959
- .crewlet-composer--inline .crewlet-composer__field {
14960
+ .crewlet-composer--inline .crewlet-composer__field.crewlet-textarea {
14960
14961
  --crewlet-composer-line: calc(var(--font-line-height-normal) * var(--font-size-compact));
14961
14962
  --crewlet-composer-row: calc(var(--size-control-md) + var(--spacing-2));
14963
+ --crewlet-composer-field-block: max(0px, calc((var(--crewlet-composer-row) - var(--crewlet-composer-line)) / 2));
14962
14964
 
14963
14965
  min-height: var(--crewlet-composer-row);
14964
14966
  max-height: 140px;
14965
- padding-block: max(0px, calc((var(--crewlet-composer-row) - var(--crewlet-composer-line)) / 2));
14967
+ padding-block: var(--crewlet-composer-field-block);
14966
14968
  }
14967
14969
 
14968
14970
  /*
@@ -15057,9 +15059,16 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15057
15059
  opacity: 1;
15058
15060
  }
15059
15061
 
15060
- /* Past its cap the field scrolls rather than pushing the page. */
15062
+ /* Past its cap the field scrolls rather than pushing the page. It keeps the
15063
+ bar's gutter, so the words never re-wrap as the bar comes, and the bar runs
15064
+ along the words rather than from the box's edge to the footer's rule. */
15061
15065
  .crewlet-composer .crewlet-composer__field.is-auto-resize {
15062
15066
  overflow-y: auto;
15067
+ scrollbar-gutter: stable;
15068
+ }
15069
+
15070
+ .crewlet-composer .crewlet-composer__field::-webkit-scrollbar-track {
15071
+ margin-block: var(--crewlet-composer-field-block);
15063
15072
  }
15064
15073
 
15065
15074
  /*
@@ -15152,10 +15161,11 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15152
15161
  the textarea's own class so its auto-resize inset cannot outrank it. */
15153
15162
  .crewlet-composer--chat .crewlet-composer__field.crewlet-textarea {
15154
15163
  --crewlet-composer-line: calc(var(--crewlet-chat-line) * var(--crewlet-chat-text));
15164
+ --crewlet-composer-field-block: var(--spacing-2);
15155
15165
 
15156
15166
  min-height: 0;
15157
- max-height: min(calc(var(--crewlet-composer-line) * 14 + 2 * var(--spacing-2)), 50dvh);
15158
- padding: var(--spacing-2) var(--spacing-3);
15167
+ max-height: min(calc(var(--crewlet-composer-line) * 14 + 2 * var(--crewlet-composer-field-block)), 50dvh);
15168
+ padding: var(--crewlet-composer-field-block) var(--spacing-3);
15159
15169
  font-size: var(--crewlet-chat-text);
15160
15170
  line-height: var(--crewlet-chat-line);
15161
15171
  }
@@ -15599,18 +15609,23 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15599
15609
  }
15600
15610
 
15601
15611
 
15602
- /* Count-2HXBBYPO.css */
15612
+ /* Count-Y6AVFRKT.css */
15603
15613
  /*
15604
15614
  * The count pill. One neutral look, deliberately: see the component doc for
15605
15615
  * why a count is never tinted.
15606
15616
  */
15607
15617
 
15608
15618
  .crewlet-count {
15619
+ /* ONE FIGURE IS A CIRCLE, as the tab's danger marker is: the pill is at
15620
+ least as wide as it is tall, its line and 1px a side, with the badge's
15621
+ side pads, so a longer figure grows it into a pill. */
15622
+ --crewlet-count-line: round(nearest, calc(var(--font-line-height-body) * 1em), 1px);
15623
+ box-sizing: border-box;
15609
15624
  display: inline-flex;
15610
15625
  align-items: center;
15611
15626
  justify-content: center;
15612
- min-width: 20px;
15613
- padding: 1px var(--spacing-2);
15627
+ min-width: calc(var(--crewlet-count-line) + 2px);
15628
+ padding: 1px var(--size-badge-pad);
15614
15629
  border-radius: var(--radius-pill);
15615
15630
  background: var(--color-surface-inset);
15616
15631
  color: var(--color-text-tertiary);
@@ -15623,7 +15638,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15623
15638
  pills, and Chromium floors the share of a fractional leading above the
15624
15639
  text, so the figures stood high in it. A whole 16px line splits evenly
15625
15640
  and the pill lands on 18px with its figures on its middle. */
15626
- line-height: round(nearest, calc(var(--font-line-height-body) * 1em), 1px);
15641
+ line-height: var(--crewlet-count-line);
15627
15642
  }
15628
15643
 
15629
15644
  /*
@@ -15886,7 +15901,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
15886
15901
  }
15887
15902
 
15888
15903
 
15889
- /* DataGrid-HWN76M5F.css */
15904
+ /* DataGrid-K2L4ZOUH.css */
15890
15905
  /*
15891
15906
  * DataGrid: a list as columns, one track list on the grid.
15892
15907
  *
@@ -16194,7 +16209,6 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
16194
16209
  min-height: var(--size-row-md);
16195
16210
  border-bottom: 1px solid var(--color-border-default);
16196
16211
  color: inherit;
16197
- cursor: pointer;
16198
16212
  /* The containing block for the row's link. */
16199
16213
  position: relative;
16200
16214
  /* A row keeps whatever it holds to itself: a cell's control raised with a
@@ -16203,10 +16217,12 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
16203
16217
  transition: background var(--motion-duration-fast) var(--motion-easing-default);
16204
16218
  }
16205
16219
 
16206
- /* THE ROW'S OWN LINK, STRETCHED OVER IT, out of flow so it takes no track. */
16220
+ /* THE ROW'S OWN LINK, STRETCHED OVER IT, out of flow so it takes no track.
16221
+ Only a row with one takes the pointer: a row that only reads keeps the arrow. */
16207
16222
  .crewlet-data-grid__row-link {
16208
16223
  position: absolute;
16209
16224
  inset: 0;
16225
+ cursor: pointer;
16210
16226
  }
16211
16227
 
16212
16228
  /* A button overlay (a row that acts and has no address) gives up the chrome a
@@ -25325,7 +25341,7 @@ a.crewlet-icon-btn {
25325
25341
  }
25326
25342
 
25327
25343
 
25328
- /* InboxList-FLKL5DII.css */
25344
+ /* InboxList-TVXAGDKX.css */
25329
25345
  /*
25330
25346
  * The inbox's column: groups of rows, each row a control with the task it is
25331
25347
  * about under it, and the quiet toggles at the end.
@@ -25738,6 +25754,11 @@ a.crewlet-icon-btn {
25738
25754
  color: var(--color-text-tertiary);
25739
25755
  }
25740
25756
 
25757
+ /* No words, no track: its gap would pad the row under the name alone. */
25758
+ .crewlet-inbox-row--name-only .crewlet-inbox-row__text {
25759
+ display: none;
25760
+ }
25761
+
25741
25762
  /* Unread: a heavier name, and the words in the primary ink. */
25742
25763
  .crewlet-inbox-row__control--unread .crewlet-inbox-row__title {
25743
25764
  font-weight: var(--font-weight-semibold);
@@ -25863,9 +25884,9 @@ a.crewlet-icon-btn {
25863
25884
 
25864
25885
  /*
25865
25886
  * THE QUICK ACTIONS STAND BESIDE THE TIME, never over it or any words, and
25866
- * never reflow. The tray stands in the row's top end corner while the row is
25867
- * hovered or holds focus, and the time (with any status) moves aside to stand
25868
- * before it. The room it moves into is kept at the end of the name's line all
25887
+ * never reflow. The tray stands at the row's end, centred on the name's first
25888
+ * line, while the row is hovered or holds focus, and the time (with any
25889
+ * status) moves aside to stand before it. The room it moves into is kept at the end of the name's line all
25869
25890
  * the time, in the float's place (`--crewlet-inbox-row-room`: the tray's width,
25870
25891
  * which the row measures into `--crewlet-inbox-row-tray`, from where the
25871
25892
  * tray stands to where the words end, and a gap), so the name never wraps
@@ -25889,11 +25910,17 @@ a.crewlet-icon-btn {
25889
25910
  );
25890
25911
  /* The control's top pad (`.crewlet-inbox-row__control`, kept with it). */
25891
25912
  --crewlet-inbox-row-pad: calc(var(--spacing-2) + var(--spacing-1) / 2);
25892
- --crewlet-inbox-row-tray-top: calc(-1 * var(--size-focus-ring-inset-offset));
25893
25913
  /* Before the row has measured its tray, the kit's message tray's height. */
25914
+ --crewlet-inbox-row-tray-height: var(--crewlet-inbox-row-tray-block, var(--crewlet-chat-toolbar, 0px));
25915
+ --crewlet-inbox-row-clear: calc(-1 * var(--size-focus-ring-inset-offset));
25916
+ /* Centred on the name's first line, unless that would put it over the ring. */
25917
+ --crewlet-inbox-row-tray-top: max(
25918
+ var(--crewlet-inbox-row-clear),
25919
+ var(--crewlet-inbox-row-pad) + (1lh - var(--crewlet-inbox-row-tray-height)) / 2
25920
+ );
25894
25921
  --crewlet-inbox-row-reach: max(
25895
25922
  0px,
25896
- var(--crewlet-inbox-row-tray-top) + var(--crewlet-inbox-row-tray-block, var(--crewlet-chat-toolbar, 0px)) - var(--crewlet-inbox-row-pad)
25923
+ var(--crewlet-inbox-row-tray-top) + var(--crewlet-inbox-row-tray-height) - var(--crewlet-inbox-row-pad)
25897
25924
  );
25898
25925
 
25899
25926
  position: relative;
@@ -25926,6 +25953,23 @@ a.crewlet-icon-btn {
25926
25953
  align-self: start;
25927
25954
  }
25928
25955
 
25956
+ /* A row that is only its name keeps no room under it: its track holds the
25957
+ tray clear of the ring at both edges, with the name centred in it where
25958
+ its head is one line (chat); a two-line head keeps its float's room. */
25959
+ .crewlet-inbox-row--actions.crewlet-inbox-row--name-only .crewlet-inbox-row__main {
25960
+ grid-template-rows: minmax(
25961
+ max(
25962
+ 0px,
25963
+ var(--crewlet-inbox-row-tray-top) + var(--crewlet-inbox-row-tray-height) + var(--crewlet-inbox-row-clear) - 2 * var(--crewlet-inbox-row-pad)
25964
+ ),
25965
+ auto
25966
+ );
25967
+ }
25968
+
25969
+ .crewlet-inbox-row--actions.crewlet-inbox-row--name-only .crewlet-inbox-row__head {
25970
+ align-self: center;
25971
+ }
25972
+
25929
25973
  .crewlet-inbox-row--actions .crewlet-inbox-row__head-end--place {
25930
25974
  min-height: min(var(--crewlet-inbox-row-reach), var(--crewlet-inbox-row-head-lines) * 1lh);
25931
25975
  padding-inline-end: var(--crewlet-inbox-row-room);
@@ -25961,17 +26005,45 @@ a.crewlet-icon-btn {
25961
26005
  line-height: var(--crewlet-chat-line);
25962
26006
  }
25963
26007
 
25964
- /* A group's label is a day: the words' own case, a step down, on the page's
25965
- ground, set on the row's inset so it starts over the faces. */
26008
+ /* A group's label is a rule, not a row: the day in its own case on the faces'
26009
+ edge and a hairline running on, as a transcript's dividers (ChatDivider.css),
26010
+ with more air above it than under it. */
25966
26011
  .crewlet-inbox-list--chat .crewlet-inbox-list__label {
25967
- padding: var(--spacing-4) var(--crewlet-chat-pad-x) var(--spacing-2);
26012
+ display: flex;
26013
+ align-items: center;
26014
+ padding: var(--spacing-3) var(--crewlet-chat-pad-x) var(--spacing-1);
25968
26015
  font-size: var(--crewlet-chat-meta);
25969
26016
  line-height: var(--font-line-height-snug);
25970
26017
  }
25971
26018
 
26019
+ .crewlet-inbox-list--chat .crewlet-inbox-list__label:not(:has(> .crewlet-inbox-list__disclosure))::after,
26020
+ .crewlet-inbox-list--chat .crewlet-inbox-list__disclosure::after {
26021
+ content: '';
26022
+ flex: 1;
26023
+ height: 1px;
26024
+ margin-inline-start: var(--spacing-3);
26025
+ background: var(--color-edge-hairline);
26026
+ }
26027
+
25972
26028
  .crewlet-inbox-list__day {
25973
- font-weight: var(--font-weight-semibold);
25974
- color: var(--color-text-secondary);
26029
+ font-weight: var(--font-weight-medium);
26030
+ color: var(--color-text-tertiary);
26031
+ }
26032
+
26033
+ /* The rule that opens a group closes the one before it, so no second line;
26034
+ a row leaving keeps its own until it has gone. */
26035
+ .crewlet-inbox-list--chat
26036
+ .crewlet-inbox-list__group:has(+ .crewlet-inbox-list__group > .crewlet-inbox-list__label)
26037
+ .crewlet-inbox-row:nth-last-child(1 of :not(.crewlet-inbox-row--leaving)) {
26038
+ border-bottom: 0;
26039
+ }
26040
+
26041
+ /* Forced colours repaint a background to Canvas: the rule is a border there. */
26042
+ @media (forced-colors: active) {
26043
+ .crewlet-inbox-list--chat .crewlet-inbox-list__label:not(:has(> .crewlet-inbox-list__disclosure))::after,
26044
+ .crewlet-inbox-list--chat .crewlet-inbox-list__disclosure::after {
26045
+ border-top: 1px solid CanvasText;
26046
+ }
25975
26047
  }
25976
26048
 
25977
26049
  .crewlet-inbox-list--chat .crewlet-inbox-row,
@@ -39262,7 +39334,7 @@ svg.crewlet-select__chevron {
39262
39334
  }
39263
39335
 
39264
39336
 
39265
- /* SettingsTable-KAMWVCQB.css */
39337
+ /* SettingsTable-IMFNMIJI.css */
39266
39338
  /*
39267
39339
  * SettingsTable: DataGrid's head, rows, cells, hairlines and hover (its
39268
39340
  * classes), on tracks of its own. Only what is a setting's lives here.
@@ -39286,11 +39358,6 @@ svg.crewlet-select__chevron {
39286
39358
  calc(var(--crewlet-settings-table-actions) + var(--spacing-3) + var(--crewlet-data-grid-edge));
39287
39359
  }
39288
39360
 
39289
- /* A setting's row is read, not opened: no pointer that promises a page. */
39290
- .crewlet-settings-table .crewlet-settings-table__row {
39291
- cursor: auto;
39292
- }
39293
-
39294
39361
  .crewlet-settings-table__head--hidden {
39295
39362
  position: absolute;
39296
39363
  width: 1px;
@@ -46446,7 +46513,7 @@ b.crewlet-switcher__match {
46446
46513
  }
46447
46514
 
46448
46515
 
46449
- /* Tabs-CLNPYFMW.css */
46516
+ /* Tabs-4LONUJFE.css */
46450
46517
  /*
46451
46518
  * The pill register: Tabs and SegmentedControl.
46452
46519
  *
@@ -46653,9 +46720,11 @@ b.crewlet-switcher__match {
46653
46720
  * Underline tabs sit flush on the baseline and the slider is the indicator,
46654
46721
  * so the label carries no chrome of its own: its only side pad is the room
46655
46722
  * the focus ring is drawn in, and the labels stand one scale step apart.
46723
+ * Its icon, count and marker stand 6px from the label, close enough to read
46724
+ * as the label's own and well inside the step to the next tab.
46656
46725
  */
46657
46726
  .crewlet-tabs--underline .crewlet-tabs__tab {
46658
- gap: var(--spacing-2);
46727
+ gap: calc(var(--spacing-1) * 1.5);
46659
46728
  padding: var(--spacing-2) var(--spacing-1);
46660
46729
  font-size: var(--font-size-compact);
46661
46730
  position: relative;
@@ -4,7 +4,7 @@
4
4
  * Textarea's auto-resize and the mention list's caret anchor.
5
5
  */
6
6
  /** The text styles a mirror copies so it wraps exactly as the field does. */
7
- export declare const MIRRORED_TEXT_STYLES: readonly ["boxSizing", "width", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "borderStyle", "direction", "fontFamily", "fontSize", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "letterSpacing", "lineHeight", "tabSize", "textIndent", "textTransform", "whiteSpace", "wordBreak", "wordSpacing", "overflowWrap"];
7
+ export declare const MIRRORED_TEXT_STYLES: readonly ["boxSizing", "width", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "borderStyle", "direction", "fontFamily", "fontSize", "fontStretch", "fontStyle", "fontVariant", "fontWeight", "letterSpacing", "lineHeight", "tabSize", "textIndent", "textTransform", "whiteSpace", "wordBreak", "wordSpacing", "overflowWrap", "scrollbarGutter"];
8
8
  /** Copies a field's wrapping styles onto its mirror. */
9
9
  export declare function copyTextStyles(from: CSSStyleDeclaration, to: HTMLElement): void;
10
10
  /** Where a character of a text field starts: px from a box's left and top edges, and the line's height. */
@@ -4,8 +4,8 @@ export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
4
4
  export { useOutcome } from '../chunk-DTIW4CHZ.js';
5
5
  export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
6
6
  export { SECRET_INPUT_PROPS } from '../chunk-NICEDVZM.js';
7
- export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
8
7
  export { attachRef, composeRefs, useComposedRef } from '../chunk-L72URIHR.js';
9
8
  export { tokenMs } from '../chunk-HTS5RJ7S.js';
10
9
  export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, returnFocus, trackFocusModality, useFocusModality } from '../chunk-4ITETIGZ.js';
10
+ export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
11
11
  export { cx } from '../chunk-ODEQTPFM.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.172.0",
3
+ "version": "0.172.2",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -43,8 +43,8 @@
43
43
  "clean": "rm -rf dist src/generated"
44
44
  },
45
45
  "dependencies": {
46
- "@crewlethq/icons": "0.172.0",
47
- "@crewlethq/tokens": "0.172.0",
46
+ "@crewlethq/icons": "0.172.2",
47
+ "@crewlethq/tokens": "0.172.2",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",
@@ -1,8 +1,8 @@
1
1
  import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
2
2
  import { Avatar } from './chunk-YMFFGPFE.js';
3
- import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
4
3
  import { Button } from './chunk-34K3XN47.js';
5
4
  import { IconButton } from './chunk-XHTQ4X4P.js';
5
+ import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './PeopleRail-MRUSDGCZ.css';
8
8
  import { useId } from 'react';
@@ -7,8 +7,8 @@ import { presenceLabels } from './chunk-Z7JYG5TF.js';
7
7
  import { Tag } from './chunk-HOIZJFYS.js';
8
8
  import { Popover } from './chunk-AJFA2XDQ.js';
9
9
  import { StatusDot } from './chunk-QRE6JCHS.js';
10
- import { Avatar } from './chunk-YMFFGPFE.js';
11
10
  import { Menu } from './chunk-EUET4PNC.js';
11
+ import { Avatar } from './chunk-YMFFGPFE.js';
12
12
  import { Button } from './chunk-34K3XN47.js';
13
13
  import { IconButton } from './chunk-XHTQ4X4P.js';
14
14
  import { Tooltip } from './chunk-KIPOJKHG.js';
@@ -1,9 +1,9 @@
1
- import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
2
1
  import { Button } from './chunk-34K3XN47.js';
3
2
  import { IconButton } from './chunk-XHTQ4X4P.js';
4
3
  import { useComposedRef } from './chunk-L72URIHR.js';
5
4
  import { useLayerContainer } from './chunk-AVJKMQXK.js';
6
5
  import { focusables, useModalLayer, useBodyScrollLock } from './chunk-EDPMHSLZ.js';
6
+ import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './Modal-TVHT3TEL.css';
9
9
  import { useState, useLayoutEffect, useId, useRef, useCallback } from 'react';
@@ -1,9 +1,9 @@
1
1
  import { useListbox } from './chunk-KW7T23RT.js';
2
2
  import { Tag } from './chunk-HOIZJFYS.js';
3
- import { announce } from './chunk-WGMKERCR.js';
4
3
  import { IconButton } from './chunk-XHTQ4X4P.js';
5
4
  import { isComposing } from './chunk-EDPMHSLZ.js';
6
5
  import { useFocusModality } from './chunk-4ITETIGZ.js';
6
+ import { announce } from './chunk-WGMKERCR.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './TagsInput-MWVVKTT2.css';
9
9
  import { forwardRef, useState, useRef, useId, useImperativeHandle, useEffect, useMemo, useLayoutEffect } from 'react';
@@ -1,7 +1,7 @@
1
1
  import { Tag } from './chunk-HOIZJFYS.js';
2
- import { announce } from './chunk-WGMKERCR.js';
3
2
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
3
  import { useFocusModality } from './chunk-4ITETIGZ.js';
4
+ import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './Tag-H2EA4ZCW.css';
7
7
  import './ChipField-D4CW6XFA.css';
@@ -1,5 +1,5 @@
1
- import { announce } from './chunk-WGMKERCR.js';
2
1
  import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
2
+ import { announce } from './chunk-WGMKERCR.js';
3
3
  import { useId, useState, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
4
4
 
5
5
  var DEFAULT_REORDER_LABELS = {
@@ -1,5 +1,5 @@
1
- import { announce } from './chunk-WGMKERCR.js';
2
1
  import { IconButton } from './chunk-XHTQ4X4P.js';
2
+ import { announce } from './chunk-WGMKERCR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-7B6PUS37.css';
5
5
  import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
@@ -1,8 +1,8 @@
1
- import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
2
1
  import { useAppShellAside } from './chunk-MBEZOURR.js';
3
2
  import { ResizeHandle } from './chunk-FQ6J4DK7.js';
4
3
  import { IconButton } from './chunk-XHTQ4X4P.js';
5
4
  import { useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
5
+ import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import { createContext, useId, useRef, useContext, useLayoutEffect, useState, useEffect, useMemo } from 'react';
8
8
  import { MinimizeGlyph, MaximizeGlyph, XGlyph } from '@crewlethq/icons/glyphs';
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
- import { announce } from './chunk-WGMKERCR.js';
3
2
  import { Button } from './chunk-34K3XN47.js';
4
3
  import { returnFocus } from './chunk-4ITETIGZ.js';
4
+ import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './SelectionBar-54W5IFF5.css';
7
7
  import { useRef, useEffect } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { Eyebrow } from './chunk-RK4XPHVG.js';
2
- import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
3
2
  import { returnFocus } from './chunk-4ITETIGZ.js';
3
+ import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ReadingPane-2VJ4JQ3J.css';
6
6
  import { createContext, useId, useRef, useState, useEffect, useLayoutEffect, createElement, useContext } from 'react';