@crewlethq/ui 0.114.0 → 0.116.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/dist/ActivityLine/index.js +2 -2
- package/dist/AgentHandoffPanel/index.js +4 -4
- package/dist/ArtifactCard/index.js +3 -3
- package/dist/ArtifactPanel/index.js +2 -2
- package/dist/ChatDay/index.js +2 -2
- package/dist/{ChatDay-523C65KY.css → ChatDay-FNMU6XGF.css} +8 -3
- package/dist/ChatDivider/index.js +1 -1
- package/dist/{ChatDivider-BRODST2E.css → ChatDivider-AVSQIHOP.css} +3 -2
- package/dist/ChatMessage/index.js +1 -1
- package/dist/{ChatMessage-SZGZT7O2.css → ChatMessage-ADVU5SLD.css} +48 -0
- package/dist/{ChatScale-6NM4TP7R.css → ChatScale-LGESYXCO.css} +11 -1
- package/dist/ChatThread/ChatThread.d.ts +8 -0
- package/dist/ChatThread/index.js +1 -1
- package/dist/{ChatThread-MKAN2Q4H.css → ChatThread-YBU3PHDZ.css} +12 -0
- package/dist/CommentThread/index.js +2 -2
- package/dist/Composer/index.js +1 -1
- package/dist/{Composer-UGPNQMYI.css → Composer-AVBJS6U4.css} +31 -6
- package/dist/DataGrid/index.js +2 -2
- package/dist/DeliveryReceipt/index.js +1 -1
- package/dist/InboxList/InboxList.d.ts +44 -4
- package/dist/InboxList/index.d.ts +2 -1
- package/dist/InboxList/index.js +1 -1
- package/dist/{InboxList-G627C2OQ.css → InboxList-PKF6XXTA.css} +143 -6
- package/dist/LinkCard/index.js +1 -1
- package/dist/ListDetail/ListDetail.d.ts +46 -9
- package/dist/ListDetail/index.d.ts +2 -2
- package/dist/ListDetail/index.js +10 -1
- package/dist/{ListDetail-WXBCLONL.css → ListDetail-KFYCYZWI.css} +46 -2
- package/dist/MentionMenu/index.js +1 -1
- package/dist/MessageActions/index.js +1 -1
- package/dist/OrgTable/index.js +4 -4
- package/dist/ReactionBar/index.js +1 -1
- package/dist/RichEditor/index.js +2 -2
- package/dist/RoomRow/index.js +1 -1
- package/dist/SandboxedFrame/index.js +2 -2
- package/dist/SidePanel/SidePanel.d.ts +7 -1
- package/dist/SidePanel/SidePanelBase.d.ts +3 -1
- package/dist/SidePanel/index.js +2 -2
- package/dist/{SidePanel-DZ4E5SNP.css → SidePanel-JT2VDOZ6.css} +2 -0
- package/dist/Skeleton/index.js +1 -1
- package/dist/Switcher/index.js +2 -2
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/TreeGrid/index.js +3 -3
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/WorkingLine/index.js +1 -1
- package/dist/{chunk-KVNVLBCB.js → chunk-2JNBDAOE.js} +2 -2
- package/dist/{chunk-6QLMET36.js → chunk-346EXHOR.js} +1 -1
- package/dist/{chunk-TEOJ7OKD.js → chunk-3EWOEW7R.js} +2 -2
- package/dist/{chunk-V35GTX74.js → chunk-4FEWDSRQ.js} +63 -16
- package/dist/chunk-5QJNA7KD.js +2 -0
- package/dist/{chunk-DF5B4QO5.js → chunk-5ZTH54O6.js} +1 -1
- package/dist/{chunk-ZGJCVXFU.js → chunk-62TEKYMP.js} +1 -1
- package/dist/{chunk-S3ZFYKNS.js → chunk-73OCFZN7.js} +1 -1
- package/dist/{chunk-4VHRO7HZ.js → chunk-7L446LBC.js} +4 -0
- package/dist/{chunk-EXKJIL65.js → chunk-BG4GI5W3.js} +2 -2
- package/dist/{chunk-R4PZUVPD.js → chunk-CUUDIFBU.js} +1 -1
- package/dist/{chunk-5SBMYPWG.js → chunk-EAC357YC.js} +2 -2
- package/dist/{chunk-RTDFRFTF.js → chunk-EI242VTX.js} +2 -2
- package/dist/{chunk-ZUFV7753.js → chunk-I5HJ6Y6E.js} +1 -1
- package/dist/{chunk-TXTYTIIH.js → chunk-JKGSPQUX.js} +1 -1
- package/dist/{chunk-47V3ASMW.js → chunk-KTH2KXZY.js} +1 -1
- package/dist/{chunk-LSVX4DTF.js → chunk-LWZAXQBR.js} +2 -2
- package/dist/{chunk-5FOJLJYN.js → chunk-MM4KFKUN.js} +8 -2
- package/dist/{chunk-ANIJQ25E.js → chunk-N3465LNT.js} +1 -1
- package/dist/{chunk-7MB7RUZZ.js → chunk-NHHVN23D.js} +1 -1
- package/dist/{chunk-CHB7T3PT.js → chunk-RBQOS3JC.js} +4 -4
- package/dist/{chunk-6S2Q4DGN.js → chunk-RWBBTGCK.js} +2 -2
- package/dist/{chunk-QP5XZ3QZ.js → chunk-SFO4KY65.js} +1 -1
- package/dist/{chunk-D7NXK77P.js → chunk-ULFQFA5O.js} +1 -1
- package/dist/{chunk-P366K4RX.js → chunk-UTTYNJEB.js} +1 -1
- package/dist/{chunk-WN3YE3ND.js → chunk-UVHIHIFQ.js} +1 -1
- package/dist/chunk-VKN64EEL.js +42 -0
- package/dist/{chunk-QMEKGAEA.js → chunk-VLU3FMJD.js} +1 -1
- package/dist/{chunk-BMTNY3FK.js → chunk-WFAJYBLX.js} +1 -1
- package/dist/{chunk-LNSAYEOA.js → chunk-WNPKXYDJ.js} +1 -1
- package/dist/generated/index.js +45 -45
- package/dist/index.js +45 -45
- package/dist/styles.css +313 -29
- package/package.json +3 -3
- package/dist/chunk-P33VNG7Q.js +0 -12
- package/dist/chunk-Q5LDZPFF.js +0 -2
- package/dist/{Editor-XT73VTSJ.js → Editor-YITN2DWX.js} +1 -1
package/dist/styles.css
CHANGED
|
@@ -10802,7 +10802,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10802
10802
|
}
|
|
10803
10803
|
|
|
10804
10804
|
|
|
10805
|
-
/* ChatDay-
|
|
10805
|
+
/* ChatDay-FNMU6XGF.css */
|
|
10806
10806
|
/*
|
|
10807
10807
|
* ChatDay: a day of a conversation under its date, set on the conversation's
|
|
10808
10808
|
* own scale (ChatScale.css).
|
|
@@ -10863,12 +10863,17 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10863
10863
|
overflow-anchor: none;
|
|
10864
10864
|
}
|
|
10865
10865
|
|
|
10866
|
-
/* The New line on the day's rule covers the rule, as one line
|
|
10866
|
+
/* The New line on the day's rule covers the rule, as one line: the rule
|
|
10867
|
+
gives way to it, so no grey runs on past the label at its end. */
|
|
10867
10868
|
.crewlet-chat-day__rule > .crewlet-chat-divider--unread {
|
|
10868
10869
|
position: absolute;
|
|
10869
10870
|
inset: 0;
|
|
10870
10871
|
}
|
|
10871
10872
|
|
|
10873
|
+
.crewlet-chat-day__rule:has(> .crewlet-chat-divider--unread) {
|
|
10874
|
+
background: transparent;
|
|
10875
|
+
}
|
|
10876
|
+
|
|
10872
10877
|
/*
|
|
10873
10878
|
* THE PILL floats over the rows: the transcript's own ground, ringed with the
|
|
10874
10879
|
* hairline and a small shadow, so it reads as lifted off the messages it
|
|
@@ -10882,7 +10887,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10882
10887
|
gap: var(--spacing-1);
|
|
10883
10888
|
height: var(--crewlet-chat-day-pill);
|
|
10884
10889
|
box-sizing: border-box;
|
|
10885
|
-
padding: 0 var(--spacing-
|
|
10890
|
+
padding: 0 var(--spacing-4);
|
|
10886
10891
|
border: 0;
|
|
10887
10892
|
border-radius: var(--radius-pill);
|
|
10888
10893
|
outline: 1px solid transparent;
|
|
@@ -10893,7 +10898,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10893
10898
|
var(--shadow-xs);
|
|
10894
10899
|
color: var(--color-text-primary);
|
|
10895
10900
|
font: inherit;
|
|
10896
|
-
font-size: var(--font-size-
|
|
10901
|
+
font-size: var(--font-size-compact);
|
|
10897
10902
|
font-weight: var(--font-weight-semibold);
|
|
10898
10903
|
line-height: 1;
|
|
10899
10904
|
white-space: nowrap;
|
|
@@ -10926,7 +10931,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10926
10931
|
}
|
|
10927
10932
|
|
|
10928
10933
|
|
|
10929
|
-
/* ChatDivider-
|
|
10934
|
+
/* ChatDivider-AVSQIHOP.css */
|
|
10930
10935
|
/*
|
|
10931
10936
|
* ChatDivider: a line between the rows of a conversation, set on the
|
|
10932
10937
|
* conversation's own scale (ChatScale.css).
|
|
@@ -10994,10 +10999,11 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
10994
10999
|
scroll-margin-top: calc(var(--crewlet-chat-day-pin) + var(--crewlet-chat-day-pill) + var(--spacing-3));
|
|
10995
11000
|
}
|
|
10996
11001
|
|
|
11002
|
+
/* The line ends where its label does, so nothing of it runs past "New". */
|
|
10997
11003
|
.crewlet-chat-divider--unread::before {
|
|
10998
11004
|
content: '';
|
|
10999
11005
|
position: absolute;
|
|
11000
|
-
inset-inline: 0;
|
|
11006
|
+
inset-inline: 0 var(--crewlet-chat-pad-x);
|
|
11001
11007
|
top: 0;
|
|
11002
11008
|
height: 1px;
|
|
11003
11009
|
background: var(--color-feedback-danger);
|
|
@@ -11011,7 +11017,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11011
11017
|
transform: translateY(-50%);
|
|
11012
11018
|
background: var(--crewlet-chat-ground);
|
|
11013
11019
|
color: var(--color-feedback-danger-ink);
|
|
11014
|
-
font-size: var(--font-size-
|
|
11020
|
+
font-size: var(--font-size-compact);
|
|
11015
11021
|
font-weight: var(--font-weight-semibold);
|
|
11016
11022
|
line-height: var(--font-line-height-normal);
|
|
11017
11023
|
}
|
|
@@ -11053,7 +11059,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11053
11059
|
}
|
|
11054
11060
|
|
|
11055
11061
|
|
|
11056
|
-
/* ChatMessage-
|
|
11062
|
+
/* ChatMessage-ADVU5SLD.css */
|
|
11057
11063
|
/*
|
|
11058
11064
|
* One message in a transcript: a face in a gutter, the head line, the words
|
|
11059
11065
|
* and a footer stack. Every size reads the conversation scale
|
|
@@ -11284,6 +11290,53 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11284
11290
|
font-weight: var(--font-weight-semibold);
|
|
11285
11291
|
}
|
|
11286
11292
|
|
|
11293
|
+
/* ONE BLOCK RHYTHM IN THE WORDS. Blocks are a blank line apart, list items
|
|
11294
|
+
touch, and each list level indents by the list step, so a message with a
|
|
11295
|
+
list still reads as one compact unit. Three classes deep, so a host's own
|
|
11296
|
+
document rhythm on the same prose (a page's paragraph gap) stays out. */
|
|
11297
|
+
.crewlet-chat-message .crewlet-chat-message__body .crewlet-prose :where(p, ul, ol, li, blockquote, pre) {
|
|
11298
|
+
margin: 0;
|
|
11299
|
+
}
|
|
11300
|
+
|
|
11301
|
+
.crewlet-chat-message .crewlet-chat-message__body .crewlet-prose > * + * {
|
|
11302
|
+
margin-top: var(--crewlet-chat-block-gap);
|
|
11303
|
+
}
|
|
11304
|
+
|
|
11305
|
+
.crewlet-chat-message .crewlet-chat-message__body .crewlet-prose :is(ul, ol) {
|
|
11306
|
+
padding-inline-start: var(--crewlet-chat-list-indent);
|
|
11307
|
+
}
|
|
11308
|
+
|
|
11309
|
+
/* A quote is the words in their own ink behind a rounded bar, so it reads as
|
|
11310
|
+
quoted rather than dimmed. */
|
|
11311
|
+
.crewlet-chat-message .crewlet-chat-message__body .crewlet-prose blockquote {
|
|
11312
|
+
position: relative;
|
|
11313
|
+
padding-inline-start: var(--spacing-4);
|
|
11314
|
+
border: 0;
|
|
11315
|
+
color: var(--color-text-primary);
|
|
11316
|
+
}
|
|
11317
|
+
|
|
11318
|
+
.crewlet-chat-message .crewlet-chat-message__body .crewlet-prose blockquote::before {
|
|
11319
|
+
content: '';
|
|
11320
|
+
position: absolute;
|
|
11321
|
+
inset-block: 0;
|
|
11322
|
+
inset-inline-start: 0;
|
|
11323
|
+
width: var(--spacing-1);
|
|
11324
|
+
border-radius: var(--radius-pill);
|
|
11325
|
+
background: var(--color-border-strong);
|
|
11326
|
+
}
|
|
11327
|
+
|
|
11328
|
+
/* Code in a line keeps to the line: a hairline chip on the row's fill step,
|
|
11329
|
+
one meta step on its own 18px line, so a mixed line never grows. */
|
|
11330
|
+
.crewlet-chat-message__body .crewlet-inline-code {
|
|
11331
|
+
padding: 1px 3px 0;
|
|
11332
|
+
border-width: 1px;
|
|
11333
|
+
border-style: solid;
|
|
11334
|
+
border-color: var(--color-edge-hairline);
|
|
11335
|
+
background: var(--color-fill-row);
|
|
11336
|
+
font-size: var(--crewlet-chat-meta);
|
|
11337
|
+
line-height: var(--font-line-height-normal);
|
|
11338
|
+
}
|
|
11339
|
+
|
|
11287
11340
|
/* Previews, reactions and the thread line: one stack, one gap. A footer
|
|
11288
11341
|
whose pieces all drew nothing takes no room: its gap made every row 6px
|
|
11289
11342
|
taller than its words. */
|
|
@@ -11312,6 +11365,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11312
11365
|
.crewlet-chat-message__body .crewlet-codeblock {
|
|
11313
11366
|
border-color: var(--color-edge-hairline);
|
|
11314
11367
|
border-radius: var(--radius-xs);
|
|
11368
|
+
background: var(--color-fill-row);
|
|
11315
11369
|
}
|
|
11316
11370
|
|
|
11317
11371
|
.crewlet-chat-message__body .crewlet-codeblock__pre {
|
|
@@ -11408,7 +11462,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11408
11462
|
}
|
|
11409
11463
|
|
|
11410
11464
|
|
|
11411
|
-
/* ChatScale-
|
|
11465
|
+
/* ChatScale-LGESYXCO.css */
|
|
11412
11466
|
/*
|
|
11413
11467
|
* ONE SCALE FOR A CONVERSATION. Every part of a transcript reads from these:
|
|
11414
11468
|
* the message rows, their toolbar, reactions and thread line, the day's rule
|
|
@@ -11437,10 +11491,20 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11437
11491
|
--crewlet-chat-stack: 6px;
|
|
11438
11492
|
/* One width for every link preview, so a stack of them shares both edges. */
|
|
11439
11493
|
--crewlet-chat-card: 440px;
|
|
11494
|
+
/* Rich text in the words: a blank line between blocks (paragraphs, lists,
|
|
11495
|
+
quotes, code) is one small step, list items touch, and each list level
|
|
11496
|
+
indents its words by the side inset and the face gap. */
|
|
11497
|
+
--crewlet-chat-block-gap: var(--spacing-2);
|
|
11498
|
+
--crewlet-chat-list-indent: calc(var(--spacing-5) + var(--spacing-2));
|
|
11499
|
+
/* The message box's tools: a 28px square at the small corner with the
|
|
11500
|
+
toolbar's glyph, so the box's band and foot are one tool tall plus a
|
|
11501
|
+
small inset. */
|
|
11502
|
+
--crewlet-chat-compose-tool: 28px;
|
|
11503
|
+
--crewlet-chat-compose-glyph: var(--font-size-lg);
|
|
11440
11504
|
/* A day: the pill's height, the room above and below its rule, and how far
|
|
11441
11505
|
under the list's top edge the pill pins. A host with a bar floating over
|
|
11442
11506
|
the list's top (an unread banner) moves the pin down past it. */
|
|
11443
|
-
--crewlet-chat-day-pill:
|
|
11507
|
+
--crewlet-chat-day-pill: 28px;
|
|
11444
11508
|
--crewlet-chat-day-gap: var(--spacing-5);
|
|
11445
11509
|
--crewlet-chat-day-pin: var(--spacing-3);
|
|
11446
11510
|
/* The hover toolbar: 32px tools with 18px glyphs, touching, big enough to
|
|
@@ -11466,7 +11530,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11466
11530
|
}
|
|
11467
11531
|
|
|
11468
11532
|
|
|
11469
|
-
/* ChatThread-
|
|
11533
|
+
/* ChatThread-YBU3PHDZ.css */
|
|
11470
11534
|
/*
|
|
11471
11535
|
* A conversation as it grows: the scroller, the items a spacing step and a
|
|
11472
11536
|
* half apart on the panel's 16px inset, and the Jump to latest pill in a row
|
|
@@ -11544,6 +11608,18 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
11544
11608
|
gap: 0;
|
|
11545
11609
|
}
|
|
11546
11610
|
|
|
11611
|
+
/*
|
|
11612
|
+
* A FLUSH LOG (`flush`): its items carry their own insets, so the list keeps
|
|
11613
|
+
* none at the sides and no gap between items. A conversation's rows then run
|
|
11614
|
+
* edge to edge, their faces on the same side inset as the composer under the
|
|
11615
|
+
* log, and a reply follows the one before it with no seam. A short step stays
|
|
11616
|
+
* above the first item and under the last.
|
|
11617
|
+
*/
|
|
11618
|
+
.crewlet-chat-thread--flush .crewlet-chat-thread__items {
|
|
11619
|
+
gap: 0;
|
|
11620
|
+
padding: var(--spacing-3) 0 var(--spacing-2);
|
|
11621
|
+
}
|
|
11622
|
+
|
|
11547
11623
|
/*
|
|
11548
11624
|
* The pill, centred in a row of its own under the log. IN FLOW, NOT FLOATING:
|
|
11549
11625
|
* laid over the scroller it covered the last lines of whatever was being read,
|
|
@@ -14531,7 +14607,7 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14531
14607
|
}
|
|
14532
14608
|
|
|
14533
14609
|
|
|
14534
|
-
/* Composer-
|
|
14610
|
+
/* Composer-AVBJS6U4.css */
|
|
14535
14611
|
/*
|
|
14536
14612
|
* A message written in place: the field and its footer strip in one box. The
|
|
14537
14613
|
* BOX takes the focus ring every field in the package draws (see Input.css):
|
|
@@ -14832,11 +14908,12 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14832
14908
|
white-space: nowrap;
|
|
14833
14909
|
}
|
|
14834
14910
|
|
|
14835
|
-
/* THE FORMATTING ROW AS A BAND the height of the footer
|
|
14836
|
-
|
|
14837
|
-
footer's tools are. */
|
|
14911
|
+
/* THE FORMATTING ROW AS A BAND the height of the footer: one chat tool with
|
|
14912
|
+
a small inset over it and a step under it, its first glyph on the words'
|
|
14913
|
+
12px inset, the controls a step apart, as the footer's tools are. */
|
|
14838
14914
|
.crewlet-composer--chat .crewlet-composer__toolbar {
|
|
14839
|
-
padding-block
|
|
14915
|
+
padding-block: calc(var(--spacing-3) / 2) var(--spacing-1);
|
|
14916
|
+
padding-inline-start: calc(var(--spacing-3) - (var(--crewlet-chat-compose-tool) - var(--crewlet-chat-compose-glyph)) / 2);
|
|
14840
14917
|
}
|
|
14841
14918
|
|
|
14842
14919
|
.crewlet-composer--chat .crewlet-composer__toolbar .crewlet-toolbar {
|
|
@@ -14844,14 +14921,38 @@ button.crewlet-histogram__bar[data-empty]:focus-visible > .crewlet-histogram__fi
|
|
|
14844
14921
|
padding: 0;
|
|
14845
14922
|
}
|
|
14846
14923
|
|
|
14924
|
+
/* The foot mirrors the band: a step over its tools and the small inset under
|
|
14925
|
+
them, the first glyph and Send each on the words' 12px inset. */
|
|
14847
14926
|
.crewlet-composer--chat .crewlet-composer__footer {
|
|
14848
14927
|
gap: var(--spacing-1);
|
|
14849
|
-
padding: var(--spacing-1)
|
|
14850
|
-
|
|
14928
|
+
padding: var(--spacing-1) calc(var(--spacing-3) - (var(--crewlet-chat-compose-tool) - var(--crewlet-chat-compose-glyph)) / 2)
|
|
14929
|
+
calc(var(--spacing-3) / 2) var(--spacing-3);
|
|
14851
14930
|
border-top: 0;
|
|
14852
14931
|
background: transparent;
|
|
14853
14932
|
}
|
|
14854
14933
|
|
|
14934
|
+
.crewlet-composer--chat .crewlet-composer__footer .crewlet-composer__tools {
|
|
14935
|
+
margin-inline-start: calc(-1 * (var(--crewlet-chat-compose-tool) - var(--crewlet-chat-compose-glyph)) / 2);
|
|
14936
|
+
}
|
|
14937
|
+
|
|
14938
|
+
/* EVERY TOOL OF THE BOX ON THE CHAT TOOL STEP: 28px at the small corner with
|
|
14939
|
+
the toolbar's glyph, Send included (its own glyph keeps its size). The
|
|
14940
|
+
corner is set at a low weight, so a host's own shape for one tool (a round
|
|
14941
|
+
add) and the foot's last control's nested corner still hold. */
|
|
14942
|
+
.crewlet-composer--chat :is(.crewlet-composer__toolbar, .crewlet-composer__footer) .crewlet-icon-btn {
|
|
14943
|
+
width: var(--crewlet-chat-compose-tool);
|
|
14944
|
+
height: var(--crewlet-chat-compose-tool);
|
|
14945
|
+
}
|
|
14946
|
+
|
|
14947
|
+
.crewlet-composer--chat :where(.crewlet-composer__toolbar, .crewlet-composer__footer) .crewlet-icon-btn {
|
|
14948
|
+
border-radius: var(--radius-xs);
|
|
14949
|
+
}
|
|
14950
|
+
|
|
14951
|
+
.crewlet-composer--chat :is(.crewlet-composer__toolbar, .crewlet-composer__footer) .crewlet-icon-btn:not(.crewlet-send-button) .crewlet-glyph {
|
|
14952
|
+
width: var(--crewlet-chat-compose-glyph);
|
|
14953
|
+
height: var(--crewlet-chat-compose-glyph);
|
|
14954
|
+
}
|
|
14955
|
+
|
|
14855
14956
|
/* A tool whose menu or picker is open reads as held down. */
|
|
14856
14957
|
.crewlet-composer--chat .crewlet-composer__tools [aria-expanded='true'] {
|
|
14857
14958
|
background: var(--color-surface-pressed);
|
|
@@ -23593,7 +23694,7 @@ a.crewlet-icon-btn {
|
|
|
23593
23694
|
}
|
|
23594
23695
|
|
|
23595
23696
|
|
|
23596
|
-
/* InboxList-
|
|
23697
|
+
/* InboxList-PKF6XXTA.css */
|
|
23597
23698
|
/*
|
|
23598
23699
|
* The inbox's column: groups of rows, each row a control with the task it is
|
|
23599
23700
|
* about under it, and the quiet toggles at the end.
|
|
@@ -23974,10 +24075,11 @@ a.crewlet-icon-btn {
|
|
|
23974
24075
|
}
|
|
23975
24076
|
|
|
23976
24077
|
/*
|
|
23977
|
-
*
|
|
23978
|
-
*
|
|
24078
|
+
* A line under the words: what came of the row (`outcome`), or why it
|
|
24079
|
+
* reached the reader (`context`). A glyph, then words in the secondary ink,
|
|
24080
|
+
* on one line that wraps rather than cuts.
|
|
23979
24081
|
*/
|
|
23980
|
-
.crewlet-inbox-
|
|
24082
|
+
.crewlet-inbox-row__line {
|
|
23981
24083
|
display: flex;
|
|
23982
24084
|
align-items: flex-start;
|
|
23983
24085
|
gap: var(--spacing-1);
|
|
@@ -23989,7 +24091,7 @@ a.crewlet-icon-btn {
|
|
|
23989
24091
|
overflow-wrap: anywhere;
|
|
23990
24092
|
}
|
|
23991
24093
|
|
|
23992
|
-
.crewlet-inbox-
|
|
24094
|
+
.crewlet-inbox-row__line-icon {
|
|
23993
24095
|
display: inline-flex;
|
|
23994
24096
|
flex: none;
|
|
23995
24097
|
align-items: center;
|
|
@@ -24017,11 +24119,11 @@ a.crewlet-icon-btn {
|
|
|
24017
24119
|
color: var(--color-brand-accent);
|
|
24018
24120
|
}
|
|
24019
24121
|
|
|
24020
|
-
.crewlet-inbox-
|
|
24122
|
+
.crewlet-inbox-row__line-text {
|
|
24021
24123
|
min-width: 0;
|
|
24022
24124
|
}
|
|
24023
24125
|
|
|
24024
|
-
.crewlet-inbox-
|
|
24126
|
+
.crewlet-inbox-row__line-text strong {
|
|
24025
24127
|
font-weight: var(--font-weight-medium);
|
|
24026
24128
|
color: var(--color-text-primary);
|
|
24027
24129
|
}
|
|
@@ -24047,6 +24149,142 @@ a.crewlet-icon-btn {
|
|
|
24047
24149
|
padding-inline-start: var(--spacing-2);
|
|
24048
24150
|
}
|
|
24049
24151
|
|
|
24152
|
+
/*
|
|
24153
|
+
* HOW MANY LINES THE WORDS TAKE: three by default, two beside an open detail,
|
|
24154
|
+
* all of them for a row read in full where it stands.
|
|
24155
|
+
*/
|
|
24156
|
+
.crewlet-inbox-row__text--lines-2 {
|
|
24157
|
+
-webkit-line-clamp: 2;
|
|
24158
|
+
line-clamp: 2;
|
|
24159
|
+
}
|
|
24160
|
+
|
|
24161
|
+
.crewlet-inbox-row__text--lines-all {
|
|
24162
|
+
display: block;
|
|
24163
|
+
-webkit-line-clamp: none;
|
|
24164
|
+
line-clamp: none;
|
|
24165
|
+
overflow: visible;
|
|
24166
|
+
}
|
|
24167
|
+
|
|
24168
|
+
/*
|
|
24169
|
+
* THE QUICK ACTIONS FLOAT, never reflow: lifted over the end of the first
|
|
24170
|
+
* line (the time) while the row is hovered or holds focus, and taking no room
|
|
24171
|
+
* otherwise. Shown by opacity rather than display, so Tab still reaches them
|
|
24172
|
+
* from the row and focus brings them up.
|
|
24173
|
+
*/
|
|
24174
|
+
.crewlet-inbox-row--actions {
|
|
24175
|
+
position: relative;
|
|
24176
|
+
}
|
|
24177
|
+
|
|
24178
|
+
.crewlet-inbox-row__actions {
|
|
24179
|
+
position: absolute;
|
|
24180
|
+
top: var(--crewlet-inbox-row-actions-top, 0px);
|
|
24181
|
+
inset-inline-end: var(--spacing-2);
|
|
24182
|
+
z-index: 1;
|
|
24183
|
+
opacity: 0;
|
|
24184
|
+
pointer-events: none;
|
|
24185
|
+
}
|
|
24186
|
+
|
|
24187
|
+
.crewlet-inbox-row:hover > .crewlet-inbox-row__actions,
|
|
24188
|
+
.crewlet-inbox-row:focus-within > .crewlet-inbox-row__actions,
|
|
24189
|
+
.crewlet-inbox-row__actions:has([aria-expanded='true']) {
|
|
24190
|
+
opacity: 1;
|
|
24191
|
+
pointer-events: auto;
|
|
24192
|
+
}
|
|
24193
|
+
|
|
24194
|
+
/* ---- Chat density -------------------------------------------------------- */
|
|
24195
|
+
|
|
24196
|
+
/*
|
|
24197
|
+
* A LIST OF MESSAGES, at a conversation's scale (ChatScale.css): the face,
|
|
24198
|
+
* the name and the words at the transcript's sizes, the conversation's side
|
|
24199
|
+
* inset, 16px above and below each row and a hairline between rows. A row runs
|
|
24200
|
+
* the list's full width and the open one is a flat wash, so the column reads
|
|
24201
|
+
* as a list of messages rather than a stack of cards.
|
|
24202
|
+
*/
|
|
24203
|
+
.crewlet-inbox-list--chat,
|
|
24204
|
+
.crewlet-inbox-list--chat .crewlet-inbox-list__group,
|
|
24205
|
+
.crewlet-inbox-list--chat .crewlet-inbox-list__rows {
|
|
24206
|
+
gap: 0;
|
|
24207
|
+
}
|
|
24208
|
+
|
|
24209
|
+
.crewlet-inbox-list--chat {
|
|
24210
|
+
font-size: var(--crewlet-chat-text);
|
|
24211
|
+
line-height: var(--crewlet-chat-line);
|
|
24212
|
+
}
|
|
24213
|
+
|
|
24214
|
+
/* A group's label is a day: the words' own case, a step down, on the page's
|
|
24215
|
+
ground, set on the row's inset so it starts over the faces. */
|
|
24216
|
+
.crewlet-inbox-list--chat .crewlet-inbox-list__label {
|
|
24217
|
+
padding: var(--spacing-4) var(--crewlet-chat-pad-x) var(--spacing-2);
|
|
24218
|
+
font-size: var(--crewlet-chat-meta);
|
|
24219
|
+
line-height: var(--font-line-height-snug);
|
|
24220
|
+
}
|
|
24221
|
+
|
|
24222
|
+
.crewlet-inbox-list__day {
|
|
24223
|
+
font-weight: var(--font-weight-semibold);
|
|
24224
|
+
color: var(--color-text-secondary);
|
|
24225
|
+
}
|
|
24226
|
+
|
|
24227
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row,
|
|
24228
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__control {
|
|
24229
|
+
border-radius: 0;
|
|
24230
|
+
}
|
|
24231
|
+
|
|
24232
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row {
|
|
24233
|
+
border-bottom: 1px solid var(--color-border-default);
|
|
24234
|
+
/* The tray sits on the name's line: its middle on the line's middle. */
|
|
24235
|
+
--crewlet-inbox-row-actions-top: calc(var(--spacing-4) + var(--crewlet-chat-line) * var(--crewlet-chat-text) / 2 - var(--crewlet-chat-toolbar) / 2);
|
|
24236
|
+
}
|
|
24237
|
+
|
|
24238
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__actions {
|
|
24239
|
+
inset-inline-end: var(--spacing-3);
|
|
24240
|
+
}
|
|
24241
|
+
|
|
24242
|
+
/* The face hangs from the row's top pad, beside the name's line and the one
|
|
24243
|
+
under it; the words start the face and the gap in, as in a transcript. */
|
|
24244
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__control,
|
|
24245
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__control--leading,
|
|
24246
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__control:only-child {
|
|
24247
|
+
gap: var(--crewlet-chat-gap);
|
|
24248
|
+
padding: var(--spacing-4) var(--crewlet-chat-pad-x);
|
|
24249
|
+
}
|
|
24250
|
+
|
|
24251
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__control--leading > .crewlet-inbox-row__main {
|
|
24252
|
+
padding-top: 0;
|
|
24253
|
+
}
|
|
24254
|
+
|
|
24255
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__leading {
|
|
24256
|
+
align-items: flex-start;
|
|
24257
|
+
min-width: var(--crewlet-chat-avatar);
|
|
24258
|
+
min-height: var(--crewlet-chat-avatar);
|
|
24259
|
+
}
|
|
24260
|
+
|
|
24261
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__main {
|
|
24262
|
+
gap: 2px;
|
|
24263
|
+
}
|
|
24264
|
+
|
|
24265
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__head {
|
|
24266
|
+
-webkit-line-clamp: 1;
|
|
24267
|
+
line-clamp: 1;
|
|
24268
|
+
}
|
|
24269
|
+
|
|
24270
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__meta {
|
|
24271
|
+
font-size: var(--crewlet-chat-meta);
|
|
24272
|
+
}
|
|
24273
|
+
|
|
24274
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__text {
|
|
24275
|
+
line-height: var(--crewlet-chat-line);
|
|
24276
|
+
}
|
|
24277
|
+
|
|
24278
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__line {
|
|
24279
|
+
padding-top: var(--spacing-1);
|
|
24280
|
+
font-size: var(--crewlet-chat-meta);
|
|
24281
|
+
color: var(--color-text-tertiary);
|
|
24282
|
+
}
|
|
24283
|
+
|
|
24284
|
+
.crewlet-inbox-list--chat .crewlet-inbox-row__aside {
|
|
24285
|
+
padding-inline: calc(var(--crewlet-chat-pad-x) + var(--crewlet-chat-avatar) + var(--crewlet-chat-gap)) var(--crewlet-chat-pad-x);
|
|
24286
|
+
}
|
|
24287
|
+
|
|
24050
24288
|
/* ---- The end of the list ---------------------------------------------- */
|
|
24051
24289
|
|
|
24052
24290
|
.crewlet-inbox-list__more {
|
|
@@ -26422,7 +26660,7 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
26422
26660
|
}
|
|
26423
26661
|
|
|
26424
26662
|
|
|
26425
|
-
/* ListDetail-
|
|
26663
|
+
/* ListDetail-KFYCYZWI.css */
|
|
26426
26664
|
/*
|
|
26427
26665
|
* ListDetail: a list beside the detail of what is chosen in it, each scrolling
|
|
26428
26666
|
* on its own in the height it is given, one pane where it is narrow
|
|
@@ -26514,10 +26752,49 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
26514
26752
|
list pane holding one gives its end inset back, and the lines run to the
|
|
26515
26753
|
hairline as the rail's run to its edge. Folded to one pane, the pane takes
|
|
26516
26754
|
the screen's inset again (below). */
|
|
26517
|
-
|
|
26755
|
+
/* AND SO DOES AN INBOX, however the host wraps it: an InboxList's rows draw
|
|
26756
|
+
their own inset and fills just as a directory's lines do. Matched as a
|
|
26757
|
+
child only, a list a host wrapped in a box of its own kept the gutter, and
|
|
26758
|
+
every row's fill stopped 32px short of the hairline. */
|
|
26759
|
+
.crewlet-list-detail__list:has(.crewlet-directory, .crewlet-inbox-list) {
|
|
26760
|
+
padding-right: 0;
|
|
26761
|
+
}
|
|
26762
|
+
|
|
26763
|
+
/* NOTHING CHOSEN: the list is the whole width, with no hairline after it. */
|
|
26764
|
+
.crewlet-list-detail--alone .crewlet-list-detail__panes,
|
|
26765
|
+
.crewlet-list-detail--alone.crewlet-list-detail--half .crewlet-list-detail__panes {
|
|
26766
|
+
grid-template-columns: minmax(0, 1fr);
|
|
26767
|
+
}
|
|
26768
|
+
|
|
26769
|
+
.crewlet-list-detail--alone .crewlet-list-detail__list {
|
|
26770
|
+
padding-right: 0;
|
|
26771
|
+
border-right: 0;
|
|
26772
|
+
}
|
|
26773
|
+
|
|
26774
|
+
/* HALF: the list and the detail share the width evenly. */
|
|
26775
|
+
.crewlet-list-detail--half .crewlet-list-detail__panes {
|
|
26776
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
26777
|
+
}
|
|
26778
|
+
|
|
26779
|
+
/* FLUSH: the panes meet at the hairline, and each insets its own content. */
|
|
26780
|
+
.crewlet-list-detail--flush .crewlet-list-detail__panes {
|
|
26781
|
+
gap: 0;
|
|
26782
|
+
}
|
|
26783
|
+
|
|
26784
|
+
.crewlet-list-detail--flush .crewlet-list-detail__list {
|
|
26518
26785
|
padding-right: 0;
|
|
26519
26786
|
}
|
|
26520
26787
|
|
|
26788
|
+
.crewlet-list-detail--flush .crewlet-list-detail__detail {
|
|
26789
|
+
gap: 0;
|
|
26790
|
+
}
|
|
26791
|
+
|
|
26792
|
+
/* The way back to the list is drawn only while the panes are folded (below). */
|
|
26793
|
+
.crewlet-list-detail__back {
|
|
26794
|
+
display: none;
|
|
26795
|
+
flex: none;
|
|
26796
|
+
}
|
|
26797
|
+
|
|
26521
26798
|
.crewlet-list-detail__detail {
|
|
26522
26799
|
display: flex;
|
|
26523
26800
|
flex-direction: column;
|
|
@@ -26531,7 +26808,8 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
26531
26808
|
both fit, so the pane `showing` names takes the whole width and keeps its
|
|
26532
26809
|
own scroller, which is what lets it sit in a screen that fills the window. */
|
|
26533
26810
|
@container crewlet-list-detail (width < 640px) {
|
|
26534
|
-
.
|
|
26811
|
+
/* Two classes, so a half split folds as well. */
|
|
26812
|
+
.crewlet-list-detail .crewlet-list-detail__panes {
|
|
26535
26813
|
grid-template-columns: minmax(0, 1fr);
|
|
26536
26814
|
}
|
|
26537
26815
|
|
|
@@ -26553,6 +26831,10 @@ a.crewlet-link-card:hover .crewlet-link-card__title {
|
|
|
26553
26831
|
.crewlet-list-detail--showing-detail .crewlet-list-detail__list {
|
|
26554
26832
|
display: none;
|
|
26555
26833
|
}
|
|
26834
|
+
|
|
26835
|
+
.crewlet-list-detail__back {
|
|
26836
|
+
display: inline-flex;
|
|
26837
|
+
}
|
|
26556
26838
|
}
|
|
26557
26839
|
|
|
26558
26840
|
/* ON A PHONE THE PAGE SCROLLS AS A WHOLE, as tall as its content. */
|
|
@@ -38253,7 +38535,7 @@ svg.crewlet-select__chevron {
|
|
|
38253
38535
|
}
|
|
38254
38536
|
|
|
38255
38537
|
|
|
38256
|
-
/* SidePanel-
|
|
38538
|
+
/* SidePanel-JT2VDOZ6.css */
|
|
38257
38539
|
/*
|
|
38258
38540
|
* A side panel and the frame that lays it beside the content or over it
|
|
38259
38541
|
* (`SidePanel`, `SidePanelFrame`, and their artifact presets).
|
|
@@ -38354,6 +38636,8 @@ svg.crewlet-select__chevron {
|
|
|
38354
38636
|
|
|
38355
38637
|
.crewlet-side-panel--chat > .crewlet-side-panel__head {
|
|
38356
38638
|
border-bottom-color: transparent;
|
|
38639
|
+
/* Its controls end on the conversation's 12px edge, not the panel's 8px. */
|
|
38640
|
+
padding-inline-end: var(--spacing-3);
|
|
38357
38641
|
}
|
|
38358
38642
|
|
|
38359
38643
|
.crewlet-side-panel--chat > .crewlet-side-panel__head--scrolled {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.116.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.116.0",
|
|
46
|
+
"@crewlethq/tokens": "0.116.0",
|
|
47
47
|
"prosemirror-commands": "1.7.2",
|
|
48
48
|
"prosemirror-gapcursor": "1.4.1",
|
|
49
49
|
"prosemirror-history": "1.5.1",
|
package/dist/chunk-P33VNG7Q.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './ListDetail-WXBCLONL.css';
|
|
3
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
function ListDetail({ list, children, showing = "list", className, ...rest }) {
|
|
6
|
-
return /* @__PURE__ */ jsx("div", { ...rest, className: cx("crewlet-list-detail", `crewlet-list-detail--showing-${showing}`, className), children: /* @__PURE__ */ jsxs("div", { className: "crewlet-list-detail__panes", children: [
|
|
7
|
-
/* @__PURE__ */ jsx("div", { className: "crewlet-list-detail__list", children: list }),
|
|
8
|
-
/* @__PURE__ */ jsx("div", { className: "crewlet-list-detail__detail", children })
|
|
9
|
-
] }) });
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { ListDetail };
|
package/dist/chunk-Q5LDZPFF.js
DELETED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
1
|
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
|
+
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.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';
|