@crewlethq/ui 0.188.2 → 0.190.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 (169) hide show
  1. package/README.md +25 -3
  2. package/dist/AgentHandoffPanel/index.js +8 -8
  3. package/dist/AgentIdentity/AgentIdentity.d.ts +19 -8
  4. package/dist/AgentIdentity/AgentIdentitySheet.d.ts +50 -0
  5. package/dist/AgentIdentity/index.d.ts +2 -2
  6. package/dist/AgentIdentity/index.js +7 -6
  7. package/dist/AgentIdentitySheet-WLJL3KT7.css +110 -0
  8. package/dist/AppShell/index.js +4 -4
  9. package/dist/ArrangeFrame/index.js +2 -2
  10. package/dist/ArrangeList/index.js +7 -7
  11. package/dist/ArtifactBar/index.js +4 -4
  12. package/dist/ArtifactCard/index.js +6 -6
  13. package/dist/AuthLayout/index.js +1 -1
  14. package/dist/AvatarPicker/index.js +5 -5
  15. package/dist/ChatThread/index.js +3 -3
  16. package/dist/CheckGrid/index.js +4 -4
  17. package/dist/Checkbox/index.js +3 -3
  18. package/dist/ChipField/index.js +2 -2
  19. package/dist/ColorField/index.js +3 -3
  20. package/dist/Combobox/index.js +3 -3
  21. package/dist/CommandPalette/index.js +8 -8
  22. package/dist/CommentThread/index.js +7 -7
  23. package/dist/Composer/index.js +5 -5
  24. package/dist/ConfirmField/index.js +3 -3
  25. package/dist/ConsequenceList/index.js +4 -4
  26. package/dist/ContrastHelp/index.js +1 -1
  27. package/dist/DataGrid/index.js +7 -7
  28. package/dist/DataTable/index.js +7 -7
  29. package/dist/DataView/index.js +10 -10
  30. package/dist/DatasetSource/index.js +2 -2
  31. package/dist/DocTabsEditor/index.js +6 -6
  32. package/dist/DurationField/index.js +8 -8
  33. package/dist/{Editor-2BMSYXKU.js → Editor-5MI2IOFN.js} +2 -2
  34. package/dist/EmojiPicker/index.js +3 -3
  35. package/dist/GraphCanvas/index.js +1 -1
  36. package/dist/HuePicker/index.js +4 -4
  37. package/dist/InboxList/index.js +2 -2
  38. package/dist/InlineEditor/index.js +1 -1
  39. package/dist/Input/index.js +2 -2
  40. package/dist/KeyValueRows/index.js +3 -3
  41. package/dist/LinkInterstitial/index.js +6 -6
  42. package/dist/ListInput/index.js +6 -6
  43. package/dist/MarkdownEditor/index.js +4 -4
  44. package/dist/MemberPicker/index.js +4 -4
  45. package/dist/MergeConflicts/index.js +4 -4
  46. package/dist/MessageActions/index.js +4 -4
  47. package/dist/Modal/index.js +5 -5
  48. package/dist/MoneyField/index.js +3 -3
  49. package/dist/NumberField/index.js +7 -7
  50. package/dist/OrgTable/index.js +10 -10
  51. package/dist/PresetChips/index.js +4 -4
  52. package/dist/PrincipalPicker/index.js +5 -5
  53. package/dist/ProposalCard/index.js +7 -7
  54. package/dist/RailList/index.js +5 -5
  55. package/dist/ReactionBar/index.js +4 -4
  56. package/dist/Reorder/index.js +2 -2
  57. package/dist/RichEditor/index.js +1 -1
  58. package/dist/ScopeList/ScopeList.d.ts +12 -3
  59. package/dist/ScopeList/index.js +5 -4
  60. package/dist/{ScopeList-564YHC7Z.css → ScopeList-4THHOZ46.css} +20 -0
  61. package/dist/SectionFrame/index.js +3 -3
  62. package/dist/SegmentedControl/index.js +3 -3
  63. package/dist/SelectionBar/index.js +2 -2
  64. package/dist/SettingForm/index.js +3 -3
  65. package/dist/SetupWizard/index.js +3 -3
  66. package/dist/ShareDialog/index.js +13 -13
  67. package/dist/SheetColumnEditor/index.js +8 -8
  68. package/dist/SheetGrid/index.js +4 -4
  69. package/dist/SidebarNav/index.js +2 -2
  70. package/dist/SlideFilmstrip/index.js +5 -5
  71. package/dist/Switcher/index.js +9 -9
  72. package/dist/TableCells/index.js +4 -4
  73. package/dist/Tabs/index.js +2 -2
  74. package/dist/TagGroup/index.js +1 -1
  75. package/dist/TagsInput/index.js +2 -2
  76. package/dist/ThemeSwitcher/index.js +4 -4
  77. package/dist/ThreadSummary/index.js +3 -3
  78. package/dist/TimeRangePicker/index.js +10 -10
  79. package/dist/TimeWindowPicker/index.js +3 -3
  80. package/dist/ToolCallLog/index.js +4 -4
  81. package/dist/TreeCanvas/index.js +2 -2
  82. package/dist/TreeGrid/index.js +8 -8
  83. package/dist/ValueField/index.js +4 -4
  84. package/dist/VendorText/VendorText.d.ts +12 -6
  85. package/dist/VendorText/index.js +1 -1
  86. package/dist/VendorText-52U6W7YZ.css +77 -0
  87. package/dist/VersionCompare/index.js +4 -4
  88. package/dist/VersionTimeline/index.js +1 -1
  89. package/dist/{chunk-C4BENQB3.js → chunk-2C2U5NKD.js} +2 -2
  90. package/dist/{chunk-OAWECVU2.js → chunk-32VT6MCK.js} +1 -1
  91. package/dist/{chunk-MMW5KBJE.js → chunk-3YBI2YP5.js} +2 -2
  92. package/dist/{chunk-KIPEB2UV.js → chunk-4JSBD7TH.js} +1 -1
  93. package/dist/{chunk-WASYD3IL.js → chunk-4SE6F7JI.js} +1 -1
  94. package/dist/{chunk-6EHQN4KA.js → chunk-4TZHV4K3.js} +1 -1
  95. package/dist/{chunk-2DESFB7K.js → chunk-5VICKSUE.js} +1 -1
  96. package/dist/{chunk-S7MHUIJX.js → chunk-6NRMVNL2.js} +3 -3
  97. package/dist/{chunk-DDVUPYJW.js → chunk-6UCQPS5V.js} +2 -2
  98. package/dist/{chunk-5F62NQON.js → chunk-A4XJHBMM.js} +1 -1
  99. package/dist/{chunk-2XC4MYBB.js → chunk-AWBLC4KR.js} +1 -1
  100. package/dist/{chunk-BD2HPIZ2.js → chunk-CEWVB76M.js} +1 -1
  101. package/dist/{chunk-XKC7EJGR.js → chunk-CKNBTBD2.js} +1 -1
  102. package/dist/{chunk-SETK4FN5.js → chunk-D2JVPQGW.js} +1 -1
  103. package/dist/{chunk-FTOKCN4I.js → chunk-D7T547AR.js} +1 -1
  104. package/dist/{chunk-J6QNUNZD.js → chunk-DU6CBJ6H.js} +1 -1
  105. package/dist/{chunk-4RVDOEJR.js → chunk-DYOAQH7O.js} +2 -2
  106. package/dist/{chunk-WLYNWP34.js → chunk-DZSDUUH6.js} +1 -1
  107. package/dist/{chunk-EPVQ4OZ3.js → chunk-EQJXZVON.js} +1 -1
  108. package/dist/{chunk-Q3VKR72D.js → chunk-EWRVLT5C.js} +2 -2
  109. package/dist/{chunk-4NJQ3KYM.js → chunk-FQX3QHDD.js} +1 -1
  110. package/dist/{chunk-Y5GBXHA6.js → chunk-FZXQ72PH.js} +2 -2
  111. package/dist/chunk-GJPEYOS7.js +110 -0
  112. package/dist/{chunk-C2676ENR.js → chunk-GKKFWPFJ.js} +1 -1
  113. package/dist/{chunk-OVKHRNRD.js → chunk-H2OVGJJ4.js} +129 -8
  114. package/dist/{chunk-7KAWHHZW.js → chunk-HRSCLHZ3.js} +3 -3
  115. package/dist/chunk-JADTOJUL.js +20 -0
  116. package/dist/{chunk-O2JB7YLM.js → chunk-JHZ2EGU3.js} +4 -4
  117. package/dist/{chunk-N3VY4RNR.js → chunk-KDJZ4URB.js} +1 -1
  118. package/dist/{chunk-CUQN6WSD.js → chunk-KRKTIQIT.js} +2 -2
  119. package/dist/{chunk-TDRWUWGV.js → chunk-N2NKUIN5.js} +1 -1
  120. package/dist/{chunk-G6TM7JFC.js → chunk-N3CGQXGJ.js} +1 -1
  121. package/dist/{chunk-IF5RMDDV.js → chunk-NPKMLX6O.js} +3 -3
  122. package/dist/{chunk-YSYORPVE.js → chunk-OOKLFQMR.js} +2 -2
  123. package/dist/{chunk-ZQTEBONP.js → chunk-PCC7D7F4.js} +1 -1
  124. package/dist/{chunk-LUPO23ST.js → chunk-Q3V5HBBU.js} +2 -2
  125. package/dist/{chunk-MFRXKQAF.js → chunk-QHLYZB6Q.js} +1 -1
  126. package/dist/chunk-QRXB3DQI.js +85 -0
  127. package/dist/{chunk-ZLHVKPAQ.js → chunk-R6AOD235.js} +2 -2
  128. package/dist/{chunk-NIII72XP.js → chunk-RCXM7KGG.js} +1 -1
  129. package/dist/{chunk-7UYWPNFG.js → chunk-RZEUVQJ7.js} +1 -1
  130. package/dist/{chunk-2KQGMYAQ.js → chunk-SHU6ZR7Z.js} +1 -1
  131. package/dist/{chunk-PDQPSTK2.js → chunk-SW7BVEOI.js} +1 -1
  132. package/dist/{chunk-RAPKKIMQ.js → chunk-T6XER762.js} +1 -1
  133. package/dist/{chunk-U2TENSNB.js → chunk-TDMHM6PK.js} +1 -1
  134. package/dist/{chunk-TBHMGRN6.js → chunk-U4YVKG4N.js} +1 -1
  135. package/dist/{chunk-MFJYXWN5.js → chunk-UCSBAGUH.js} +3 -3
  136. package/dist/{chunk-2OYEVTF4.js → chunk-UG5HYGA4.js} +2 -2
  137. package/dist/{chunk-ERNIXJMN.js → chunk-UP53NPTA.js} +1 -1
  138. package/dist/{chunk-NJBKJF3Q.js → chunk-V7TF64W6.js} +3 -3
  139. package/dist/{chunk-TN5RHSI5.js → chunk-WM2CPCBH.js} +1 -1
  140. package/dist/{chunk-4TLKCRE4.js → chunk-WPFQAF4B.js} +1 -1
  141. package/dist/{chunk-R72QM6WV.js → chunk-WTGAF4R7.js} +1 -1
  142. package/dist/{chunk-YB5XT2BD.js → chunk-XGS77YSD.js} +1 -1
  143. package/dist/{chunk-QR4LRVWK.js → chunk-XLIG6LKN.js} +2 -2
  144. package/dist/{chunk-S6ES6MMW.js → chunk-XVOOO2NU.js} +2 -2
  145. package/dist/generated/index.js +113 -112
  146. package/dist/index.js +113 -112
  147. package/dist/styles.css +156 -7
  148. package/dist/utils/groupInOrder.d.ts +13 -0
  149. package/package.json +3 -3
  150. package/dist/AgentIdentitySheet-QIOWB7XK.css +0 -28
  151. package/dist/VendorText-XAKA4QY5.css +0 -30
  152. package/dist/chunk-MPVJW5M6.js +0 -92
  153. package/dist/chunk-XULMT56O.js +0 -45
  154. package/dist/{chunk-SQPT4UZ4.js → chunk-5RJS62VA.js} +1 -1
  155. package/dist/{chunk-2SGJAD7O.js → chunk-66267KAK.js} +1 -1
  156. package/dist/{chunk-UIRMNARM.js → chunk-7RFF2FUG.js} +1 -1
  157. package/dist/{chunk-QVSG3XSW.js → chunk-7V5SREXT.js} +1 -1
  158. package/dist/{chunk-KF7ZOWJW.js → chunk-D36433LK.js} +1 -1
  159. package/dist/{chunk-XRCMG3GG.js → chunk-J7MBKOCG.js} +2 -2
  160. package/dist/{chunk-V3AWITMI.js → chunk-LIEVAY27.js} +1 -1
  161. package/dist/{chunk-H77NQVS7.js → chunk-MNGQGRH3.js} +1 -1
  162. package/dist/{chunk-ZR276S44.js → chunk-PMMCH542.js} +1 -1
  163. package/dist/{chunk-ZDENBTBY.js → chunk-QO5VU56Z.js} +1 -1
  164. package/dist/{chunk-IMYAUG56.js → chunk-QZ3QUZN7.js} +1 -1
  165. package/dist/{chunk-LR56IYSL.js → chunk-UM2LEJNT.js} +2 -2
  166. package/dist/{chunk-5TMLCOJI.js → chunk-WF76R3V7.js} +1 -1
  167. package/dist/{chunk-M4XBRBZL.js → chunk-WGL3BYU4.js} +1 -1
  168. package/dist/{chunk-Y4A7AYX4.js → chunk-XSJNLTA6.js} +1 -1
  169. package/dist/{chunk-MENY4GKL.js → chunk-Z534PYDT.js} +1 -1
package/dist/styles.css CHANGED
@@ -1016,7 +1016,7 @@
1016
1016
  }
1017
1017
 
1018
1018
 
1019
- /* AgentIdentitySheet-QIOWB7XK.css */
1019
+ /* AgentIdentitySheet-WLJL3KT7.css */
1020
1020
  /*
1021
1021
  * The set-up sheet's step: its parts stacked at one gap, each value to copy
1022
1022
  * after the words of its own step, and the vendor's page on a line of its own.
@@ -1046,6 +1046,88 @@
1046
1046
  margin-block-start: calc(-1 * var(--spacing-3));
1047
1047
  }
1048
1048
 
1049
+ /*
1050
+ * The checklist under the steps: a row per entry, its name and ID first and
1051
+ * its tag and link at the end, rows ruled apart. Where a row is too narrow
1052
+ * for both, the tag and link wrap under the name rather than squeeze it, and
1053
+ * on a phone every row puts them there, so the rows read alike.
1054
+ */
1055
+ .crewlet-agent-identity-sheet__entries {
1056
+ container: crewlet-agent-identity-entries / inline-size;
1057
+ display: flex;
1058
+ flex-direction: column;
1059
+ gap: var(--spacing-3);
1060
+ min-inline-size: 0;
1061
+ }
1062
+
1063
+ .crewlet-agent-identity-sheet__entry-group {
1064
+ display: flex;
1065
+ flex-direction: column;
1066
+ gap: var(--spacing-1);
1067
+ min-inline-size: 0;
1068
+ }
1069
+
1070
+ .crewlet-agent-identity-sheet__entry-group-name {
1071
+ margin: 0;
1072
+ overflow-wrap: anywhere;
1073
+ }
1074
+
1075
+ .crewlet-agent-identity-sheet__entry-rows {
1076
+ display: flex;
1077
+ flex-direction: column;
1078
+ min-inline-size: 0;
1079
+ margin: 0;
1080
+ padding: 0;
1081
+ list-style: none;
1082
+ }
1083
+
1084
+ .crewlet-agent-identity-sheet__entry {
1085
+ display: flex;
1086
+ flex-wrap: wrap;
1087
+ align-items: center;
1088
+ justify-content: space-between;
1089
+ gap: var(--spacing-2) var(--spacing-3);
1090
+ min-inline-size: 0;
1091
+ padding-block: var(--spacing-2);
1092
+ }
1093
+
1094
+ .crewlet-agent-identity-sheet__entry + .crewlet-agent-identity-sheet__entry {
1095
+ border-block-start: 1px solid var(--color-border-default);
1096
+ }
1097
+
1098
+ .crewlet-agent-identity-sheet__entry-words {
1099
+ display: flex;
1100
+ flex: 1 1 12rem;
1101
+ flex-direction: column;
1102
+ min-inline-size: 0;
1103
+ }
1104
+
1105
+ .crewlet-agent-identity-sheet__entry-name,
1106
+ .crewlet-agent-identity-sheet__entry-id {
1107
+ overflow-wrap: anywhere;
1108
+ }
1109
+
1110
+ .crewlet-agent-identity-sheet__entry-end {
1111
+ display: flex;
1112
+ flex-wrap: wrap;
1113
+ align-items: center;
1114
+ gap: var(--spacing-2);
1115
+ min-inline-size: 0;
1116
+ }
1117
+
1118
+ @container crewlet-agent-identity-entries (width < 26rem) {
1119
+ .crewlet-agent-identity-sheet__entry-words {
1120
+ flex-basis: 100%;
1121
+ }
1122
+ }
1123
+
1124
+ .crewlet-agent-identity-sheet__wider-links {
1125
+ display: flex;
1126
+ flex-wrap: wrap;
1127
+ gap: var(--spacing-2);
1128
+ margin-block-start: var(--spacing-2);
1129
+ }
1130
+
1049
1131
 
1050
1132
  /* AppShell-4BFYBNNQ.css */
1051
1133
  /*
@@ -38521,7 +38603,7 @@ button.crewlet-presence-stack__member:focus-visible {
38521
38603
  }
38522
38604
 
38523
38605
 
38524
- /* ScopeList-564YHC7Z.css */
38606
+ /* ScopeList-4THHOZ46.css */
38525
38607
  /*
38526
38608
  * The things an agent may reach, a row each: the box and the name first, a
38527
38609
  * detail quiet under the name, the ID quiet at the row's end. A chosen row
@@ -38557,6 +38639,26 @@ button.crewlet-presence-stack__member:focus-visible {
38557
38639
  list-style: none;
38558
38640
  }
38559
38641
 
38642
+ /* A group's rows under its name, the name on the rows' own inset. */
38643
+ .crewlet-scope-list__group {
38644
+ display: flex;
38645
+ flex-direction: column;
38646
+ gap: var(--spacing-1);
38647
+ min-inline-size: 0;
38648
+ }
38649
+
38650
+ /* A section between groups, so each name reads as the head of the rows under it. */
38651
+ .crewlet-scope-list__group + .crewlet-scope-list__group,
38652
+ .crewlet-scope-list__rows + .crewlet-scope-list__group {
38653
+ margin-block-start: var(--spacing-2);
38654
+ }
38655
+
38656
+ .crewlet-scope-list__group-name {
38657
+ margin: 0;
38658
+ padding-inline-start: var(--spacing-3);
38659
+ overflow-wrap: anywhere;
38660
+ }
38661
+
38560
38662
  .crewlet-scope-list__row {
38561
38663
  display: flex;
38562
38664
  align-items: flex-start;
@@ -53863,7 +53965,7 @@ svg.crewlet-time-window__tick {
53863
53965
  }
53864
53966
 
53865
53967
 
53866
- /* VendorText-XAKA4QY5.css */
53968
+ /* VendorText-52U6W7YZ.css */
53867
53969
  /*
53868
53970
  * A name on a vendor's screen inside a sentence: semibold primary ink in a
53869
53971
  * framed chip, set apart by shape, not ink alone. The fill is a translucent
@@ -53876,7 +53978,7 @@ svg.crewlet-time-window__tick {
53876
53978
  border: 1px solid var(--color-border-strong);
53877
53979
  border-radius: var(--radius-xs);
53878
53980
  padding: 0 var(--spacing-1);
53879
- /* Inline, so a link's underline reaches the name; sliced where it wraps, as InlineCode is. */
53981
+ /* Inline, so a long path wraps inside its frame; sliced where it wraps, as InlineCode is. */
53880
53982
  display: inline;
53881
53983
  box-decoration-break: slice;
53882
53984
  overflow-wrap: anywhere;
@@ -53889,12 +53991,59 @@ svg.crewlet-time-window__tick {
53889
53991
  color: var(--color-text-tertiary);
53890
53992
  }
53891
53993
 
53892
- /* Linked, the name takes the link's ink and underline and keeps its frame. */
53893
- .crewlet-step-link .crewlet-vendor-ui,
53894
- .crewlet-step-link .crewlet-vendor-ui__separator {
53994
+ /*
53995
+ * Linked, the chip is the anchor: the link's ink, its new-tab mark inside the
53996
+ * frame, and no underline in any state. A pointer fills it; a press rings it.
53997
+ */
53998
+ .crewlet-link.crewlet-vendor-ui--link {
53999
+ color: var(--color-brand-accent-ink);
54000
+ transition: background-color var(--motion-duration-fast) var(--motion-easing-default);
54001
+ }
54002
+
54003
+ /* Every state an anchor is in, so it outranks Link's in-sentence and hover underlines. */
54004
+ .crewlet-link.crewlet-vendor-ui--link:is(:link, :visited, :hover, :focus-visible, :active) {
54005
+ text-decoration: none;
54006
+ }
54007
+
54008
+ .crewlet-link.crewlet-vendor-ui--link:hover {
54009
+ background: var(--color-brand-accent-soft);
54010
+ }
54011
+
54012
+ .crewlet-link.crewlet-vendor-ui--link:active {
54013
+ background: var(--color-brand-accent-soft);
54014
+ border-color: var(--color-brand-accent);
54015
+ }
54016
+
54017
+ .crewlet-vendor-ui--link .crewlet-vendor-ui__separator {
53895
54018
  color: inherit;
53896
54019
  }
53897
54020
 
54021
+ /* The mark and the new-tab sentence: one unbreakable group, not copied with the name. */
54022
+ .crewlet-vendor-ui__tail {
54023
+ white-space: nowrap;
54024
+ user-select: none;
54025
+ }
54026
+
54027
+ /* Inline, said here: the document baseline sets every `svg` to block. */
54028
+ .crewlet-vendor-ui__external {
54029
+ display: inline;
54030
+ vertical-align: -0.125em;
54031
+ }
54032
+
54033
+ /* Forced colours drops the fill and repaints the frame, so the hover there is
54034
+ the underline, as Link's quiet hover. */
54035
+ @media (forced-colors: active) {
54036
+ .crewlet-link.crewlet-vendor-ui--link:is(:hover) {
54037
+ text-decoration: underline;
54038
+ }
54039
+ }
54040
+
54041
+ @media (prefers-reduced-motion: reduce) {
54042
+ .crewlet-link.crewlet-vendor-ui--link {
54043
+ transition: none;
54044
+ }
54045
+ }
54046
+
53898
54047
 
53899
54048
  /* VersionCompare-UUZOPTQO.css */
53900
54049
  /* VersionCompare: a head naming the two versions with the lens switch at its
@@ -0,0 +1,13 @@
1
+ /** One run of items under one group name; `name` is undefined for the items that name none. */
2
+ export interface GroupRun<T> {
3
+ name: string | undefined;
4
+ items: T[];
5
+ }
6
+ /**
7
+ * Items gathered by their `group`, one run per group in the order each group
8
+ * first appears, with the items that name no group first. Within a run the
9
+ * items keep their own order.
10
+ */
11
+ export declare function groupInOrder<T extends {
12
+ group?: string | undefined;
13
+ }>(items: readonly T[]): GroupRun<T>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.188.2",
3
+ "version": "0.190.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.188.2",
47
- "@crewlethq/tokens": "0.188.2",
46
+ "@crewlethq/icons": "0.190.0",
47
+ "@crewlethq/tokens": "0.190.0",
48
48
  "prosemirror-commands": "1.7.2",
49
49
  "prosemirror-gapcursor": "1.4.1",
50
50
  "prosemirror-history": "1.5.1",
@@ -1,28 +0,0 @@
1
- /*
2
- * The set-up sheet's step: its parts stacked at one gap, each value to copy
3
- * after the words of its own step, and the vendor's page on a line of its own.
4
- */
5
- .crewlet-agent-identity-sheet__step {
6
- display: flex;
7
- flex-direction: column;
8
- gap: var(--spacing-3);
9
- min-inline-size: 0;
10
- }
11
-
12
- .crewlet-agent-identity-sheet__link {
13
- display: flex;
14
- }
15
-
16
- .crewlet-agent-identity-sheet__note {
17
- margin: 0;
18
- }
19
-
20
- /*
21
- * The step takes focus when it changes, and keeps the browser's own focus
22
- * treatment: after a press nothing is drawn, after a key the ring shows where
23
- * the reader now is. The verdict's live region stays in the tree while empty,
24
- * so a screen reader hears what fills it; empty, it takes back the gap before it.
25
- */
26
- .crewlet-agent-identity-sheet__verdict:empty {
27
- margin-block-start: calc(-1 * var(--spacing-3));
28
- }
@@ -1,30 +0,0 @@
1
- /*
2
- * A name on a vendor's screen inside a sentence: semibold primary ink in a
3
- * framed chip, set apart by shape, not ink alone. The fill is a translucent
4
- * step, so the chip stands off whatever surface it is set on.
5
- */
6
- .crewlet-vendor-ui {
7
- font-weight: var(--font-weight-semibold);
8
- color: var(--color-text-primary);
9
- background: var(--color-surface-pressed);
10
- border: 1px solid var(--color-border-strong);
11
- border-radius: var(--radius-xs);
12
- padding: 0 var(--spacing-1);
13
- /* Inline, so a link's underline reaches the name; sliced where it wraps, as InlineCode is. */
14
- display: inline;
15
- box-decoration-break: slice;
16
- overflow-wrap: anywhere;
17
- }
18
-
19
- /* A path's chevron stays on the line of the level after it. */
20
- .crewlet-vendor-ui__separator {
21
- display: inline;
22
- vertical-align: -0.1em;
23
- color: var(--color-text-tertiary);
24
- }
25
-
26
- /* Linked, the name takes the link's ink and underline and keeps its frame. */
27
- .crewlet-step-link .crewlet-vendor-ui,
28
- .crewlet-step-link .crewlet-vendor-ui__separator {
29
- color: inherit;
30
- }
@@ -1,92 +0,0 @@
1
- import { Text } from './chunk-475DOAWF.js';
2
- import { Checkbox } from './chunk-2DESFB7K.js';
3
- import { Button } from './chunk-YVMIT2OW.js';
4
- import { Input } from './chunk-ZR276S44.js';
5
- import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
- import { cx } from './chunk-ODEQTPFM.js';
7
- import './ScopeList-564YHC7Z.css';
8
- import { useId, useState } from 'react';
9
- import { SearchGlyph } from '@crewlethq/icons/glyphs';
10
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
11
-
12
- var SCOPE_LIST_LABELS = {
13
- chosen: (chosen, of) => `${chosen.toLocaleString()} of ${of.toLocaleString()} chosen`,
14
- chooseAll: "Choose all",
15
- clear: "Clear",
16
- find: "Find by name or ID",
17
- noMatch: (term) => `Nothing matches \u201C${term}\u201D.`,
18
- none: "Nothing to choose from."
19
- };
20
- function ScopeList({
21
- label,
22
- options,
23
- value,
24
- onChange,
25
- searchFrom = 8,
26
- bulk = true,
27
- labels: overrides,
28
- className
29
- }) {
30
- const labels = { ...SCOPE_LIST_LABELS, ...overrides };
31
- const base = useId();
32
- const [term, setTerm] = useState("");
33
- const chosen = new Set(value);
34
- const searchable = options.length >= searchFrom;
35
- const find = searchable ? term.trim().toLowerCase() : "";
36
- const shown = find ? options.filter((o) => `${o.label} ${o.detail ?? ""} ${o.id ?? ""} ${o.value}`.toLowerCase().includes(find)) : options;
37
- const open = shown.filter((o) => !o.disabled);
38
- const allShown = open.length > 0 && open.every((o) => chosen.has(o.value));
39
- const toggleShown = () => {
40
- if (allShown) {
41
- const off = new Set(open.map((o) => o.value));
42
- onChange(value.filter((v) => !off.has(v)));
43
- } else {
44
- onChange([...value, ...open.map((o) => o.value).filter((v) => !chosen.has(v))]);
45
- }
46
- };
47
- const count = options.filter((o) => chosen.has(o.value)).length;
48
- return /* @__PURE__ */ jsxs("fieldset", { className: cx("crewlet-scope-list", className), children: [
49
- /* @__PURE__ */ jsx(VisuallyHidden, { as: "legend", children: label }),
50
- bulk ? /* @__PURE__ */ jsxs("div", { className: "crewlet-scope-list__bar", children: [
51
- /* @__PURE__ */ jsx(Text, { variant: "caption", tone: "secondary", children: labels.chosen(count, options.length) }),
52
- /* @__PURE__ */ jsx(Button, { size: "small", variant: "ghost", disabled: open.length === 0, onClick: toggleShown, children: allShown ? labels.clear : labels.chooseAll })
53
- ] }) : null,
54
- searchable ? /* @__PURE__ */ jsx(
55
- Input,
56
- {
57
- type: "search",
58
- "aria-label": labels.find,
59
- placeholder: labels.find,
60
- inputSize: "sm",
61
- width: "full",
62
- leading: /* @__PURE__ */ jsx(SearchGlyph, { size: "sm" }),
63
- value: term,
64
- onChange: (e) => setTerm(e.target.value)
65
- }
66
- ) : null,
67
- shown.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "crewlet-scope-list__rows", children: shown.map((o, i) => {
68
- const on = chosen.has(o.value);
69
- const idId = o.id && o.id !== o.label ? `${base}-id-${i}` : void 0;
70
- return /* @__PURE__ */ jsxs("li", { className: "crewlet-scope-list__row", "data-chosen": on || void 0, children: [
71
- /* @__PURE__ */ jsx(
72
- Checkbox,
73
- {
74
- className: "crewlet-scope-list__check",
75
- label: o.label,
76
- description: o.detail || o.disabled && o.disabledReason ? /* @__PURE__ */ jsxs(Fragment, { children: [
77
- o.detail ? /* @__PURE__ */ jsx("span", { className: "crewlet-scope-list__detail", children: o.detail }) : null,
78
- o.disabled && o.disabledReason ? /* @__PURE__ */ jsx("span", { children: o.disabledReason }) : null
79
- ] }) : void 0,
80
- checked: on,
81
- disabled: o.disabled,
82
- "aria-describedby": idId,
83
- onCheckedChange: (next) => onChange(next ? [...value, o.value] : value.filter((v) => v !== o.value))
84
- }
85
- ),
86
- idId ? /* @__PURE__ */ jsx(Text, { id: idId, variant: "caption", tone: "tertiary", mono: true, className: "crewlet-scope-list__id", children: o.id }) : null
87
- ] }, o.value);
88
- }) }) : /* @__PURE__ */ jsx(Text, { as: "p", variant: "caption", tone: "secondary", className: "crewlet-scope-list__empty", children: find ? labels.noMatch(term.trim()) : labels.none })
89
- ] });
90
- }
91
-
92
- export { SCOPE_LIST_LABELS, ScopeList };
@@ -1,45 +0,0 @@
1
- import { Link } from './chunk-MGJAOLZC.js';
2
- import { VisuallyHidden } from './chunk-RRRK2KB6.js';
3
- import { cx } from './chunk-ODEQTPFM.js';
4
- import './VendorText-XAKA4QY5.css';
5
- import { Fragment } from 'react';
6
- import { ChevronRightGlyph } from '@crewlethq/icons/glyphs';
7
- import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
8
-
9
- function VendorUI({ path, separatorLabel = "then", className }) {
10
- const levels = typeof path === "string" ? [path] : path;
11
- return /* @__PURE__ */ jsx("span", { className: cx("crewlet-vendor-ui", className), children: levels.map((level, i) => /* @__PURE__ */ jsxs(Fragment, { children: [
12
- i > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
13
- " ",
14
- /* @__PURE__ */ jsx(ChevronRightGlyph, { size: "xs", className: "crewlet-vendor-ui__separator", "aria-hidden": "true" }),
15
- /* @__PURE__ */ jsx(VisuallyHidden, { children: separatorLabel }),
16
- " "
17
- ] }) : null,
18
- /* @__PURE__ */ jsx("span", { className: "crewlet-vendor-ui__level", children: level })
19
- ] }, i)) });
20
- }
21
- function StepLink({ href, children, newTabLabel, className }) {
22
- return /* @__PURE__ */ jsx(
23
- Link,
24
- {
25
- href,
26
- external: true,
27
- size: "inherit",
28
- newTabLabel,
29
- className: cx("crewlet-step-link", className),
30
- children
31
- }
32
- );
33
- }
34
- function VendorText({ parts, renderWords, resolveUrl }) {
35
- return /* @__PURE__ */ jsx(Fragment$1, { children: parts.map((part, i) => {
36
- const body = part.ui && part.ui.length > 0 ? /* @__PURE__ */ jsx(VendorUI, { path: part.ui }) : renderWords ? renderWords(part.text ?? "") : part.text ?? "";
37
- const href = part.url ? resolveUrl ? resolveUrl(part.url) : part.url : void 0;
38
- return href ? /* @__PURE__ */ jsx(StepLink, { href, children: body }, i) : /* @__PURE__ */ jsx(Fragment, { children: body }, i);
39
- }) });
40
- }
41
- function vendorTextString(parts) {
42
- return parts.map((p) => p.ui && p.ui.length > 0 ? p.ui.join(" > ") : p.text ?? "").join("");
43
- }
44
-
45
- export { StepLink, VendorText, VendorUI, vendorTextString };
@@ -1,7 +1,7 @@
1
1
  import { Tag } from './chunk-ASBBB5AJ.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 { IconButton } from './chunk-66H4BC5Z.js';
2
+ import { announce } from './chunk-WGMKERCR.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ArrangeFrame-BW76K5LZ.css';
5
5
  import { forwardRef, useRef, useCallback, useState, useEffect } from 'react';
@@ -1,6 +1,6 @@
1
1
  import { RelativeTime } from './chunk-5ZL3PXEL.js';
2
- import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
3
2
  import { Tag } from './chunk-ASBBB5AJ.js';
3
+ import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
4
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './HitArea-QUOS6ZDJ.css';
@@ -1,9 +1,9 @@
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-43N4EHFR.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 { isApplePlatform, ariaKeyshortcuts, Kbd } from './chunk-VBBLHS2Y.js';
7
7
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
8
8
  import { useMediaMatch } from './chunk-COS6LJ4K.js';
9
9
  import { IconButton } from './chunk-66H4BC5Z.js';
@@ -1,6 +1,6 @@
1
1
  import { developing } from './chunk-6C7GQOBV.js';
2
- import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
3
2
  import { Eyebrow } from './chunk-RK4XPHVG.js';
3
+ import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
4
4
  import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
5
5
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,10 +1,10 @@
1
1
  import { Link } from './chunk-MGJAOLZC.js';
2
2
  import { RelativeTime } from './chunk-5ZL3PXEL.js';
3
3
  import { EmptyValue } from './chunk-WGLOH33S.js';
4
- import { overflowWords, shownBeforeOverflow, ListOverflow } from './chunk-QRCF7KFB.js';
5
- import { Avatar } from './chunk-YMFFGPFE.js';
6
4
  import { Tag } from './chunk-ASBBB5AJ.js';
7
5
  import { Text } from './chunk-475DOAWF.js';
6
+ import { overflowWords, shownBeforeOverflow, ListOverflow } from './chunk-QRCF7KFB.js';
7
+ import { Avatar } from './chunk-YMFFGPFE.js';
8
8
  import { titleIfCut } from './chunk-WSIJDWUG.js';
9
9
  import { cx } from './chunk-ODEQTPFM.js';
10
10
  import './TableCells-F6NJK33R.css';
@@ -1,6 +1,6 @@
1
1
  import { CHAT_MESSAGE_CLASS } from './chunk-IPIILXQU.js';
2
- import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
3
2
  import { Button } from './chunk-YVMIT2OW.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-VJBPA5CD.css';
@@ -1,6 +1,6 @@
1
1
  import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
2
- import { announce } from './chunk-WGMKERCR.js';
3
2
  import { IconButton } from './chunk-66H4BC5Z.js';
3
+ import { announce } from './chunk-WGMKERCR.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
5
  import './ReorderHandle-CT5OMUSR.css';
6
6
  import { useId, useState, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
@@ -2,11 +2,11 @@ import { SECRET_INPUT_PROPS } from './chunk-NICEDVZM.js';
2
2
  import { useFieldError, FormFieldInvalidContext } from './chunk-JLKO7PSK.js';
3
3
  import { copyTextStyles } from './chunk-AKLZJTOJ.js';
4
4
  import { characterCountState, CharacterCount } from './chunk-TEXK4RK6.js';
5
- import { announce } from './chunk-WGMKERCR.js';
6
5
  import { IconButton } from './chunk-66H4BC5Z.js';
7
6
  import { useHeadingLevel, headingTag, HeadingLevelProvider, nextHeadingLevel } from './chunk-PQADV6P6.js';
8
7
  import { isComposing } from './chunk-EDPMHSLZ.js';
9
8
  import { useFocusModality } from './chunk-4ITETIGZ.js';
9
+ import { announce } from './chunk-WGMKERCR.js';
10
10
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
11
11
  import { cx } from './chunk-ODEQTPFM.js';
12
12
  import './Input-YVCNNTYT.css';
@@ -1,7 +1,7 @@
1
1
  import { Toolbar } from './chunk-NPEI2QAN.js';
2
2
  import { Button } from './chunk-YVMIT2OW.js';
3
- import { announce } from './chunk-WGMKERCR.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';
@@ -2,8 +2,8 @@ import { Divider } from './chunk-6KWNXIDE.js';
2
2
  import { LockedLabel } from './chunk-TODOBUXO.js';
3
3
  import { KeyChip } from './chunk-HBDA76EZ.js';
4
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
5
- import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
6
5
  import { Button } from './chunk-YVMIT2OW.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';
@@ -4,11 +4,11 @@ import { presenceHueClass } from './chunk-EFX2YC5T.js';
4
4
  import { ChangeMark } from './chunk-466TIYTK.js';
5
5
  import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTone, editText, textMax, sheetLabels, normalizeValue, sameValue, spokenText, drawnColumns, fitSamples, fittedWidth, columnWidth, SHEET_COLUMN_BOUNDS, sortRows, SHEET_ROW_HEIGHT, cellKey, columnOffsets, SHEET_ROW_NUMBER_WIDTH, rangeOf, presenceByCell, presenceByRow, presenceByColumn, scrollToRow, planClear, visibleRows, cellDescription, nextSort, rowName, inRange, hasPrevious, flagText, toTSV, planPaste, parseTSV, isMod, moveFrom, isTypingKey, editorSide, optionHue, parseText, liveOptions, checkValue } from './chunk-LFSIKGRQ.js';
6
6
  import { presenceLabels } from './chunk-Z7JYG5TF.js';
7
+ import { Tag } from './chunk-ASBBB5AJ.js';
8
+ import { StatusDot } from './chunk-QRE6JCHS.js';
7
9
  import { Menu } from './chunk-43N4EHFR.js';
8
10
  import { Popover } from './chunk-SWZV6R46.js';
9
11
  import { Avatar } from './chunk-YMFFGPFE.js';
10
- import { Tag } from './chunk-ASBBB5AJ.js';
11
- import { StatusDot } from './chunk-QRE6JCHS.js';
12
12
  import { Button } from './chunk-YVMIT2OW.js';
13
13
  import { IconButton } from './chunk-66H4BC5Z.js';
14
14
  import { Tooltip } from './chunk-ZF5ELYJ3.js';
@@ -1,5 +1,5 @@
1
- import { AvatarStack } from './chunk-SHVK6EOL.js';
2
1
  import { Tag } from './chunk-ASBBB5AJ.js';
2
+ import { AvatarStack } from './chunk-SHVK6EOL.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ChatScale-LGESYXCO.css';
5
5
  import './ThreadSummary-3AODTHAM.css';
@@ -1,9 +1,9 @@
1
1
  import { useListbox } from './chunk-KW7T23RT.js';
2
2
  import { Tag } from './chunk-ASBBB5AJ.js';
3
- import { announce } from './chunk-WGMKERCR.js';
4
3
  import { IconButton } from './chunk-66H4BC5Z.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 { useRoving, tabStop, revealInRow } from './chunk-7F3OPUM5.js';
2
+ import { StatusDot } from './chunk-QRE6JCHS.js';
2
3
  import { Menu } from './chunk-43N4EHFR.js';
3
4
  import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
4
- import { StatusDot } from './chunk-QRE6JCHS.js';
5
5
  import { Count } from './chunk-6YKTRAWI.js';
6
6
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
@@ -1,7 +1,7 @@
1
1
  import { PageHeader } from './chunk-FPDIHEM4.js';
2
- import { useMediaMatch } from './chunk-COS6LJ4K.js';
3
2
  import { Stepper } from './chunk-2MN3RNRM.js';
4
3
  import { Disclosure } from './chunk-RUROK3EU.js';
4
+ import { useMediaMatch } from './chunk-COS6LJ4K.js';
5
5
  import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
7
  import './SetupWizard-Y2PFPBCZ.css';