@crewlethq/ui 0.160.1 → 0.162.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 (153) hide show
  1. package/README.md +14 -0
  2. package/dist/AgentHandoffPanel/index.js +9 -9
  3. package/dist/AppShell/index.js +5 -5
  4. package/dist/ArrangeList/index.js +2 -2
  5. package/dist/ArtifactBar/index.js +1 -1
  6. package/dist/ArtifactCard/index.js +2 -2
  7. package/dist/AttachmentChip/index.js +2 -2
  8. package/dist/AttentionList/AttentionList.d.ts +10 -0
  9. package/dist/AttentionList/index.js +1 -1
  10. package/dist/{AttentionList-F5Q4DS5K.css → AttentionList-NKGCEGCV.css} +11 -0
  11. package/dist/AuthLayout/index.js +1 -1
  12. package/dist/BriefCard/index.js +4 -4
  13. package/dist/ChangeList/index.js +2 -2
  14. package/dist/ChatThread/index.js +3 -3
  15. package/dist/ChipField/index.js +2 -2
  16. package/dist/Combobox/index.js +2 -2
  17. package/dist/CommandPalette/index.js +5 -5
  18. package/dist/CommentThread/index.js +9 -9
  19. package/dist/Composer/index.js +5 -5
  20. package/dist/ContrastBadge/index.js +2 -2
  21. package/dist/ContrastHelp/index.js +3 -3
  22. package/dist/DataGrid/index.js +6 -6
  23. package/dist/DataTable/index.js +4 -4
  24. package/dist/DataView/index.js +6 -6
  25. package/dist/DatasetSource/index.js +3 -3
  26. package/dist/DeepWorkCard/index.js +5 -5
  27. package/dist/DocTabsEditor/index.js +6 -6
  28. package/dist/DockColumn/index.js +1 -1
  29. package/dist/DurationField/index.js +5 -5
  30. package/dist/EditingStatus/index.js +2 -2
  31. package/dist/EntityList/index.js +4 -4
  32. package/dist/InboxList/InboxList.d.ts +23 -7
  33. package/dist/InboxList/index.js +1 -1
  34. package/dist/{InboxList-XOUPZUCK.css → InboxList-NQABW65H.css} +95 -9
  35. package/dist/InlineEditor/index.js +3 -3
  36. package/dist/KeyValueRows/index.js +3 -3
  37. package/dist/LinkCard/LinkCard.d.ts +13 -5
  38. package/dist/LinkCard/index.js +1 -1
  39. package/dist/{LinkCard-5I4MYU6I.css → LinkCard-W4SVOHLD.css} +35 -8
  40. package/dist/ListInput/index.js +6 -6
  41. package/dist/LogoSlot/index.js +3 -3
  42. package/dist/NumberField/index.js +3 -3
  43. package/dist/OpenInAppCard/index.js +4 -4
  44. package/dist/OrgTable/index.js +8 -8
  45. package/dist/PeekRail/index.js +3 -3
  46. package/dist/PricingCard/index.js +2 -2
  47. package/dist/PrincipalPicker/index.js +3 -3
  48. package/dist/ProposalCard/ProposalCard.d.ts +26 -5
  49. package/dist/ProposalCard/index.js +7 -7
  50. package/dist/RailList/index.js +5 -5
  51. package/dist/RefusalCard/index.js +4 -4
  52. package/dist/ResultTableCard/index.js +4 -4
  53. package/dist/ReviewList/index.js +2 -2
  54. package/dist/RichEditor/index.js +1 -1
  55. package/dist/RunChip/index.js +2 -2
  56. package/dist/SectionFrame/index.js +3 -3
  57. package/dist/Select/index.js +2 -2
  58. package/dist/SendKeys/index.js +2 -2
  59. package/dist/SettingForm/index.js +3 -3
  60. package/dist/SettingsTable/index.js +1 -1
  61. package/dist/SetupWizard/index.js +3 -3
  62. package/dist/ShareDialog/index.js +5 -5
  63. package/dist/SheetColumnEditor/index.js +7 -7
  64. package/dist/SheetGrid/index.js +2 -2
  65. package/dist/SidebarNav/index.js +2 -2
  66. package/dist/SlideFilmstrip/index.js +4 -4
  67. package/dist/StatusCard/index.js +3 -3
  68. package/dist/{StepList-OAJ45IBX.css → StepList-MQVJ3DZF.css} +14 -0
  69. package/dist/Stepper/StepList.d.ts +20 -5
  70. package/dist/Stepper/index.js +1 -1
  71. package/dist/Switcher/index.js +5 -5
  72. package/dist/TableCells/index.js +3 -3
  73. package/dist/Tag/index.js +1 -1
  74. package/dist/{Tag-SNAX7OQH.css → Tag-H2EA4ZCW.css} +12 -1
  75. package/dist/TagsInput/index.js +2 -2
  76. package/dist/ThemeGallery/index.js +2 -2
  77. package/dist/ThreadSummary/index.js +2 -2
  78. package/dist/TimeRangePicker/index.js +4 -4
  79. package/dist/TimeWindowPicker/index.js +5 -5
  80. package/dist/ToolCallLog/index.js +4 -4
  81. package/dist/TreeCanvas/index.js +2 -2
  82. package/dist/TreeGrid/index.js +7 -7
  83. package/dist/ValueField/index.js +4 -4
  84. package/dist/{chunk-3ZW42I4H.js → chunk-2JDLC5A4.js} +1 -1
  85. package/dist/{chunk-GBNQJGV4.js → chunk-2LVAA4JM.js} +1 -1
  86. package/dist/{chunk-EHD4CEHK.js → chunk-2MN3RNRM.js} +2 -1
  87. package/dist/{chunk-QNWWXSDW.js → chunk-3FPDM4V7.js} +3 -2
  88. package/dist/{chunk-UVVPYLZX.js → chunk-3GIGAGEG.js} +1 -1
  89. package/dist/{chunk-2EG6YZJC.js → chunk-3ZBYTHLJ.js} +1 -1
  90. package/dist/{chunk-EKRW7F45.js → chunk-4BBS3XU2.js} +1 -1
  91. package/dist/{chunk-P5DKWJMS.js → chunk-4CWYA2JT.js} +1 -1
  92. package/dist/{chunk-Q3PUOZEA.js → chunk-5F7OTYQ2.js} +2 -2
  93. package/dist/{chunk-ULZPOVTO.js → chunk-7DAKU2OY.js} +1 -1
  94. package/dist/{chunk-COKMMM7K.js → chunk-7M3Q7KLW.js} +1 -1
  95. package/dist/{chunk-TI5YZW4L.js → chunk-7VVI257P.js} +1 -1
  96. package/dist/{chunk-MA7EOX4J.js → chunk-ALJGUP4X.js} +1 -1
  97. package/dist/{chunk-HK7R34BA.js → chunk-AR6M6MVH.js} +1 -1
  98. package/dist/{chunk-GY3XZ5FW.js → chunk-DSKPTCYM.js} +1 -1
  99. package/dist/{chunk-L6SYLG3F.js → chunk-EH2DDHHP.js} +1 -1
  100. package/dist/{chunk-YJVEU5OQ.js → chunk-EVL624AD.js} +3 -3
  101. package/dist/{chunk-2DZV4PHK.js → chunk-EZIMNB6H.js} +1 -1
  102. package/dist/{chunk-VIGFEWSQ.js → chunk-GI4THYUT.js} +2 -2
  103. package/dist/{chunk-M4CXGMYO.js → chunk-GXX6B5XM.js} +1 -1
  104. package/dist/{chunk-DZIID2CS.js → chunk-HM3HM3OF.js} +1 -1
  105. package/dist/{chunk-5O4KQYCS.js → chunk-HOIZJFYS.js} +1 -1
  106. package/dist/{chunk-VKGXIXC5.js → chunk-HPJI7OTO.js} +1 -1
  107. package/dist/{chunk-23GCBRU3.js → chunk-IC3FA25O.js} +1 -1
  108. package/dist/{chunk-35Q3WVLB.js → chunk-ITFAH735.js} +2 -2
  109. package/dist/{chunk-OZNL3WOR.js → chunk-IYRRJTIQ.js} +1 -1
  110. package/dist/{chunk-FSVTNCAU.js → chunk-JSYAITYQ.js} +1 -1
  111. package/dist/{chunk-HOCXIVKC.js → chunk-KP7DRFIR.js} +1 -1
  112. package/dist/{chunk-TFRTT2L5.js → chunk-MCYS3HLW.js} +1 -1
  113. package/dist/{chunk-LXA6DJ6E.js → chunk-MJ6UBW5G.js} +2 -2
  114. package/dist/{chunk-ZUXJG3JN.js → chunk-MKKUM4AR.js} +1 -1
  115. package/dist/{chunk-7DYHWFU2.js → chunk-PJMDWQC2.js} +1 -1
  116. package/dist/{chunk-UMEK5DHS.js → chunk-PUPOP3XN.js} +129 -18
  117. package/dist/{chunk-BZ76OASK.js → chunk-QOUFVAAJ.js} +2 -2
  118. package/dist/{chunk-BFJPUEZP.js → chunk-QSTZXYTO.js} +3 -3
  119. package/dist/{chunk-PVMDBNZ5.js → chunk-RSZE4FED.js} +41 -32
  120. package/dist/{chunk-DXC4K33F.js → chunk-SEKFCNNL.js} +2 -2
  121. package/dist/{chunk-SPJUVFOI.js → chunk-TLMAPIWU.js} +1 -1
  122. package/dist/{chunk-NIIID2TS.js → chunk-VT3HYYFS.js} +1 -1
  123. package/dist/{chunk-FQQEC3AB.js → chunk-W3PSFOH2.js} +1 -1
  124. package/dist/{chunk-3O4F5HPW.js → chunk-WPBBH3KA.js} +1 -1
  125. package/dist/{chunk-R43WH27Z.js → chunk-XDFFMIHY.js} +1 -1
  126. package/dist/{chunk-CLOWVDGV.js → chunk-YL3G6LPS.js} +1 -1
  127. package/dist/{chunk-WPFK5F4Q.js → chunk-YVDPF5TX.js} +2 -2
  128. package/dist/{chunk-YSGFG6OG.js → chunk-Z226JFUB.js} +1 -1
  129. package/dist/{chunk-JBUJMWWE.js → chunk-ZJWL4DPU.js} +25 -9
  130. package/dist/generated/index.js +111 -111
  131. package/dist/index.js +111 -111
  132. package/dist/styles.css +172 -23
  133. package/package.json +3 -3
  134. package/dist/{Editor-RDC4N2UZ.js → Editor-TLS43TWQ.js} +3 -3
  135. package/dist/{chunk-4MMH7LHV.js → chunk-2WJG2XR6.js} +1 -1
  136. package/dist/{chunk-NRUKK6G5.js → chunk-46SMLXUH.js} +1 -1
  137. package/dist/{chunk-R2R7IKQ6.js → chunk-5VBMMKTU.js} +1 -1
  138. package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
  139. package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
  140. package/dist/{chunk-RZW54HBO.js → chunk-DAEBRKXK.js} +1 -1
  141. package/dist/{chunk-TIOFWBL5.js → chunk-ERMI5DYK.js} +1 -1
  142. package/dist/{chunk-GVRBOOOA.js → chunk-G3MTRPCU.js} +2 -2
  143. package/dist/{chunk-QFGUP7RL.js → chunk-GSPTEY5A.js} +1 -1
  144. package/dist/{chunk-TGAK4TEX.js → chunk-OD7GIET6.js} +1 -1
  145. package/dist/{chunk-IGOKQN7W.js → chunk-OM2MKGDO.js} +1 -1
  146. package/dist/{chunk-MXXTQIHB.js → chunk-QR55TUD5.js} +2 -2
  147. package/dist/{chunk-ZJGGXYFS.js → chunk-SH4J3IWI.js} +1 -1
  148. package/dist/{chunk-BJXMDDIA.js → chunk-U43EBQKB.js} +1 -1
  149. package/dist/{chunk-IF6JQS5Z.js → chunk-UZHVEQDO.js} +1 -1
  150. package/dist/{chunk-B4Y3LD2I.js → chunk-WCGSZCL5.js} +1 -1
  151. package/dist/{chunk-RMPHADLT.js → chunk-X3PRNJD2.js} +1 -1
  152. package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
  153. package/dist/{chunk-2G6TDWIL.js → chunk-ZOSUKKD7.js} +1 -1
package/dist/styles.css CHANGED
@@ -4800,7 +4800,7 @@ a.crewlet-make-row__item:active {
4800
4800
  }
4801
4801
 
4802
4802
 
4803
- /* AttentionList-F5Q4DS5K.css */
4803
+ /* AttentionList-NKGCEGCV.css */
4804
4804
  /*
4805
4805
  * What needs a person: a card like the page's other panels (Card supplies the
4806
4806
  * surface, the hairline, the corner and the header), rows a line or two high,
@@ -4991,6 +4991,17 @@ a.crewlet-make-row__item:active {
4991
4991
  overflow-wrap: anywhere;
4992
4992
  }
4993
4993
 
4994
+ /* WHAT THE ROW'S ACTION OPENED IN PLACE starts on the title's line, as the
4995
+ body does, on the quiet ground, so the preview and its Confirm read as the
4996
+ row's own and apart from the row under it. */
4997
+ .crewlet-attention-list__panel {
4998
+ grid-column: text / end;
4999
+ margin: 0 var(--spacing-4) var(--spacing-3) 0;
5000
+ padding: var(--spacing-3);
5001
+ border-radius: var(--radius-md);
5002
+ background: var(--color-surface-subtle);
5003
+ }
5004
+
4994
5005
  /* The fold's control on a row of its own, its words on the card's text edge,
4995
5006
  where every glyph stands. */
4996
5007
  .crewlet-attention-list__foot {
@@ -25194,7 +25205,7 @@ a.crewlet-icon-btn {
25194
25205
  }
25195
25206
 
25196
25207
 
25197
- /* InboxList-XOUPZUCK.css */
25208
+ /* InboxList-NQABW65H.css */
25198
25209
  /*
25199
25210
  * The inbox's column: groups of rows, each row a control with the task it is
25200
25211
  * about under it, and the quiet toggles at the end.
@@ -25365,6 +25376,11 @@ a.crewlet-icon-btn {
25365
25376
  overflow: hidden;
25366
25377
  }
25367
25378
 
25379
+ /* What the row draws over itself (its mark, its tray) closes with it. */
25380
+ .crewlet-inbox-row--leaving {
25381
+ overflow: hidden;
25382
+ }
25383
+
25368
25384
  .crewlet-inbox-row:hover {
25369
25385
  background: var(--color-surface-hover);
25370
25386
  }
@@ -25374,6 +25390,21 @@ a.crewlet-icon-btn {
25374
25390
  background: var(--color-surface-pressed);
25375
25391
  }
25376
25392
 
25393
+ /*
25394
+ * A TAG ON A WASHED ROW KEEPS ITS CONTRAST. The hover and the selected fill
25395
+ * are translucent overlays, and a tinted tag (a status, "Answering") laid its
25396
+ * own translucent tint over them: a composite the palette never measured,
25397
+ * which fell under 4.5:1 for every tone in several themes (the info tag on a
25398
+ * selected row measured 4.43:1 in light). The row hands its tags the sheet as
25399
+ * their ground (Tag.css), so each pill paints its tint over an opaque rung,
25400
+ * the pair the palette holds at 4.5:1 in every theme, while the row's wash
25401
+ * shows around it.
25402
+ */
25403
+ .crewlet-inbox-row:hover,
25404
+ .crewlet-inbox-row--selected {
25405
+ --crewlet-tag-ground: var(--color-surface-background);
25406
+ }
25407
+
25377
25408
  /*
25378
25409
  * FORCED COLORS repaints every author background to Canvas, which takes the
25379
25410
  * open row's fill with it, so the row the pane is showing would look like
@@ -25434,8 +25465,6 @@ a.crewlet-icon-btn {
25434
25465
  * mark hangs from the same top, beside the name's line and the one under it.
25435
25466
  */
25436
25467
  .crewlet-inbox-row__control--leading {
25437
- --crewlet-inbox-row-lift: max(0px, (var(--size-target-min) - 1lh) / 2);
25438
-
25439
25468
  padding-top: calc(var(--spacing-2) + var(--spacing-1) / 2 - var(--crewlet-inbox-row-lift));
25440
25469
  }
25441
25470
 
@@ -25452,6 +25481,36 @@ a.crewlet-icon-btn {
25452
25481
  min-height: max(var(--size-target-min), 1lh);
25453
25482
  }
25454
25483
 
25484
+ /*
25485
+ * THE MARK IS DRAWN BESIDE THE CONTROL, NOT IN IT. Inside, a face's initials
25486
+ * were the control's first visible words while its name began with the
25487
+ * title, so the words a person saw and the name they had to say differed
25488
+ * (WCAG 2.5.3). The slot inside keeps a copy nobody sees, so the words lay
25489
+ * out exactly as they did, and the mark itself is laid over that slot from
25490
+ * the row: at the control's own top and start pads (the row's body starts
25491
+ * where the control does), taking no press, so a press on the face is a
25492
+ * press on the row.
25493
+ */
25494
+ .crewlet-inbox-row--leading {
25495
+ /* How far the words move down to centre the name's line on a target-sized
25496
+ mark, which the control's top pad gives back (above); declared on the row
25497
+ so the mark drawn over the slot reads the same lift. */
25498
+ --crewlet-inbox-row-lift: max(0px, (var(--size-target-min) - 1lh) / 2);
25499
+
25500
+ position: relative;
25501
+ }
25502
+
25503
+ .crewlet-inbox-row__leading--place {
25504
+ visibility: hidden;
25505
+ }
25506
+
25507
+ .crewlet-inbox-row__leading--drawn {
25508
+ position: absolute;
25509
+ inset-block-start: calc(var(--spacing-2) + var(--spacing-1) / 2 - var(--crewlet-inbox-row-lift));
25510
+ inset-inline-start: var(--spacing-2);
25511
+ pointer-events: none;
25512
+ }
25513
+
25455
25514
  .crewlet-inbox-row__main {
25456
25515
  display: grid;
25457
25516
  flex: 1;
@@ -25679,21 +25738,38 @@ a.crewlet-icon-btn {
25679
25738
  }
25680
25739
 
25681
25740
  /*
25682
- * THE QUICK ACTIONS FLOAT, never reflow: lifted over the end of the first
25683
- * line (the time) while the row is hovered or holds focus, and taking no room
25684
- * otherwise. Shown by opacity rather than display, so Tab still reaches them
25685
- * from the row and focus brings them up.
25741
+ * THE QUICK ACTIONS STAND BESIDE THE TIME, never over it, and never reflow.
25742
+ * The tray floats at the end of the first line while the row is hovered or
25743
+ * holds focus, and the time (with any status) moves aside to stand before
25744
+ * it. The room it moves into is kept at the end of the name's line all the
25745
+ * time, in the float's place (`--crewlet-inbox-row-room`: the tray's width,
25746
+ * which the row measures into `--crewlet-inbox-row-tray`, from where the
25747
+ * tray stands to where the words end, and a gap), so the name never wraps
25748
+ * differently under the pointer and the row keeps its height.
25749
+ *
25750
+ * HIDDEN, NOT ONLY CLEAR, while the row is neither hovered nor focused: a
25751
+ * tray drawn at zero opacity was a Tab stop on every row, two stops a row in
25752
+ * a list that is meant to be one. The row that holds focus shows its tray,
25753
+ * so Tab from the row reaches its actions, and focus brings them up.
25686
25754
  */
25687
25755
  .crewlet-inbox-row--actions {
25756
+ --crewlet-inbox-row-tray-end: var(--spacing-2);
25757
+ --crewlet-inbox-row-words-end: var(--spacing-2);
25758
+ --crewlet-inbox-row-room: max(
25759
+ 0px,
25760
+ var(--crewlet-inbox-row-tray, 0px) + var(--crewlet-inbox-row-tray-end) + var(--spacing-2) - var(--crewlet-inbox-row-words-end)
25761
+ );
25762
+
25688
25763
  position: relative;
25689
25764
  }
25690
25765
 
25691
25766
  .crewlet-inbox-row__actions {
25692
25767
  position: absolute;
25693
25768
  top: var(--crewlet-inbox-row-actions-top, 0px);
25694
- inset-inline-end: var(--spacing-2);
25769
+ inset-inline-end: var(--crewlet-inbox-row-tray-end, var(--spacing-2));
25695
25770
  z-index: 1;
25696
25771
  opacity: 0;
25772
+ visibility: hidden;
25697
25773
  pointer-events: none;
25698
25774
  }
25699
25775
 
@@ -25701,9 +25777,24 @@ a.crewlet-icon-btn {
25701
25777
  .crewlet-inbox-row:focus-within > .crewlet-inbox-row__actions,
25702
25778
  .crewlet-inbox-row__actions:has([aria-expanded='true']) {
25703
25779
  opacity: 1;
25780
+ visibility: visible;
25704
25781
  pointer-events: auto;
25705
25782
  }
25706
25783
 
25784
+ .crewlet-inbox-row--actions .crewlet-inbox-row__head-end--place {
25785
+ padding-inline-end: var(--crewlet-inbox-row-room);
25786
+ }
25787
+
25788
+ .crewlet-inbox-row--actions .crewlet-inbox-row__head-end--drawn {
25789
+ transition: inset-inline-end var(--motion-duration-fast) var(--motion-easing-default);
25790
+ }
25791
+
25792
+ .crewlet-inbox-row--actions:hover .crewlet-inbox-row__head-end--drawn,
25793
+ .crewlet-inbox-row--actions:focus-within .crewlet-inbox-row__head-end--drawn,
25794
+ .crewlet-inbox-row--actions:has(> .crewlet-inbox-row__actions [aria-expanded='true']) .crewlet-inbox-row__head-end--drawn {
25795
+ inset-inline-end: var(--crewlet-inbox-row-room);
25796
+ }
25797
+
25707
25798
  /* ---- Chat density -------------------------------------------------------- */
25708
25799
 
25709
25800
  /*
@@ -25746,10 +25837,15 @@ a.crewlet-icon-btn {
25746
25837
  border-bottom: 1px solid var(--color-border-default);
25747
25838
  /* The tray sits on the name's line: its middle on the line's middle. */
25748
25839
  --crewlet-inbox-row-actions-top: calc(var(--spacing-4) + var(--crewlet-chat-line) * var(--crewlet-chat-text) / 2 - var(--crewlet-chat-toolbar) / 2);
25840
+ /* It stands a step in from the row's end, where the words end at the side inset. */
25841
+ --crewlet-inbox-row-tray-end: var(--spacing-3);
25842
+ --crewlet-inbox-row-words-end: var(--crewlet-chat-pad-x);
25749
25843
  }
25750
25844
 
25751
- .crewlet-inbox-list--chat .crewlet-inbox-row__actions {
25752
- inset-inline-end: var(--spacing-3);
25845
+ /* The mark at the chat row's own pads. */
25846
+ .crewlet-inbox-list--chat .crewlet-inbox-row__leading--drawn {
25847
+ inset-block-start: var(--spacing-4);
25848
+ inset-inline-start: var(--crewlet-chat-pad-x);
25753
25849
  }
25754
25850
 
25755
25851
  /* The face hangs from the row's top pad, beside the name's line and the one
@@ -25831,6 +25927,7 @@ a.crewlet-icon-btn {
25831
25927
 
25832
25928
  @media (prefers-reduced-motion: reduce) {
25833
25929
  .crewlet-inbox-row,
25930
+ .crewlet-inbox-row--actions .crewlet-inbox-row__head-end--drawn,
25834
25931
  .crewlet-inbox-row--leaving {
25835
25932
  transition: none;
25836
25933
  }
@@ -27799,7 +27896,7 @@ a.crewlet-icon-btn {
27799
27896
  }
27800
27897
 
27801
27898
 
27802
- /* LinkCard-5I4MYU6I.css */
27899
+ /* LinkCard-W4SVOHLD.css */
27803
27900
  /*
27804
27901
  * LinkCard: what a link points at, unfurled under its message.
27805
27902
  *
@@ -27860,12 +27957,39 @@ a.crewlet-icon-btn {
27860
27957
  --crewlet-link-card-dot: var(--color-feedback-danger);
27861
27958
  }
27862
27959
 
27863
- /* No box to ring over: the ring stands off the preview's words. */
27864
- .crewlet-link-card:focus-visible {
27960
+ /*
27961
+ * THE TITLE IS THE LINK, STRETCHED OVER THE PREVIEW. Only the title is the
27962
+ * link, so its name is the words it shows (WCAG 2.5.3), and a layer of it
27963
+ * covers the whole preview, so a press on the source, the details or the bar
27964
+ * follows it as a press on the title does. The source, the details and the
27965
+ * owner are its description.
27966
+ */
27967
+ .crewlet-link-card__link {
27968
+ display: block;
27969
+ max-width: 100%;
27970
+ color: inherit;
27971
+ text-decoration: none;
27972
+ }
27973
+
27974
+ .crewlet-link-card__link::after {
27975
+ content: '';
27976
+ position: absolute;
27977
+ inset: 0;
27978
+ border-radius: inherit;
27979
+ }
27980
+
27981
+ /* No box to ring over: the ring stands off the preview's words, round the
27982
+ whole preview, which is what the link covers. The title's own ring would
27983
+ draw a second one inside it. */
27984
+ .crewlet-link-card:has(> .crewlet-link-card__link:focus-visible) {
27865
27985
  outline: 2px solid var(--color-focus);
27866
27986
  outline-offset: 2px;
27867
27987
  }
27868
27988
 
27989
+ .crewlet-link-card__link:focus-visible {
27990
+ outline: 2px solid transparent;
27991
+ }
27992
+
27869
27993
  /* The app it comes from: its mark and its name, small and quiet. */
27870
27994
  .crewlet-link-card__source {
27871
27995
  display: inline-flex;
@@ -27893,15 +28017,15 @@ a.crewlet-icon-btn {
27893
28017
  overflow-wrap: anywhere;
27894
28018
  }
27895
28019
 
27896
- /* THE TITLE ALONE IS UNDERLINED. The document's base underlines every link
27897
- under the pointer, and an underline on the link runs through all of its
27898
- lines (the source, the details, the owner), which no line inside can
27899
- take off again. */
27900
- a.crewlet-link-card:hover {
28020
+ /* THE TITLE ALONE IS UNDERLINED, under the pointer anywhere on the preview
28021
+ (the link's layer covers it). The document's base underlines every link
28022
+ under the pointer, which the link takes off for itself and gives back to
28023
+ the title. */
28024
+ a.crewlet-link-card__link:hover {
27901
28025
  text-decoration: none;
27902
28026
  }
27903
28027
 
27904
- a.crewlet-link-card:hover .crewlet-link-card__title {
28028
+ a.crewlet-link-card__link:hover .crewlet-link-card__title {
27905
28029
  color: var(--color-brand-accent-ink);
27906
28030
  text-decoration: underline;
27907
28031
  text-underline-offset: 2px;
@@ -44368,7 +44492,7 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
44368
44492
  }
44369
44493
 
44370
44494
 
44371
- /* StepList-OAJ45IBX.css */
44495
+ /* StepList-MQVJ3DZF.css */
44372
44496
  /*
44373
44497
  * A request's steps: a well on the inset ground, an ordered list of steps
44374
44498
  * each on a three-track grid (the 16px state column, the words, the
@@ -44470,6 +44594,20 @@ button.crewlet-status-legend__item[aria-pressed='true'] .crewlet-status-legend__
44470
44594
  color: var(--color-text-tertiary);
44471
44595
  }
44472
44596
 
44597
+ /*
44598
+ * WHY, IN A SENTENCE FOR A PERSON: the body face, a step down from the label,
44599
+ * in the secondary ink, wrapping as words do. It is read, so it is never set
44600
+ * in the request line's mono face or its tertiary ink.
44601
+ */
44602
+ .crewlet-step-list__note {
44603
+ display: block;
44604
+ font-family: var(--font-family-sans);
44605
+ font-size: var(--font-size-xs);
44606
+ line-height: var(--font-line-height-snug);
44607
+ color: var(--color-text-secondary);
44608
+ overflow-wrap: break-word;
44609
+ }
44610
+
44473
44611
  /*
44474
44612
  * WHAT THE STEP ASKED FOR, in the mono face. Each piece between separators is
44475
44613
  * one inline block, so a line breaks only between pieces (at a space, or
@@ -46712,7 +46850,7 @@ b.crewlet-switcher__match {
46712
46850
  }
46713
46851
 
46714
46852
 
46715
- /* Tag-SNAX7OQH.css */
46853
+ /* Tag-H2EA4ZCW.css */
46716
46854
  /*
46717
46855
  * The tag: a small pill naming a state, a category or a value.
46718
46856
  *
@@ -46751,6 +46889,17 @@ b.crewlet-switcher__match {
46751
46889
  * The boundary at rest is `--crewlet-tag-edge`: transparent for a tinted
46752
46890
  * pill, whose hue already separates it from any neutral ground, and the
46753
46891
  * strong border step for the neutral one (see its rule below).
46892
+ *
46893
+ * A TINT IS TRANSLUCENT, SO IT IS ONLY AS GOOD AS WHAT IS UNDER IT. The
46894
+ * palette holds each ink at 4.5:1 on its own soft tint over the four opaque
46895
+ * rungs, and nowhere else. A row that draws a translucent overlay of its
46896
+ * own (hovered, selected) put a second wash under the tint, and the ink
46897
+ * fell under 4.5:1 there: 4.43:1 for the info pill on a selected inbox row
46898
+ * in light, 3.74:1 for success on a pressed raised row in one dark theme.
46899
+ * So the tint is painted over `--crewlet-tag-ground` when an ancestor names
46900
+ * one, an opaque rung such a row hands down, and the pill is then exactly
46901
+ * the composite the palette measures, whatever the row draws around it.
46902
+ * Nothing names it by default, and a pill paints over what is beneath it.
46754
46903
  */
46755
46904
  --crewlet-tag-height: calc(22px * var(--density, 1));
46756
46905
  --crewlet-tag-floor: 0px;
@@ -46772,7 +46921,7 @@ b.crewlet-switcher__match {
46772
46921
  padding: 0 var(--crewlet-tag-pad);
46773
46922
  border: 1px solid var(--crewlet-tag-edge);
46774
46923
  border-radius: var(--radius-pill);
46775
- background: var(--crewlet-tag-fill);
46924
+ background: linear-gradient(var(--crewlet-tag-fill), var(--crewlet-tag-fill)), var(--crewlet-tag-ground, transparent);
46776
46925
  color: var(--crewlet-tag-ink);
46777
46926
  font-family: var(--font-family-sans);
46778
46927
  font-size: var(--font-size-xs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.160.1",
3
+ "version": "0.162.0",
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.160.1",
47
- "@crewlethq/tokens": "0.160.1",
46
+ "@crewlethq/icons": "0.162.0",
47
+ "@crewlethq/tokens": "0.162.0",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",
@@ -1,16 +1,16 @@
1
- import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
2
1
  import { richEditorLabels } from './chunk-DGXHQMNP.js';
2
+ import { schema, readMarkdown, writeMarkdown } from './chunk-7XGDMXC5.js';
3
3
  import './chunk-KOJPDCGQ.js';
4
4
  import { Toolbar } from './chunk-NPEI2QAN.js';
5
5
  import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KMTOGF6T.js';
6
6
  import { Menu } from './chunk-EUET4PNC.js';
7
+ import { Button } from './chunk-34K3XN47.js';
8
+ import './chunk-XSPCITPN.js';
7
9
  import { FormField, Input } from './chunk-XB3ITOJB.js';
8
10
  import './chunk-NICEDVZM.js';
9
11
  import './chunk-JLKO7PSK.js';
10
12
  import './chunk-PJV5HVZY.js';
11
13
  import './chunk-TEXK4RK6.js';
12
- import { Button } from './chunk-34K3XN47.js';
13
- import './chunk-XSPCITPN.js';
14
14
  import { IconButton } from './chunk-XHTQ4X4P.js';
15
15
  import './chunk-TDFLCUBE.js';
16
16
  import './chunk-KIPOJKHG.js';
@@ -1,6 +1,6 @@
1
+ import { ButtonLink } from './chunk-34K3XN47.js';
1
2
  import { useAppShellPeek } from './chunk-MBEZOURR.js';
2
3
  import { ResizeHandle } from './chunk-FQ6J4DK7.js';
3
- import { ButtonLink } from './chunk-34K3XN47.js';
4
4
  import { IconButton } from './chunk-XHTQ4X4P.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './HitArea-QUOS6ZDJ.css';
@@ -1,5 +1,5 @@
1
- import { useReorder } from './chunk-JMBPMSNI.js';
2
1
  import { Menu } from './chunk-EUET4PNC.js';
2
+ import { useReorder } from './chunk-JMBPMSNI.js';
3
3
  import { Input } from './chunk-XB3ITOJB.js';
4
4
  import { IconButton } from './chunk-XHTQ4X4P.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,9 +1,9 @@
1
1
  import { Divider } from './chunk-6KWNXIDE.js';
2
2
  import { LockedLabel } from './chunk-TODOBUXO.js';
3
3
  import { KeyChip } from './chunk-HBDA76EZ.js';
4
- import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
5
4
  import { Button } from './chunk-34K3XN47.js';
6
5
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
6
+ import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
7
7
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
8
8
  import { cx } from './chunk-ODEQTPFM.js';
9
9
  import './HitArea-QUOS6ZDJ.css';
@@ -1,5 +1,5 @@
1
- import { toISO, useNow, formatRelative } from './chunk-GBKBME7Q.js';
2
1
  import { StatusDot } from './chunk-QRE6JCHS.js';
2
+ import { toISO, useNow, formatRelative } from './chunk-GBKBME7Q.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './EditingStatus-TMGT265J.css';
5
5
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys, useHighlightRest } from './chunk-KW7T23RT.js';
2
- import { useFieldError } from './chunk-JLKO7PSK.js';
3
2
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
+ import { useFieldError } from './chunk-JLKO7PSK.js';
4
4
  import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-AVJKMQXK.js';
5
5
  import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,6 +1,6 @@
1
1
  import { CHAT_MESSAGE_CLASS } from './chunk-EE3OJJKW.js';
2
- import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
3
2
  import { Button } from './chunk-34K3XN47.js';
3
+ import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './ChatThread-V5MANQ3C.css';
@@ -1,6 +1,6 @@
1
1
  import { SlideStage } from './chunk-7O53SWKI.js';
2
- import { useReorder } from './chunk-JMBPMSNI.js';
3
2
  import { Menu } from './chunk-EUET4PNC.js';
3
+ import { useReorder } from './chunk-JMBPMSNI.js';
4
4
  import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,8 +1,8 @@
1
1
  import { useReorder } from './chunk-JMBPMSNI.js';
2
- import { FormField, Textarea } from './chunk-XB3ITOJB.js';
3
- import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
4
2
  import { Kbd } from './chunk-VBBLHS2Y.js';
5
3
  import { Button } from './chunk-34K3XN47.js';
4
+ import { FormField, Textarea } from './chunk-XB3ITOJB.js';
5
+ import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
6
6
  import { IconButton } from './chunk-XHTQ4X4P.js';
7
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
8
8
  import { announce } from './chunk-WGMKERCR.js';
@@ -1,9 +1,9 @@
1
1
  import { Modal } from './chunk-HHV5WHTT.js';
2
2
  import { useClipboard } from './chunk-STJ7QBC3.js';
3
+ import { Menu } from './chunk-EUET4PNC.js';
3
4
  import { EmptyValue } from './chunk-WGLOH33S.js';
4
5
  import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
5
6
  import { Checkbox } from './chunk-TGENJXOJ.js';
6
- import { Menu } from './chunk-EUET4PNC.js';
7
7
  import { Button } from './chunk-34K3XN47.js';
8
8
  import { IconButton } from './chunk-XHTQ4X4P.js';
9
9
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,8 +1,8 @@
1
1
  import { useScrollerFocus, Modal } from './chunk-HHV5WHTT.js';
2
2
  import { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
3
- import { Input } from './chunk-XB3ITOJB.js';
4
3
  import { Kbd } from './chunk-VBBLHS2Y.js';
5
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
+ import { Input } from './chunk-XB3ITOJB.js';
6
6
  import { isComposing } from './chunk-EDPMHSLZ.js';
7
7
  import { Count } from './chunk-Y5CMDLQM.js';
8
8
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
@@ -1,5 +1,5 @@
1
- import { FormField, Label, Input } from './chunk-XB3ITOJB.js';
2
1
  import { Button } from './chunk-34K3XN47.js';
2
+ import { FormField, Label, Input } from './chunk-XB3ITOJB.js';
3
3
  import { IconButton } from './chunk-XHTQ4X4P.js';
4
4
  import { announce } from './chunk-WGMKERCR.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,11 +1,11 @@
1
1
  import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
2
2
  import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
3
3
  import { Menu } from './chunk-EUET4PNC.js';
4
+ import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
4
5
  import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
5
6
  import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
6
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
7
- import { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
8
7
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
8
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
9
9
  import { IconButton } from './chunk-XHTQ4X4P.js';
10
10
  import { Tooltip } from './chunk-KIPOJKHG.js';
11
11
  import { focusables, useEscapeWithin, useModalLayer } from './chunk-EDPMHSLZ.js';
@@ -1,6 +1,6 @@
1
1
  import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
2
- import { Input } from './chunk-XB3ITOJB.js';
3
2
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
+ import { Input } from './chunk-XB3ITOJB.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './HitArea-QUOS6ZDJ.css';
6
6
  import './Combobox-GHT43K32.css';
@@ -1,8 +1,8 @@
1
1
  import { Modal } from './chunk-HHV5WHTT.js';
2
2
  import { Callout } from './chunk-I4NRQIRF.js';
3
3
  import { SegmentedControl } from './chunk-72QB5CYJ.js';
4
- import { FormField, Input } from './chunk-XB3ITOJB.js';
5
4
  import { Button } from './chunk-34K3XN47.js';
5
+ import { FormField, Input } from './chunk-XB3ITOJB.js';
6
6
  import { useState } from 'react';
7
7
  import { ClockGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -4,8 +4,8 @@ import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
4
4
  import { Popover } from './chunk-AJFA2XDQ.js';
5
5
  import { Skeleton } from './chunk-WFAJYBLX.js';
6
6
  import { Text } from './chunk-475DOAWF.js';
7
- import { Input } from './chunk-XB3ITOJB.js';
8
7
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
8
+ import { Input } from './chunk-XB3ITOJB.js';
9
9
  import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
10
10
  import { returnFocus } from './chunk-4ITETIGZ.js';
11
11
  import { announce } from './chunk-WGMKERCR.js';
@@ -1,7 +1,7 @@
1
1
  import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-D33XINR4.js';
2
+ import { useReorder } from './chunk-JMBPMSNI.js';
2
3
  import { Skeleton } from './chunk-WFAJYBLX.js';
3
4
  import { titleWhenCut } from './chunk-WSIJDWUG.js';
4
- import { useReorder } from './chunk-JMBPMSNI.js';
5
5
  import { Checkbox } from './chunk-TGENJXOJ.js';
6
6
  import { EmptyState } from './chunk-PPUR46MK.js';
7
7
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
@@ -3,9 +3,9 @@ import { PrincipalAvatar } from './chunk-265IX4YA.js';
3
3
  import { RelativeTime } from './chunk-GBKBME7Q.js';
4
4
  import { Card } from './chunk-E7KRB77B.js';
5
5
  import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
6
+ import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
6
7
  import { Checkbox } from './chunk-TGENJXOJ.js';
7
8
  import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
8
- import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
9
9
  import { AvatarStack } from './chunk-2PSOUDCS.js';
10
10
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
11
11
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,5 +1,5 @@
1
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
2
1
  import { keyGlyph, isApplePlatform, Kbd } from './chunk-VBBLHS2Y.js';
2
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
3
3
  import { isComposing } from './chunk-EDPMHSLZ.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './SendKeys-QVR5TSNA.css';
@@ -1,5 +1,5 @@
1
- import { FormField } from './chunk-XB3ITOJB.js';
2
1
  import { Button } from './chunk-34K3XN47.js';
2
+ import { FormField } from './chunk-XB3ITOJB.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './SettingForm-ODVZZ7JZ.css';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';