@crewlethq/ui 0.152.0 → 0.154.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 (118) hide show
  1. package/README.md +9 -1
  2. package/dist/AgentHandoffPanel/index.js +9 -9
  3. package/dist/AppShell/index.js +3 -3
  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/AuthLayout/index.js +1 -1
  8. package/dist/BriefCard/index.js +1 -1
  9. package/dist/ChangeList/index.js +2 -2
  10. package/dist/ChatThread/index.js +3 -3
  11. package/dist/Combobox/index.js +2 -2
  12. package/dist/CommandPalette/index.js +5 -5
  13. package/dist/CommentThread/index.js +9 -9
  14. package/dist/Composer/index.js +5 -5
  15. package/dist/DataGrid/index.js +6 -6
  16. package/dist/DataTable/index.js +4 -4
  17. package/dist/DataView/index.js +6 -6
  18. package/dist/DatasetSource/index.js +1 -1
  19. package/dist/DeepWorkCard/index.js +1 -1
  20. package/dist/DiffList/index.js +1 -1
  21. package/dist/{DiffList-3JNPLQ2E.css → DiffList-57M6YCNS.css} +6 -7
  22. package/dist/DiffView/DiffView.d.ts +60 -35
  23. package/dist/DiffView/diff.d.ts +9 -41
  24. package/dist/DiffView/index.d.ts +7 -3
  25. package/dist/DiffView/index.js +1 -1
  26. package/dist/DiffView/lineDiff.d.ts +58 -0
  27. package/dist/DiffView/wordDiff.d.ts +47 -0
  28. package/dist/DiffView-J55CPJDX.css +224 -0
  29. package/dist/DocTabsEditor/index.js +6 -6
  30. package/dist/DockColumn/index.js +1 -1
  31. package/dist/DurationField/index.js +5 -5
  32. package/dist/EditingStatus/index.js +2 -2
  33. package/dist/EntityList/index.js +1 -1
  34. package/dist/InlineEditor/index.js +3 -3
  35. package/dist/KeyValueRows/index.js +3 -3
  36. package/dist/ListInput/index.js +6 -6
  37. package/dist/NumberField/index.js +3 -3
  38. package/dist/OpenInAppCard/index.js +2 -2
  39. package/dist/OrgTable/index.js +8 -8
  40. package/dist/PrincipalPicker/index.js +3 -3
  41. package/dist/ProposalCard/index.js +6 -6
  42. package/dist/RailList/index.js +5 -5
  43. package/dist/RefusalCard/index.js +1 -1
  44. package/dist/ResultTableCard/index.js +1 -1
  45. package/dist/RichEditor/index.js +1 -1
  46. package/dist/SectionFrame/index.js +3 -3
  47. package/dist/Select/index.js +2 -2
  48. package/dist/SendKeys/index.js +2 -2
  49. package/dist/SettingForm/index.js +3 -3
  50. package/dist/SettingsTable/index.js +1 -1
  51. package/dist/SetupWizard/index.js +1 -1
  52. package/dist/ShareDialog/index.js +5 -5
  53. package/dist/SheetColumnEditor/index.js +7 -7
  54. package/dist/SidebarNav/index.js +2 -2
  55. package/dist/SlideFilmstrip/index.js +4 -4
  56. package/dist/StatusCard/index.js +1 -1
  57. package/dist/Switcher/index.js +5 -5
  58. package/dist/TableCells/index.js +1 -1
  59. package/dist/TimeRangePicker/index.js +4 -4
  60. package/dist/TimeWindowPicker/index.js +5 -5
  61. package/dist/ToolCallLog/ToolCallLog.d.ts +97 -0
  62. package/dist/ToolCallLog/index.d.ts +3 -0
  63. package/dist/ToolCallLog/index.js +22 -0
  64. package/dist/ToolCallLog-WSK6TEGH.css +288 -0
  65. package/dist/TreeCanvas/index.js +2 -2
  66. package/dist/TreeGrid/index.js +7 -7
  67. package/dist/ValueField/index.js +4 -4
  68. package/dist/VersionCompare/VersionCompare.d.ts +3 -4
  69. package/dist/VersionCompare/index.js +2 -2
  70. package/dist/{chunk-5DLBGF6I.js → chunk-2YAK37D6.js} +1 -1
  71. package/dist/chunk-4U5ATJPP.js +194 -0
  72. package/dist/chunk-4YLN5QVL.js +803 -0
  73. package/dist/{chunk-DWXTJWCJ.js → chunk-5V2DNF3F.js} +3 -3
  74. package/dist/{chunk-6BGD32C5.js → chunk-7DLIVPK4.js} +2 -2
  75. package/dist/{chunk-RGJB34YN.js → chunk-7XUP32RY.js} +1 -1
  76. package/dist/{chunk-D33K2BCZ.js → chunk-C6F5HISC.js} +1 -1
  77. package/dist/{chunk-CJAPAIJG.js → chunk-CFVKNEGM.js} +2 -2
  78. package/dist/{chunk-3Q5USPLM.js → chunk-CSLONHHB.js} +1 -1
  79. package/dist/{chunk-ITZAWYRG.js → chunk-DBXXJOGQ.js} +1 -1
  80. package/dist/{chunk-F6OYNO7O.js → chunk-E6STS4FD.js} +2 -2
  81. package/dist/{chunk-QRUQOITJ.js → chunk-GMHP5KXF.js} +1 -1
  82. package/dist/{chunk-M4VA76JF.js → chunk-MTJ7KNHZ.js} +3 -3
  83. package/dist/{chunk-NB53SAL4.js → chunk-NOZD547E.js} +1 -1
  84. package/dist/{chunk-GFNCMSYS.js → chunk-PPQ3VJUE.js} +1 -1
  85. package/dist/{chunk-S4ADDFRT.js → chunk-S53XH4SS.js} +1 -1
  86. package/dist/{chunk-OX332RI7.js → chunk-SZU2JNJN.js} +1 -1
  87. package/dist/{chunk-OMVGWZ3V.js → chunk-V3HP2HOI.js} +24 -19
  88. package/dist/{chunk-RUKSDKG5.js → chunk-WA4BKMRI.js} +1 -1
  89. package/dist/{chunk-CA62YCFK.js → chunk-WTWYN7Z5.js} +1 -1
  90. package/dist/{chunk-U3ZUZ7VU.js → chunk-Z2YOBQHX.js} +2 -2
  91. package/dist/{chunk-ECYA6XZL.js → chunk-ZPD4XF4H.js} +2 -2
  92. package/dist/generated/index.d.ts +1 -0
  93. package/dist/generated/index.js +77 -76
  94. package/dist/index.js +77 -76
  95. package/dist/styles.css +466 -42
  96. package/package.json +3 -3
  97. package/dist/DiffView-ZI5C25Q3.css +0 -90
  98. package/dist/chunk-F4CM5KD3.js +0 -187
  99. package/dist/{Editor-FXREHINI.js → Editor-VMQ5DK6H.js} +2 -2
  100. package/dist/{chunk-N3R2POGO.js → chunk-2E4MAF6Z.js} +1 -1
  101. package/dist/{chunk-7FY7L6WD.js → chunk-46YFRLA2.js} +1 -1
  102. package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
  103. package/dist/{chunk-Q3SHCEXN.js → chunk-77J2YS55.js} +1 -1
  104. package/dist/{chunk-VXTRPLNB.js → chunk-BFJE3C7Q.js} +1 -1
  105. package/dist/{chunk-657WR3MX.js → chunk-D5UVJL4I.js} +1 -1
  106. package/dist/{chunk-TTUFOH2Y.js → chunk-FNX3YS55.js} +1 -1
  107. package/dist/{chunk-O2J5PSWI.js → chunk-FYJAWS4E.js} +1 -1
  108. package/dist/{chunk-7CVV3DQC.js → chunk-GTJR4APZ.js} +1 -1
  109. package/dist/{chunk-RXHY5T2Z.js → chunk-KJBDOWG7.js} +1 -1
  110. package/dist/{chunk-EDQHZOU3.js → chunk-LPTQN7RS.js} +1 -1
  111. package/dist/{chunk-2DASEYUG.js → chunk-MC5JMA2T.js} +0 -0
  112. package/dist/{chunk-PW6QXVIX.js → chunk-STYJH473.js} +2 -2
  113. package/dist/{chunk-WAF36OFS.js → chunk-T3BIW52Y.js} +1 -1
  114. package/dist/{chunk-7FWYJCKT.js → chunk-WCV44AYD.js} +1 -1
  115. package/dist/{chunk-YWPUT6JQ.js → chunk-YBUUPA5R.js} +1 -1
  116. package/dist/{chunk-5ORAUELE.js → chunk-YGMCXWRA.js} +1 -1
  117. package/dist/{chunk-NG6GEBSJ.js → chunk-YRMDDNFY.js} +1 -1
  118. package/dist/{chunk-UZMXC5T6.js → chunk-YUVQUJND.js} +1 -1
package/dist/styles.css CHANGED
@@ -20183,12 +20183,11 @@ svg.crewlet-datetime__chevron {
20183
20183
  }
20184
20184
 
20185
20185
 
20186
- /* DiffList-3JNPLQ2E.css */
20186
+ /* DiffList-57M6YCNS.css */
20187
20187
  /* DiffList: one path per row, with its mark, its word and its tint.
20188
20188
 
20189
- The tint is the soft step of the state the row is in and the text is the
20190
- matching ink step, which is the pairing the palette suite measures: a fill
20191
- is never text and an ink step is never a background. */
20189
+ An added or removed row takes the diff family's row and sign, as a line of
20190
+ DiffView does; a changed one the warning soft step and its ink. */
20192
20191
  /*
20193
20192
  * HALF A STEP, between the rows and inside them. A diff row is a LINE OF A
20194
20193
  * DOCUMENT rather than an item in a list: at the full 4px step a fifty-line
@@ -20221,13 +20220,13 @@ svg.crewlet-datetime__chevron {
20221
20220
  this replaces read add, remove and replace, which no answer has ever
20222
20221
  carried, so every diff row rendered untinted. */
20223
20222
  .crewlet-diff-list__row--added {
20224
- background: var(--color-feedback-success-soft);
20225
- color: var(--color-feedback-success-ink);
20223
+ background: var(--color-diff-added-row);
20224
+ color: var(--color-diff-added-sign);
20226
20225
  }
20227
20226
 
20228
20227
  .crewlet-diff-list__row--removed {
20229
- background: var(--color-feedback-danger-soft);
20230
- color: var(--color-feedback-danger-ink);
20228
+ background: var(--color-diff-removed-row);
20229
+ color: var(--color-diff-removed-sign);
20231
20230
  }
20232
20231
 
20233
20232
  .crewlet-diff-list__row--changed {
@@ -20343,75 +20342,209 @@ svg.crewlet-datetime__chevron {
20343
20342
  }
20344
20343
 
20345
20344
 
20346
- /* DiffView-ZI5C25Q3.css */
20347
- /* DiffView: a line diff, monospace and line-numbered on both sides.
20348
-
20349
- A changed line is marked three ways, a tint, a drawn mark and a word read
20350
- in its place, because colour alone is not a signal and a printed or
20351
- forced-colours render loses the tint entirely. The tint and the mark are
20352
- the diff family's row and sign, which the palette suite measures together. */
20345
+ /* DiffView-J55CPJDX.css */
20346
+ /* DiffView: a line diff in the diff family's colours, on every surface. A
20347
+ changed line is said three ways, each enough alone: its tint, its glyph with
20348
+ the word read in its place, and the underline on the run an edit changed. */
20353
20349
  .crewlet-diff-view {
20350
+ container: crewlet-diff-view / inline-size;
20351
+ display: flex;
20352
+ flex-direction: column;
20353
+ gap: var(--spacing-2);
20354
+ min-width: 0;
20355
+ }
20356
+
20357
+ /* The diff's own ground: the card rung, which the palette measures its tints over. */
20358
+ .crewlet-diff-view__body {
20354
20359
  overflow: hidden;
20355
20360
  border: 1px solid var(--color-border-default);
20356
20361
  border-radius: var(--radius-sm);
20362
+ background: var(--color-surface-subtle);
20363
+ color: var(--color-text-primary);
20357
20364
  font-family: var(--font-family-mono);
20358
- font-size: var(--font-size-xs);
20359
- line-height: var(--font-line-height-normal);
20365
+ font-size: var(--font-size-compact);
20366
+ line-height: var(--font-line-height-body);
20360
20367
  }
20361
20368
 
20362
- .crewlet-diff-view__section + .crewlet-diff-view__section,
20363
- .crewlet-diff-view__skip + .crewlet-diff-view__line {
20364
- border-top: 1px solid var(--color-border-default);
20369
+ /* A line's tracks: numbers (or a path), the mark, the text. Widths come from
20370
+ the counts the component publishes, so every window block lands on them. */
20371
+ .crewlet-diff-view__line {
20372
+ display: grid;
20373
+ grid-template-columns: 2ch minmax(0, 1fr);
20374
+ column-gap: var(--spacing-2);
20375
+ padding: calc(var(--spacing-1) / 4) var(--spacing-3) calc(var(--spacing-1) / 4) var(--spacing-2);
20365
20376
  }
20366
20377
 
20367
- /* A GAP SAYS WHAT IT STANDS FOR. Silently closed, a document edited at both
20368
- ends looks like one rewritten in the middle. */
20369
- .crewlet-diff-view__skip {
20370
- padding: var(--spacing-1) var(--spacing-3);
20371
- background: var(--color-surface-elevated);
20372
- color: var(--color-text-tertiary);
20373
- font-family: var(--font-family-sans);
20374
- font-size: var(--font-size-xs);
20378
+ .crewlet-diff-view--numbered .crewlet-diff-view__line {
20379
+ --crewlet-diff-gutter: calc(var(--spacing-2) * 2.5 + var(--crewlet-diff-digits) * 2ch);
20380
+
20381
+ grid-template-columns: calc(var(--crewlet-diff-digits) * 1ch) calc(var(--crewlet-diff-digits) * 1ch) 2ch minmax(0, 1fr);
20375
20382
  }
20376
20383
 
20377
- .crewlet-diff-view__line {
20378
- display: grid;
20379
- grid-template-columns: 3.5ch 3.5ch 2ch minmax(0, 1fr);
20380
- gap: var(--spacing-2);
20381
- padding: calc(var(--spacing-1) / 4) var(--spacing-3) calc(var(--spacing-1) / 4) var(--spacing-2);
20384
+ .crewlet-diff-view--numbered.crewlet-diff-view--split .crewlet-diff-view__line {
20385
+ --crewlet-diff-gutter: calc(var(--spacing-2) * 1.5 + var(--crewlet-diff-digits) * 1ch);
20386
+
20387
+ grid-template-columns: calc(var(--crewlet-diff-digits) * 1ch) 2ch minmax(0, 1fr);
20388
+ }
20389
+
20390
+ /* A path takes up to 40% of the line; the value keeps its own track, so a
20391
+ line that continues the setting above (and draws no path) lines up under it. */
20392
+ .crewlet-diff-view--keyed .crewlet-diff-view__line {
20393
+ grid-template-columns: 2ch min(calc(var(--crewlet-diff-path) * 1ch), 40%) minmax(0, 1fr);
20394
+ }
20395
+
20396
+ .crewlet-diff-view--keyed .crewlet-diff-view__text {
20397
+ grid-column: 3;
20398
+ }
20399
+
20400
+ /* The tints, with the numbers on a band in the sign's ink. The band is an
20401
+ inset shadow, so forced colours drop it with the tint and keep the glyph. */
20402
+ .crewlet-diff-view__line--add {
20403
+ background: var(--color-diff-added-row);
20404
+ box-shadow: inset var(--crewlet-diff-gutter, 0) 0 0 var(--color-diff-added-gutter);
20405
+ }
20406
+
20407
+ .crewlet-diff-view__line--remove {
20408
+ background: var(--color-diff-removed-row);
20409
+ box-shadow: inset var(--crewlet-diff-gutter, 0) 0 0 var(--color-diff-removed-gutter);
20382
20410
  }
20383
20411
 
20384
20412
  .crewlet-diff-view__number {
20385
20413
  color: var(--color-text-tertiary);
20386
20414
  text-align: right;
20387
- user-select: none;
20388
20415
  font-variant-numeric: tabular-nums;
20416
+ user-select: none;
20417
+ }
20418
+
20419
+ .crewlet-diff-view__line--add .crewlet-diff-view__mark,
20420
+ .crewlet-diff-view__line--add .crewlet-diff-view__number {
20421
+ color: var(--color-diff-added-sign);
20422
+ }
20423
+
20424
+ .crewlet-diff-view__line--remove .crewlet-diff-view__mark,
20425
+ .crewlet-diff-view__line--remove .crewlet-diff-view__number {
20426
+ color: var(--color-diff-removed-sign);
20427
+ }
20428
+
20429
+ /* A number that picks its line: the number, pressable, its underline answering the pointer. */
20430
+ .crewlet-diff-view__pick {
20431
+ padding: 0;
20432
+ border: 0;
20433
+ background: none;
20434
+ font: inherit;
20435
+ cursor: pointer;
20436
+ }
20437
+
20438
+ .crewlet-diff-view__pick:hover {
20439
+ text-decoration-line: underline;
20440
+ }
20441
+
20442
+ /* A picked line: the selected tint in place of its tints and band, an accent
20443
+ bar at its start; its glyph and its run's underline stay. */
20444
+ .crewlet-diff-view__line--picked {
20445
+ background: var(--color-surface-selected);
20446
+ box-shadow: inset 2px 0 0 var(--color-brand-accent);
20447
+ outline: 2px solid transparent;
20448
+ outline-offset: -2px;
20449
+ }
20450
+
20451
+ .crewlet-diff-view__line--picked .crewlet-diff-view__number {
20452
+ color: var(--color-text-tertiary);
20389
20453
  }
20390
20454
 
20391
20455
  .crewlet-diff-view__mark {
20456
+ color: var(--color-text-secondary);
20392
20457
  text-align: center;
20393
20458
  user-select: none;
20394
20459
  }
20395
20460
 
20461
+ .crewlet-diff-view__path {
20462
+ min-width: 0;
20463
+ overflow-wrap: anywhere;
20464
+ }
20465
+
20466
+ /* Nothing is cut: a line wraps and keeps its own spacing. */
20396
20467
  .crewlet-diff-view__text {
20468
+ min-width: 0;
20397
20469
  white-space: pre-wrap;
20398
20470
  overflow-wrap: anywhere;
20399
20471
  }
20400
20472
 
20401
- .crewlet-diff-view__line--add {
20402
- background: var(--color-diff-added-row);
20473
+ /* Where an edited line changed: its word tint under the line's own ink, underlined. */
20474
+ .crewlet-diff-view__run {
20475
+ text-decoration-line: underline;
20476
+ text-decoration-thickness: from-font;
20477
+ text-underline-position: under;
20403
20478
  }
20404
20479
 
20405
- .crewlet-diff-view__line--add .crewlet-diff-view__mark {
20406
- color: var(--color-diff-added-sign);
20480
+ .crewlet-diff-view__line--add .crewlet-diff-view__run {
20481
+ background: var(--color-diff-added-word);
20482
+ color: var(--color-text-primary);
20407
20483
  }
20408
20484
 
20409
- .crewlet-diff-view__line--remove {
20410
- background: var(--color-diff-removed-row);
20485
+ .crewlet-diff-view__line--remove .crewlet-diff-view__run {
20486
+ background: var(--color-diff-removed-word);
20487
+ color: var(--color-text-primary);
20411
20488
  }
20412
20489
 
20413
- .crewlet-diff-view__line--remove .crewlet-diff-view__mark {
20414
- color: var(--color-diff-removed-sign);
20490
+ .crewlet-diff-view__line--picked .crewlet-diff-view__run {
20491
+ background: none;
20492
+ }
20493
+
20494
+ /* What a host draws under a line, on the diff's ground in the body's face. */
20495
+ .crewlet-diff-view__notes {
20496
+ display: flex;
20497
+ flex-direction: column;
20498
+ gap: var(--spacing-2);
20499
+ padding: var(--spacing-2) var(--spacing-3);
20500
+ border-block: 1px solid var(--color-border-default);
20501
+ font-family: var(--font-family-sans);
20502
+ }
20503
+
20504
+ /* A gap says what it stands for, on the hunk row. */
20505
+ .crewlet-diff-view__skip {
20506
+ padding: var(--spacing-1) var(--spacing-3);
20507
+ border-block: 1px solid var(--color-border-default);
20508
+ background: var(--color-diff-hunk-row);
20509
+ color: var(--color-text-tertiary);
20510
+ font-family: var(--font-family-sans);
20511
+ font-size: var(--font-size-xs);
20512
+ }
20513
+
20514
+ .crewlet-diff-view__block:first-child > .crewlet-diff-view__skip:first-child {
20515
+ border-block-start: none;
20516
+ }
20517
+
20518
+ /* Split: the older text on the left, the newer on the right. */
20519
+ .crewlet-diff-view__pair {
20520
+ display: grid;
20521
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
20522
+ }
20523
+
20524
+ .crewlet-diff-view__pair > :last-child {
20525
+ border-inline-start: 1px solid var(--color-border-default);
20526
+ }
20527
+
20528
+ /* A comparison not made is said in place of every row; "Nothing changed" is quieter. */
20529
+ .crewlet-diff-view__said {
20530
+ margin: 0;
20531
+ color: var(--color-text-secondary);
20532
+ font-size: var(--font-size-compact);
20533
+ }
20534
+
20535
+ .crewlet-diff-view__said--quiet {
20536
+ color: var(--color-text-tertiary);
20537
+ }
20538
+
20539
+ /* On a narrow diff a setting's value takes the row under its path. */
20540
+ @container crewlet-diff-view (width < 640px) {
20541
+ .crewlet-diff-view--keyed .crewlet-diff-view__line {
20542
+ grid-template-columns: 2ch minmax(0, 1fr);
20543
+ }
20544
+
20545
+ .crewlet-diff-view--keyed .crewlet-diff-view__text {
20546
+ grid-column: 2;
20547
+ }
20415
20548
  }
20416
20549
 
20417
20550
  /* DiffSummary: the size of the change, in the same inks as its lines. */
@@ -49377,6 +49510,297 @@ svg.crewlet-time-window__tick {
49377
49510
  }
49378
49511
 
49379
49512
 
49513
+ /* ToolCallLog-WSK6TEGH.css */
49514
+ /*
49515
+ * ToolCallLog: an agent's run as rows in a well, a code block's surface. Tool
49516
+ * rows are a status mark, the tool, its key argument in mono and a duration;
49517
+ * the agent's own words read as sans narration between them.
49518
+ */
49519
+
49520
+ .crewlet-tool-call-log {
49521
+ display: flex;
49522
+ flex-direction: column;
49523
+ min-width: 0;
49524
+ border: 1px solid var(--color-border-default);
49525
+ border-radius: var(--radius-md);
49526
+ background: var(--color-surface-subtle);
49527
+ overflow: hidden;
49528
+ }
49529
+
49530
+ /* Straight in a card it takes the card's surface, as a code block does. */
49531
+ .crewlet-card > .crewlet-tool-call-log {
49532
+ border: 0;
49533
+ border-radius: var(--radius-none);
49534
+ background: transparent;
49535
+ }
49536
+
49537
+ .crewlet-tool-call-log__header {
49538
+ display: flex;
49539
+ align-items: center;
49540
+ justify-content: space-between;
49541
+ gap: var(--spacing-3);
49542
+ min-height: var(--size-row-md);
49543
+ padding: var(--spacing-1) var(--spacing-2) var(--spacing-1) var(--spacing-3);
49544
+ border-bottom: 1px solid var(--color-border-default);
49545
+ }
49546
+
49547
+ .crewlet-tool-call-log__title {
49548
+ display: flex;
49549
+ flex-wrap: wrap;
49550
+ align-items: baseline;
49551
+ column-gap: var(--spacing-2);
49552
+ min-width: 0;
49553
+ }
49554
+
49555
+ .crewlet-tool-call-log__label {
49556
+ font-size: var(--font-size-compact);
49557
+ font-weight: var(--font-weight-semibold);
49558
+ color: var(--color-text-primary);
49559
+ }
49560
+
49561
+ .crewlet-tool-call-log__caption {
49562
+ min-width: 0;
49563
+ font-size: var(--font-size-xs);
49564
+ color: var(--color-text-tertiary);
49565
+ overflow-wrap: anywhere;
49566
+ }
49567
+
49568
+ .crewlet-tool-call-log__copy {
49569
+ flex: none;
49570
+ }
49571
+
49572
+ /* Grows with its rows up to the bound, then scrolls inside the thread. */
49573
+ .crewlet-tool-call-log__body {
49574
+ display: flex;
49575
+ flex-direction: column;
49576
+ min-height: 0;
49577
+ max-height: var(--crewlet-tool-call-log-max-height, 28rem);
49578
+ }
49579
+
49580
+ .crewlet-tool-call-log__thread .crewlet-chat-thread__items {
49581
+ gap: var(--spacing-1);
49582
+ padding: var(--spacing-2) var(--spacing-3);
49583
+ }
49584
+
49585
+ /* Room for the focus ring of the first and last rows' controls. */
49586
+ .crewlet-tool-call-log__thread .crewlet-chat-thread__scroller {
49587
+ scroll-padding-block: var(--spacing-2);
49588
+ }
49589
+
49590
+ .crewlet-tool-call-log__call,
49591
+ .crewlet-tool-call-log__group {
49592
+ --crewlet-tool-call-log-gutter: calc(14px + var(--spacing-2));
49593
+
49594
+ display: flex;
49595
+ flex-direction: column;
49596
+ gap: calc(var(--spacing-1) / 2);
49597
+ min-width: 0;
49598
+ padding-block: calc(var(--spacing-1) / 2);
49599
+ }
49600
+
49601
+ .crewlet-tool-call-log__head {
49602
+ display: grid;
49603
+ grid-template-columns: auto auto minmax(0, 1fr) auto;
49604
+ align-items: center;
49605
+ column-gap: var(--spacing-2);
49606
+ min-width: 0;
49607
+ min-height: var(--size-target-min);
49608
+ }
49609
+
49610
+ .crewlet-tool-call-log__mark {
49611
+ display: inline-flex;
49612
+ align-items: center;
49613
+ justify-content: center;
49614
+ width: 14px;
49615
+ color: var(--color-text-tertiary);
49616
+ }
49617
+
49618
+ .crewlet-tool-call-log__mark-glyph {
49619
+ display: inline-flex;
49620
+ }
49621
+
49622
+ .crewlet-tool-call-log__mark--ok {
49623
+ color: var(--color-feedback-success-ink);
49624
+ }
49625
+
49626
+ .crewlet-tool-call-log__mark--error {
49627
+ color: var(--color-feedback-danger-ink);
49628
+ }
49629
+
49630
+ .crewlet-tool-call-log__mark--running {
49631
+ color: var(--color-text-secondary);
49632
+ }
49633
+
49634
+ .crewlet-tool-call-log__tool {
49635
+ font-size: var(--font-size-compact);
49636
+ font-weight: var(--font-weight-semibold);
49637
+ line-height: var(--font-line-height-snug);
49638
+ color: var(--color-text-primary);
49639
+ white-space: nowrap;
49640
+ }
49641
+
49642
+ /* One line, cut to fit: the whole argument is its title and the open input. */
49643
+ .crewlet-tool-call-log__detail {
49644
+ min-width: 0;
49645
+ overflow: hidden;
49646
+ font-family: var(--font-family-mono);
49647
+ font-size: var(--font-size-xs);
49648
+ line-height: var(--font-line-height-snug);
49649
+ color: var(--color-text-secondary);
49650
+ text-overflow: ellipsis;
49651
+ white-space: nowrap;
49652
+ }
49653
+
49654
+ .crewlet-tool-call-log__duration {
49655
+ font-size: var(--font-size-xs);
49656
+ font-variant-numeric: tabular-nums;
49657
+ color: var(--color-text-tertiary);
49658
+ white-space: nowrap;
49659
+ }
49660
+
49661
+ .crewlet-tool-call-log__error,
49662
+ .crewlet-tool-call-log__more,
49663
+ .crewlet-tool-call-log__full {
49664
+ margin: 0;
49665
+ margin-inline-start: var(--crewlet-tool-call-log-gutter);
49666
+ }
49667
+
49668
+ .crewlet-tool-call-log__error {
49669
+ min-width: 0;
49670
+ font-family: var(--font-family-mono);
49671
+ font-size: var(--font-size-xs);
49672
+ line-height: var(--font-line-height-normal);
49673
+ color: var(--color-feedback-danger-ink);
49674
+ white-space: pre-wrap;
49675
+ overflow-wrap: anywhere;
49676
+ }
49677
+
49678
+ /* A run's count of failures is words, not output. */
49679
+ .crewlet-tool-call-log__error--count {
49680
+ font-family: var(--font-family-sans);
49681
+ }
49682
+
49683
+ /* A quiet text control: the words and a chevron, the kit's focus ring. */
49684
+ .crewlet-tool-call-log__more,
49685
+ .crewlet-tool-call-log__group-toggle {
49686
+ display: inline-flex;
49687
+ align-items: center;
49688
+ gap: var(--spacing-1);
49689
+ min-width: 0;
49690
+ min-height: var(--size-target-min);
49691
+ padding: 0 var(--spacing-1);
49692
+ border: 0;
49693
+ border-radius: var(--radius-xs);
49694
+ background: transparent;
49695
+ font: inherit;
49696
+ cursor: pointer;
49697
+ }
49698
+
49699
+ .crewlet-tool-call-log__more {
49700
+ align-self: flex-start;
49701
+ margin-inline-start: calc(var(--crewlet-tool-call-log-gutter) - var(--spacing-1));
49702
+ font-size: var(--font-size-xs);
49703
+ line-height: var(--font-line-height-normal);
49704
+ color: var(--color-text-link-quiet);
49705
+ }
49706
+
49707
+ .crewlet-tool-call-log__group-toggle {
49708
+ margin-inline: calc(var(--spacing-1) * -1) 0;
49709
+ color: inherit;
49710
+ }
49711
+
49712
+ .crewlet-tool-call-log__more:hover,
49713
+ .crewlet-tool-call-log__group-toggle:hover {
49714
+ background: var(--color-surface-hover);
49715
+ }
49716
+
49717
+ .crewlet-tool-call-log__more:focus-visible,
49718
+ .crewlet-tool-call-log__group-toggle:focus-visible {
49719
+ outline: 2px solid var(--color-focus);
49720
+ outline-offset: 0;
49721
+ }
49722
+
49723
+ .crewlet-tool-call-log__chevron {
49724
+ display: inline-flex;
49725
+ color: var(--color-text-tertiary);
49726
+ }
49727
+
49728
+ .crewlet-tool-call-log__full[hidden],
49729
+ .crewlet-tool-call-log__members[hidden] {
49730
+ display: none;
49731
+ }
49732
+
49733
+ .crewlet-tool-call-log__input {
49734
+ margin: var(--spacing-1) 0 0;
49735
+ padding: var(--spacing-2);
49736
+ border-radius: var(--radius-sm);
49737
+ background: var(--color-surface-inset);
49738
+ font-family: var(--font-family-mono);
49739
+ font-size: var(--font-size-xs);
49740
+ line-height: var(--font-line-height-normal);
49741
+ color: var(--color-text-secondary);
49742
+ white-space: pre-wrap;
49743
+ overflow-wrap: anywhere;
49744
+ }
49745
+
49746
+ .crewlet-tool-call-log__unkept {
49747
+ margin: var(--spacing-1) 0 0;
49748
+ font-size: var(--font-size-xs);
49749
+ color: var(--color-text-tertiary);
49750
+ }
49751
+
49752
+ .crewlet-tool-call-log__members {
49753
+ display: flex;
49754
+ flex-direction: column;
49755
+ min-width: 0;
49756
+ margin-inline-start: var(--crewlet-tool-call-log-gutter);
49757
+ padding-inline-start: var(--spacing-2);
49758
+ border-inline-start: 1px solid var(--color-border-default);
49759
+ }
49760
+
49761
+ /* Narration: the agent's own words, sans and primary, set off from the rows. */
49762
+ .crewlet-tool-call-log__say {
49763
+ margin: var(--spacing-1) 0;
49764
+ font-family: var(--font-family-sans);
49765
+ font-size: var(--font-size-compact);
49766
+ line-height: var(--font-line-height-body);
49767
+ color: var(--color-text-primary);
49768
+ white-space: pre-wrap;
49769
+ overflow-wrap: anywhere;
49770
+ }
49771
+
49772
+ .crewlet-tool-call-log__note {
49773
+ display: flex;
49774
+ align-items: flex-start;
49775
+ gap: var(--spacing-2);
49776
+ margin: var(--spacing-1) 0;
49777
+ font-size: var(--font-size-xs);
49778
+ line-height: var(--font-line-height-normal);
49779
+ color: var(--color-text-tertiary);
49780
+ white-space: pre-wrap;
49781
+ overflow-wrap: anywhere;
49782
+ }
49783
+
49784
+ .crewlet-tool-call-log__note-mark {
49785
+ display: inline-flex;
49786
+ flex: none;
49787
+ height: calc(var(--font-size-xs) * var(--font-line-height-normal));
49788
+ align-items: center;
49789
+ }
49790
+
49791
+ .crewlet-tool-call-log__note-text {
49792
+ min-width: 0;
49793
+ }
49794
+
49795
+ .crewlet-tool-call-log__note--warning {
49796
+ color: var(--color-feedback-warning-ink);
49797
+ }
49798
+
49799
+ .crewlet-tool-call-log__note--danger {
49800
+ color: var(--color-feedback-danger-ink);
49801
+ }
49802
+
49803
+
49380
49804
  /* Toolbar-DRFD6TQW.css */
49381
49805
  /*
49382
49806
  * The toolbar row.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.152.0",
3
+ "version": "0.154.0",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.152.0",
46
- "@crewlethq/tokens": "0.152.0",
45
+ "@crewlethq/icons": "0.154.0",
46
+ "@crewlethq/tokens": "0.154.0",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",
@@ -1,90 +0,0 @@
1
- /* DiffView: a line diff, monospace and line-numbered on both sides.
2
-
3
- A changed line is marked three ways, a tint, a drawn mark and a word read
4
- in its place, because colour alone is not a signal and a printed or
5
- forced-colours render loses the tint entirely. The tint and the mark are
6
- the diff family's row and sign, which the palette suite measures together. */
7
- .crewlet-diff-view {
8
- overflow: hidden;
9
- border: 1px solid var(--color-border-default);
10
- border-radius: var(--radius-sm);
11
- font-family: var(--font-family-mono);
12
- font-size: var(--font-size-xs);
13
- line-height: var(--font-line-height-normal);
14
- }
15
-
16
- .crewlet-diff-view__section + .crewlet-diff-view__section,
17
- .crewlet-diff-view__skip + .crewlet-diff-view__line {
18
- border-top: 1px solid var(--color-border-default);
19
- }
20
-
21
- /* A GAP SAYS WHAT IT STANDS FOR. Silently closed, a document edited at both
22
- ends looks like one rewritten in the middle. */
23
- .crewlet-diff-view__skip {
24
- padding: var(--spacing-1) var(--spacing-3);
25
- background: var(--color-surface-elevated);
26
- color: var(--color-text-tertiary);
27
- font-family: var(--font-family-sans);
28
- font-size: var(--font-size-xs);
29
- }
30
-
31
- .crewlet-diff-view__line {
32
- display: grid;
33
- grid-template-columns: 3.5ch 3.5ch 2ch minmax(0, 1fr);
34
- gap: var(--spacing-2);
35
- padding: calc(var(--spacing-1) / 4) var(--spacing-3) calc(var(--spacing-1) / 4) var(--spacing-2);
36
- }
37
-
38
- .crewlet-diff-view__number {
39
- color: var(--color-text-tertiary);
40
- text-align: right;
41
- user-select: none;
42
- font-variant-numeric: tabular-nums;
43
- }
44
-
45
- .crewlet-diff-view__mark {
46
- text-align: center;
47
- user-select: none;
48
- }
49
-
50
- .crewlet-diff-view__text {
51
- white-space: pre-wrap;
52
- overflow-wrap: anywhere;
53
- }
54
-
55
- .crewlet-diff-view__line--add {
56
- background: var(--color-diff-added-row);
57
- }
58
-
59
- .crewlet-diff-view__line--add .crewlet-diff-view__mark {
60
- color: var(--color-diff-added-sign);
61
- }
62
-
63
- .crewlet-diff-view__line--remove {
64
- background: var(--color-diff-removed-row);
65
- }
66
-
67
- .crewlet-diff-view__line--remove .crewlet-diff-view__mark {
68
- color: var(--color-diff-removed-sign);
69
- }
70
-
71
- /* DiffSummary: the size of the change, in the same inks as its lines. */
72
- .crewlet-diff-summary {
73
- margin: 0;
74
- color: var(--color-text-secondary);
75
- font-size: var(--font-size-compact);
76
- }
77
-
78
- .crewlet-diff-summary__added,
79
- .crewlet-diff-summary__removed {
80
- font-family: var(--font-family-mono);
81
- font-variant-numeric: tabular-nums;
82
- }
83
-
84
- .crewlet-diff-summary__added {
85
- color: var(--color-diff-added-sign);
86
- }
87
-
88
- .crewlet-diff-summary__removed {
89
- color: var(--color-diff-removed-sign);
90
- }