@crewlethq/ui 0.112.0 → 0.113.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.
- package/README.md +1 -1
- package/dist/ActivityLine/ActivityLine.d.ts +16 -22
- package/dist/ActivityLine/index.js +4 -2
- package/dist/ActivityLine-TIMSOQGU.css +32 -0
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/AvatarPicker/index.js +3 -3
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/CommentThread/index.js +1 -1
- package/dist/OrgTable/index.js +2 -2
- package/dist/RichEditor/index.js +1 -1
- package/dist/ShareDialog/index.js +2 -2
- package/dist/SheetGrid/index.js +3 -3
- package/dist/TableCells/index.js +1 -1
- package/dist/ThreadSummary/ThreadSummary.d.ts +1 -1
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/WorkingLine/BouncingDots.d.ts +8 -0
- package/dist/WorkingLine/WorkingLine.d.ts +97 -0
- package/dist/WorkingLine/index.d.ts +5 -0
- package/dist/WorkingLine/index.js +5 -0
- package/dist/WorkingLine-NUFSSAOL.css +332 -0
- package/dist/{chunk-ECGYBWRI.js → chunk-32QH3CAO.js} +1 -1
- package/dist/{chunk-45VQPH27.js → chunk-6S2Q4DGN.js} +1 -1
- package/dist/chunk-RNIPNSCH.js +158 -0
- package/dist/chunk-ZLCPU4HW.js +17 -0
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +38 -37
- package/dist/index.js +38 -37
- package/dist/styles.css +343 -50
- package/package.json +3 -3
- package/dist/ActivityLine-AMSERTOB.css +0 -74
- package/dist/chunk-5YFQMMTJ.js +0 -29
- package/dist/{Editor-YITN2DWX.js → Editor-XT73VTSJ.js} +1 -1
- package/dist/{chunk-AQMB6ONN.js → chunk-2NUQBD3O.js} +1 -1
- package/dist/{chunk-LNQSNXGJ.js → chunk-S4JRQJEP.js} +1 -1
- package/dist/{chunk-ENYB3HIA.js → chunk-TEOJ7OKD.js} +1 -1
- /package/dist/{chunk-2DYEPDT7.js → chunk-XDBCWSM5.js} +0 -0
package/dist/styles.css
CHANGED
|
@@ -242,9 +242,9 @@
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
|
|
245
|
-
/* ActivityLine-
|
|
245
|
+
/* ActivityLine-TIMSOQGU.css */
|
|
246
246
|
/*
|
|
247
|
-
* Who is typing and which
|
|
247
|
+
* Who is typing and which agents are working, under a composer, in the meta
|
|
248
248
|
* step and the tertiary ink.
|
|
249
249
|
*/
|
|
250
250
|
|
|
@@ -259,63 +259,21 @@
|
|
|
259
259
|
font-size: var(--crewlet-chat-meta);
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
/* No piece is wider than the line: a long working
|
|
262
|
+
/* No piece is wider than the line: a long working line truncates. */
|
|
263
263
|
.crewlet-activity-line > * {
|
|
264
264
|
max-width: 100%;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
/* The working line in the line's own step, over the indicator's. */
|
|
268
|
-
.crewlet-activity-line .crewlet-activity-line__working {
|
|
269
|
-
font-size: var(--crewlet-chat-meta);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
267
|
.crewlet-activity-line__typing {
|
|
273
268
|
display: inline-flex;
|
|
274
269
|
align-items: center;
|
|
275
|
-
gap: var(--spacing-
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.crewlet-activity-line__dots {
|
|
279
|
-
display: inline-flex;
|
|
280
|
-
gap: 2px;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.crewlet-activity-line__dots > i {
|
|
284
|
-
width: 4px;
|
|
285
|
-
height: 4px;
|
|
286
|
-
border-radius: var(--radius-circle);
|
|
287
|
-
background: currentColor;
|
|
288
|
-
animation: crewlet-activity-line-typing calc(var(--motion-duration-slow) * 4) var(--motion-easing-in-out) infinite;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.crewlet-activity-line__dots > i:nth-child(2) {
|
|
292
|
-
animation-delay: var(--motion-duration-base);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.crewlet-activity-line__dots > i:nth-child(3) {
|
|
296
|
-
animation-delay: var(--motion-duration-slow);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
@keyframes crewlet-activity-line-typing {
|
|
300
|
-
0%,
|
|
301
|
-
60%,
|
|
302
|
-
100% {
|
|
303
|
-
opacity: 0.3;
|
|
304
|
-
transform: none;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
30% {
|
|
308
|
-
opacity: 1;
|
|
309
|
-
transform: translateY(-2px);
|
|
310
|
-
}
|
|
270
|
+
gap: var(--spacing-1);
|
|
311
271
|
}
|
|
312
272
|
|
|
313
|
-
/*
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
animation: none;
|
|
318
|
-
}
|
|
273
|
+
/* Nobody typing: the live region stays mounted but out of the flow, so it
|
|
274
|
+
never wraps onto a line of its own beside a long working line. */
|
|
275
|
+
.crewlet-activity-line__typing:empty {
|
|
276
|
+
position: absolute;
|
|
319
277
|
}
|
|
320
278
|
|
|
321
279
|
|
|
@@ -49567,3 +49525,338 @@ svg.crewlet-time-window__tick {
|
|
|
49567
49525
|
flex: none;
|
|
49568
49526
|
color: var(--color-feedback-warning-ink);
|
|
49569
49527
|
}
|
|
49528
|
+
|
|
49529
|
+
|
|
49530
|
+
/* WorkingLine-NUFSSAOL.css */
|
|
49531
|
+
/*
|
|
49532
|
+
* Every agent at work on one line (WorkingLine.tsx): a stack of faces, one
|
|
49533
|
+
* sentence under a sweeping band, bouncing dots, and one line per agent on
|
|
49534
|
+
* demand. In the chat's meta step, so it sits under a message, at the end of
|
|
49535
|
+
* a thread and under a composer alike.
|
|
49536
|
+
*/
|
|
49537
|
+
|
|
49538
|
+
.crewlet-working-line {
|
|
49539
|
+
/* The ground the faces' cut-out is drawn in: the transcript's. */
|
|
49540
|
+
--crewlet-avatar-stack-ground: var(--crewlet-chat-ground);
|
|
49541
|
+
display: flex;
|
|
49542
|
+
flex-direction: column;
|
|
49543
|
+
min-width: 0;
|
|
49544
|
+
max-width: 100%;
|
|
49545
|
+
color: var(--color-text-secondary);
|
|
49546
|
+
font-family: var(--font-family-sans);
|
|
49547
|
+
font-size: var(--crewlet-chat-meta);
|
|
49548
|
+
line-height: 20px;
|
|
49549
|
+
}
|
|
49550
|
+
|
|
49551
|
+
/* Nobody at work: no box at all, only the live region, which is positioned
|
|
49552
|
+
out of the flow, so a host's gap and height never count an empty line. */
|
|
49553
|
+
.crewlet-working-line.is-idle {
|
|
49554
|
+
display: contents;
|
|
49555
|
+
}
|
|
49556
|
+
|
|
49557
|
+
/* One line as tall as its 20px faces, never wider than its column. */
|
|
49558
|
+
.crewlet-working-line__summary {
|
|
49559
|
+
position: relative;
|
|
49560
|
+
display: flex;
|
|
49561
|
+
align-items: center;
|
|
49562
|
+
gap: var(--spacing-2);
|
|
49563
|
+
min-width: 0;
|
|
49564
|
+
max-width: 100%;
|
|
49565
|
+
min-height: 20px;
|
|
49566
|
+
border-radius: var(--radius-sm);
|
|
49567
|
+
}
|
|
49568
|
+
|
|
49569
|
+
.crewlet-working-line__faces {
|
|
49570
|
+
flex: none;
|
|
49571
|
+
}
|
|
49572
|
+
|
|
49573
|
+
/*
|
|
49574
|
+
* THE WORDS. Only the names give way where the column is narrow, down to a
|
|
49575
|
+
* few letters, so the count of the rest, the verb and the dots always read
|
|
49576
|
+
* whole: any shrink at all would put an ellipsis in the verb. Past that, in a
|
|
49577
|
+
* column too narrow for the line, the words are clipped rather than spilling
|
|
49578
|
+
* out of it.
|
|
49579
|
+
*/
|
|
49580
|
+
.crewlet-working-line__text {
|
|
49581
|
+
display: flex;
|
|
49582
|
+
align-items: baseline;
|
|
49583
|
+
gap: var(--spacing-1);
|
|
49584
|
+
min-width: 0;
|
|
49585
|
+
overflow: hidden;
|
|
49586
|
+
white-space: nowrap;
|
|
49587
|
+
}
|
|
49588
|
+
|
|
49589
|
+
/*
|
|
49590
|
+
* Who: the names and, after three or more, the count of the rest, which is
|
|
49591
|
+
* drawn whole. A grid, because its names track (at least a few letters, at
|
|
49592
|
+
* most every name) is what bounds how far the pair shrinks; unwrapped text in
|
|
49593
|
+
* a flex row would count its whole width as its minimum. The sweep crosses
|
|
49594
|
+
* both, clipped to their glyphs.
|
|
49595
|
+
*/
|
|
49596
|
+
.crewlet-working-line__who {
|
|
49597
|
+
display: grid;
|
|
49598
|
+
flex: 0 1 auto;
|
|
49599
|
+
grid-auto-columns: max-content;
|
|
49600
|
+
grid-auto-flow: column;
|
|
49601
|
+
grid-template-columns: minmax(var(--spacing-6), max-content);
|
|
49602
|
+
column-gap: var(--spacing-1);
|
|
49603
|
+
color: var(--color-text-secondary);
|
|
49604
|
+
font-weight: var(--font-weight-medium);
|
|
49605
|
+
}
|
|
49606
|
+
|
|
49607
|
+
.crewlet-working-line__names {
|
|
49608
|
+
overflow: hidden;
|
|
49609
|
+
text-overflow: ellipsis;
|
|
49610
|
+
}
|
|
49611
|
+
|
|
49612
|
+
.crewlet-working-line__verb {
|
|
49613
|
+
flex: none;
|
|
49614
|
+
animation: crewlet-working-line-phase var(--motion-duration-slow) var(--motion-easing-out);
|
|
49615
|
+
}
|
|
49616
|
+
|
|
49617
|
+
.crewlet-working-line__queued {
|
|
49618
|
+
flex: none;
|
|
49619
|
+
color: var(--color-text-tertiary);
|
|
49620
|
+
}
|
|
49621
|
+
|
|
49622
|
+
.crewlet-working-line__queued::before {
|
|
49623
|
+
content: '\00b7';
|
|
49624
|
+
margin-inline-end: var(--spacing-1);
|
|
49625
|
+
}
|
|
49626
|
+
|
|
49627
|
+
/*
|
|
49628
|
+
* THE SWEEP: a lighter band crosses the names, left to right, then rests off
|
|
49629
|
+
* the end for the last 30% of the period before it loops. The names are the
|
|
49630
|
+
* secondary ink at rest and the band is the primary ink, so they read at every
|
|
49631
|
+
* point of it in both palettes. The gradient is twice the names' width and
|
|
49632
|
+
* repeats, so the band enters from beyond the start and leaves past the end.
|
|
49633
|
+
*/
|
|
49634
|
+
@supports (background-clip: text) or (-webkit-background-clip: text) {
|
|
49635
|
+
.crewlet-working-line__who {
|
|
49636
|
+
background-image: linear-gradient(
|
|
49637
|
+
90deg,
|
|
49638
|
+
var(--color-text-secondary) 0%,
|
|
49639
|
+
var(--color-text-secondary) 43%,
|
|
49640
|
+
var(--color-text-primary) 50%,
|
|
49641
|
+
var(--color-text-secondary) 57%,
|
|
49642
|
+
var(--color-text-secondary) 100%
|
|
49643
|
+
);
|
|
49644
|
+
background-size: 200% 100%;
|
|
49645
|
+
-webkit-background-clip: text;
|
|
49646
|
+
background-clip: text;
|
|
49647
|
+
color: transparent;
|
|
49648
|
+
animation: crewlet-working-line-sweep var(--motion-duration-breath) linear infinite;
|
|
49649
|
+
}
|
|
49650
|
+
}
|
|
49651
|
+
|
|
49652
|
+
@keyframes crewlet-working-line-sweep {
|
|
49653
|
+
0% {
|
|
49654
|
+
background-position: 150% 0;
|
|
49655
|
+
}
|
|
49656
|
+
|
|
49657
|
+
70%,
|
|
49658
|
+
100% {
|
|
49659
|
+
background-position: -50% 0;
|
|
49660
|
+
}
|
|
49661
|
+
}
|
|
49662
|
+
|
|
49663
|
+
/* A new phrase arrives from a third of its strength, so the change is seen
|
|
49664
|
+
without the words ever vanishing. */
|
|
49665
|
+
@keyframes crewlet-working-line-phase {
|
|
49666
|
+
from {
|
|
49667
|
+
opacity: 0.3;
|
|
49668
|
+
}
|
|
49669
|
+
|
|
49670
|
+
to {
|
|
49671
|
+
opacity: 1;
|
|
49672
|
+
}
|
|
49673
|
+
}
|
|
49674
|
+
|
|
49675
|
+
/* QUEUED: nothing has started, so nothing moves. */
|
|
49676
|
+
.crewlet-working-line.is-queued .crewlet-working-line__who {
|
|
49677
|
+
background-image: none;
|
|
49678
|
+
color: var(--color-text-secondary);
|
|
49679
|
+
animation: none;
|
|
49680
|
+
}
|
|
49681
|
+
|
|
49682
|
+
.crewlet-working-line.is-queued .crewlet-working-line__verb {
|
|
49683
|
+
color: var(--color-text-tertiary);
|
|
49684
|
+
}
|
|
49685
|
+
|
|
49686
|
+
/*
|
|
49687
|
+
* THE TOGGLE: a chevron at the line's end whose target is the whole line, so
|
|
49688
|
+
* the line opens wherever it is pressed while the button stays one control
|
|
49689
|
+
* with one name. The ring is drawn round the whole line.
|
|
49690
|
+
*/
|
|
49691
|
+
.crewlet-working-line__toggle {
|
|
49692
|
+
display: inline-flex;
|
|
49693
|
+
flex: none;
|
|
49694
|
+
align-items: center;
|
|
49695
|
+
justify-content: center;
|
|
49696
|
+
width: 20px;
|
|
49697
|
+
height: 20px;
|
|
49698
|
+
margin: 0;
|
|
49699
|
+
padding: 0;
|
|
49700
|
+
border: 0;
|
|
49701
|
+
background: transparent;
|
|
49702
|
+
color: var(--color-text-tertiary);
|
|
49703
|
+
font: inherit;
|
|
49704
|
+
cursor: pointer;
|
|
49705
|
+
}
|
|
49706
|
+
|
|
49707
|
+
.crewlet-working-line__toggle::after {
|
|
49708
|
+
content: '';
|
|
49709
|
+
position: absolute;
|
|
49710
|
+
inset: 0;
|
|
49711
|
+
border-radius: inherit;
|
|
49712
|
+
}
|
|
49713
|
+
|
|
49714
|
+
/* The ring is the line's (below); the button keeps a transparent outline,
|
|
49715
|
+
which forced-colors mode paints in the system ink. */
|
|
49716
|
+
.crewlet-working-line__toggle:focus-visible {
|
|
49717
|
+
outline: 2px solid transparent;
|
|
49718
|
+
}
|
|
49719
|
+
|
|
49720
|
+
.crewlet-working-line__summary:has(.crewlet-working-line__toggle:focus-visible) {
|
|
49721
|
+
outline: 2px solid var(--color-focus);
|
|
49722
|
+
outline-offset: 2px;
|
|
49723
|
+
}
|
|
49724
|
+
|
|
49725
|
+
.crewlet-working-line__summary:has(.crewlet-working-line__toggle:hover) .crewlet-working-line__toggle,
|
|
49726
|
+
.crewlet-working-line__summary:has(.crewlet-working-line__toggle:hover) .crewlet-working-line__verb {
|
|
49727
|
+
color: var(--color-text-primary);
|
|
49728
|
+
}
|
|
49729
|
+
|
|
49730
|
+
.crewlet-working-line__chevron {
|
|
49731
|
+
transition: transform var(--motion-duration-fast) var(--motion-easing-out);
|
|
49732
|
+
}
|
|
49733
|
+
|
|
49734
|
+
.crewlet-working-line.is-open .crewlet-working-line__chevron {
|
|
49735
|
+
transform: rotate(180deg);
|
|
49736
|
+
}
|
|
49737
|
+
|
|
49738
|
+
/* ONE COMPACT LINE PER AGENT: a 20px face, the name and its own phrase. */
|
|
49739
|
+
.crewlet-working-line__detail {
|
|
49740
|
+
display: flex;
|
|
49741
|
+
flex-direction: column;
|
|
49742
|
+
gap: 2px;
|
|
49743
|
+
margin: 0;
|
|
49744
|
+
padding: var(--spacing-1) 0 0;
|
|
49745
|
+
list-style: none;
|
|
49746
|
+
}
|
|
49747
|
+
|
|
49748
|
+
.crewlet-working-line__agent {
|
|
49749
|
+
display: flex;
|
|
49750
|
+
align-items: center;
|
|
49751
|
+
gap: var(--spacing-2);
|
|
49752
|
+
min-width: 0;
|
|
49753
|
+
min-height: 22px;
|
|
49754
|
+
white-space: nowrap;
|
|
49755
|
+
}
|
|
49756
|
+
|
|
49757
|
+
.crewlet-working-line__agent-name {
|
|
49758
|
+
flex: 0 1 auto;
|
|
49759
|
+
min-width: 0;
|
|
49760
|
+
overflow: hidden;
|
|
49761
|
+
color: var(--color-text-primary);
|
|
49762
|
+
font-weight: var(--font-weight-medium);
|
|
49763
|
+
text-overflow: ellipsis;
|
|
49764
|
+
}
|
|
49765
|
+
|
|
49766
|
+
.crewlet-working-line__agent-phrase {
|
|
49767
|
+
flex: 0 10 auto;
|
|
49768
|
+
min-width: 0;
|
|
49769
|
+
overflow: hidden;
|
|
49770
|
+
text-overflow: ellipsis;
|
|
49771
|
+
animation: crewlet-working-line-phase var(--motion-duration-slow) var(--motion-easing-out);
|
|
49772
|
+
}
|
|
49773
|
+
|
|
49774
|
+
.crewlet-working-line__agent.is-queued .crewlet-working-line__agent-phrase {
|
|
49775
|
+
color: var(--color-text-tertiary);
|
|
49776
|
+
}
|
|
49777
|
+
|
|
49778
|
+
/*
|
|
49779
|
+
* THE DOTS, three in turn, each lifting and brightening once a period. Shared
|
|
49780
|
+
* with somebody typing (ActivityLine), in the ink around them.
|
|
49781
|
+
*/
|
|
49782
|
+
.crewlet-bouncing-dots {
|
|
49783
|
+
display: inline-flex;
|
|
49784
|
+
flex: none;
|
|
49785
|
+
align-items: flex-end;
|
|
49786
|
+
align-self: center;
|
|
49787
|
+
gap: 2px;
|
|
49788
|
+
}
|
|
49789
|
+
|
|
49790
|
+
.crewlet-bouncing-dots > i {
|
|
49791
|
+
width: 4px;
|
|
49792
|
+
height: 4px;
|
|
49793
|
+
border-radius: var(--radius-circle);
|
|
49794
|
+
background: currentColor;
|
|
49795
|
+
animation: crewlet-bouncing-dots calc(var(--motion-duration-slow) * 4) var(--motion-easing-in-out) infinite;
|
|
49796
|
+
}
|
|
49797
|
+
|
|
49798
|
+
.crewlet-bouncing-dots > i:nth-child(2) {
|
|
49799
|
+
animation-delay: var(--motion-duration-base);
|
|
49800
|
+
}
|
|
49801
|
+
|
|
49802
|
+
.crewlet-bouncing-dots > i:nth-child(3) {
|
|
49803
|
+
animation-delay: var(--motion-duration-slow);
|
|
49804
|
+
}
|
|
49805
|
+
|
|
49806
|
+
@keyframes crewlet-bouncing-dots {
|
|
49807
|
+
0%,
|
|
49808
|
+
60%,
|
|
49809
|
+
100% {
|
|
49810
|
+
opacity: 0.3;
|
|
49811
|
+
transform: none;
|
|
49812
|
+
}
|
|
49813
|
+
|
|
49814
|
+
30% {
|
|
49815
|
+
opacity: 1;
|
|
49816
|
+
transform: translateY(-3px);
|
|
49817
|
+
}
|
|
49818
|
+
}
|
|
49819
|
+
|
|
49820
|
+
/* UNDER REDUCED MOTION every part holds still: the names in the primary ink
|
|
49821
|
+
without the band, the phrases without their fade, the dots at full
|
|
49822
|
+
strength, and the chevron turned at once. */
|
|
49823
|
+
@media (prefers-reduced-motion: reduce) {
|
|
49824
|
+
.crewlet-working-line__who {
|
|
49825
|
+
background-image: none;
|
|
49826
|
+
color: var(--color-text-primary);
|
|
49827
|
+
animation: none;
|
|
49828
|
+
}
|
|
49829
|
+
|
|
49830
|
+
.crewlet-working-line.is-queued .crewlet-working-line__who {
|
|
49831
|
+
color: var(--color-text-secondary);
|
|
49832
|
+
}
|
|
49833
|
+
|
|
49834
|
+
.crewlet-working-line__verb {
|
|
49835
|
+
animation: none;
|
|
49836
|
+
}
|
|
49837
|
+
|
|
49838
|
+
.crewlet-working-line__agent-phrase {
|
|
49839
|
+
animation: none;
|
|
49840
|
+
}
|
|
49841
|
+
|
|
49842
|
+
.crewlet-working-line__chevron {
|
|
49843
|
+
transition: none;
|
|
49844
|
+
}
|
|
49845
|
+
|
|
49846
|
+
.crewlet-bouncing-dots > i {
|
|
49847
|
+
opacity: 1;
|
|
49848
|
+
animation: none;
|
|
49849
|
+
}
|
|
49850
|
+
}
|
|
49851
|
+
|
|
49852
|
+
/* The system's own ink: a gradient clipped to text is dropped there. */
|
|
49853
|
+
@media (forced-colors: active) {
|
|
49854
|
+
.crewlet-working-line__who {
|
|
49855
|
+
background-image: none;
|
|
49856
|
+
color: CanvasText;
|
|
49857
|
+
}
|
|
49858
|
+
|
|
49859
|
+
.crewlet-working-line__summary:has(.crewlet-working-line__toggle:focus-visible) {
|
|
49860
|
+
outline-color: Highlight;
|
|
49861
|
+
}
|
|
49862
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.113.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.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
45
|
+
"@crewlethq/icons": "0.113.0",
|
|
46
|
+
"@crewlethq/tokens": "0.113.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Who is typing and which agent is working, under a composer, in the meta
|
|
3
|
-
* step and the tertiary ink.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
.crewlet-activity-line {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
align-items: center;
|
|
10
|
-
gap: var(--spacing-1) var(--spacing-4);
|
|
11
|
-
min-height: 20px;
|
|
12
|
-
min-width: 0;
|
|
13
|
-
color: var(--color-text-tertiary);
|
|
14
|
-
font-size: var(--crewlet-chat-meta);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/* No piece is wider than the line: a long working status truncates. */
|
|
18
|
-
.crewlet-activity-line > * {
|
|
19
|
-
max-width: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* The working line in the line's own step, over the indicator's. */
|
|
23
|
-
.crewlet-activity-line .crewlet-activity-line__working {
|
|
24
|
-
font-size: var(--crewlet-chat-meta);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.crewlet-activity-line__typing {
|
|
28
|
-
display: inline-flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
gap: var(--spacing-2);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.crewlet-activity-line__dots {
|
|
34
|
-
display: inline-flex;
|
|
35
|
-
gap: 2px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.crewlet-activity-line__dots > i {
|
|
39
|
-
width: 4px;
|
|
40
|
-
height: 4px;
|
|
41
|
-
border-radius: var(--radius-circle);
|
|
42
|
-
background: currentColor;
|
|
43
|
-
animation: crewlet-activity-line-typing calc(var(--motion-duration-slow) * 4) var(--motion-easing-in-out) infinite;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.crewlet-activity-line__dots > i:nth-child(2) {
|
|
47
|
-
animation-delay: var(--motion-duration-base);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.crewlet-activity-line__dots > i:nth-child(3) {
|
|
51
|
-
animation-delay: var(--motion-duration-slow);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@keyframes crewlet-activity-line-typing {
|
|
55
|
-
0%,
|
|
56
|
-
60%,
|
|
57
|
-
100% {
|
|
58
|
-
opacity: 0.3;
|
|
59
|
-
transform: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
30% {
|
|
63
|
-
opacity: 1;
|
|
64
|
-
transform: translateY(-2px);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/* Under reduced motion the dots hold still at full strength: the words say
|
|
69
|
-
who is typing. */
|
|
70
|
-
@media (prefers-reduced-motion: reduce) {
|
|
71
|
-
.crewlet-activity-line__dots > i {
|
|
72
|
-
animation: none;
|
|
73
|
-
}
|
|
74
|
-
}
|
package/dist/chunk-5YFQMMTJ.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
2
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
-
import './ChatScale-6NM4TP7R.css';
|
|
4
|
-
import './ActivityLine-AMSERTOB.css';
|
|
5
|
-
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
function ActivityLine({ typing, working, workingLabel, queued, className, ...rest }) {
|
|
8
|
-
return /* @__PURE__ */ jsxs("div", { ...rest, className: cx("crewlet-activity-line", className), children: [
|
|
9
|
-
working ? /* @__PURE__ */ jsx(
|
|
10
|
-
ThinkingIndicator,
|
|
11
|
-
{
|
|
12
|
-
status: working,
|
|
13
|
-
label: workingLabel ?? working,
|
|
14
|
-
queued,
|
|
15
|
-
className: "crewlet-activity-line__working"
|
|
16
|
-
}
|
|
17
|
-
) : null,
|
|
18
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-activity-line__typing", role: "status", children: typing ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19
|
-
/* @__PURE__ */ jsxs("span", { className: "crewlet-activity-line__dots", "aria-hidden": "true", children: [
|
|
20
|
-
/* @__PURE__ */ jsx("i", {}),
|
|
21
|
-
/* @__PURE__ */ jsx("i", {}),
|
|
22
|
-
/* @__PURE__ */ jsx("i", {})
|
|
23
|
-
] }),
|
|
24
|
-
typing
|
|
25
|
-
] }) : null })
|
|
26
|
-
] });
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { ActivityLine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
|
|
5
5
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
@@ -6,9 +6,9 @@ import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTon
|
|
|
6
6
|
import { presenceLabels } from './chunk-Z7JYG5TF.js';
|
|
7
7
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
8
8
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
9
|
-
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
10
9
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
11
10
|
import { Menu } from './chunk-QHUKJN33.js';
|
|
11
|
+
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
12
12
|
import { Button } from './chunk-NPPPQSRU.js';
|
|
13
13
|
import { IconButton } from './chunk-BF2BXM6V.js';
|
|
14
14
|
import { Tooltip } from './chunk-HXVMXH6U.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
2
1
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
2
|
+
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY } from '@crewlethq/icons/characters';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -2,11 +2,11 @@ import { Skeleton } from './chunk-BMTNY3FK.js';
|
|
|
2
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
3
3
|
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
4
4
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
5
|
-
import { AvatarStack } from './chunk-5SMYKL3D.js';
|
|
6
5
|
import { ArtifactKindGround } from './chunk-W3A6NBUM.js';
|
|
7
6
|
import { Checkbox } from './chunk-DTEDUAEW.js';
|
|
8
7
|
import { ArtifactAccessGlyph } from './chunk-DOY3KC6I.js';
|
|
9
8
|
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
9
|
+
import { AvatarStack } from './chunk-5SMYKL3D.js';
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-27TE3KJL.css';
|
|
File without changes
|